MCPcopy Create free account
hub / github.com/F-Stack/f-stack / device_get_state

Function device_get_state

freebsd/kern/subr_bus.c:2584–2588  ·  view source on GitHub ↗

* @brief Return the device's state */

Source from the content-addressed store, hash-verified

2582 * @brief Return the device's state
2583 */
2584device_state_t
2585device_get_state(device_t dev)
2586{
2587 return (dev->state);
2588}
2589
2590/**
2591 * @brief Set the DF_ENABLED flag for the device

Callers 1

bus_helper_reset_prepareFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected