FreeBSD/sys/kern/subr_bus.c
/**
 * @brief Return the device's state
 */
@brief Return the device's state
@brief Return the device ' s state
device_state_t
device_get_state(device_t dev)
{
	return (dev->state);
}
device_state_t device_get_state ( device_t dev ) { return ( dev -> state ) ; }
@brief Return the device's state
@brief Return the device ' s state