Searched refs:DEVICE_ATTACHED (Results 1 – 2 of 2) sorted by relevance
356 return (device->flags & DEVICE_ATTACHED) != 0; in device_is_alive()471 return (device->flags & DEVICE_ATTACHED) != 0; in device_is_attached()487 atomic_or(&device->flags, DEVICE_ATTACHED); in device_attach()502 if ((atomic_and(&device->flags, ~DEVICE_ATTACHED) & DEVICE_ATTACHED) != 0 in device_detach()508 atomic_or(&device->flags, DEVICE_ATTACHED); in device_detach()514 atomic_or(&device->flags, DEVICE_ATTACHED); in device_detach()557 if ((device->flags & DEVICE_ATTACHED) == 0) in bus_generic_detach()
48 DEVICE_ATTACHED = 1 << 4, enumerator