Home
last modified time | relevance | path

Searched refs:DVF_ACTIVE (Results 1 – 3 of 3) sorted by relevance

/netbsd/src/sys/kern/
Dsubr_device.c232 active_flags = DVF_ACTIVE; in device_activation()
245 return (dev->dv_flags & active_flags) == DVF_ACTIVE; in device_activation()
253 active_flags = DVF_ACTIVE; in device_is_active()
258 return (dev->dv_flags & active_flags) == DVF_ACTIVE; in device_is_active()
264 return (dev->dv_flags & DVF_ACTIVE) == DVF_ACTIVE; in device_is_enabled()
272 active_flags = DVF_ACTIVE | DVF_BUS_SUSPENDED; in device_has_power()
274 return (dev->dv_flags & active_flags) == DVF_ACTIVE; in device_has_power()
Dsubr_autoconf.c1634 dev->dv_flags |= DVF_ACTIVE; /* always initially active */ in config_devalloc()
2219 dev->dv_flags &= ~DVF_ACTIVE; /* XXXSMP */ in config_detach_release()
2459 if ((descendant->dv_flags & DVF_ACTIVE) == 0) in config_deactivate()
2465 descendant->dv_flags &= ~DVF_ACTIVE; in config_deactivate()
/netbsd/src/sys/sys/
Ddevice_impl.h187 #define DVF_ACTIVE 0x0001 /* device is activated */ macro