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

Function device_is_attached

freebsd/kern/subr_bus.c:2709–2713  ·  view source on GitHub ↗

* @brief Return non-zero if the device currently has a driver * attached to it */

Source from the content-addressed store, hash-verified

2707 * attached to it
2708 */
2709int
2710device_is_attached(device_t dev)
2711{
2712 return (dev->state >= DS_ATTACHED);
2713}
2714
2715/**
2716 * @brief Return non-zero if the device is currently suspended.

Callers 15

pnpbios_identifyFunction · 0.85
arge_detachFunction · 0.85
are_detachFunction · 0.85
gic_v3_detachFunction · 0.85
cpsw_detachFunction · 0.85
cpswp_detachFunction · 0.85
emac_detachFunction · 0.85
armada_thermal_detachFunction · 0.85
zy7_devcfg_detachFunction · 0.85
zy7_qspi_detachFunction · 0.85
zy7_spi_detachFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected