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

Function device_get_unit

freebsd/kern/subr_bus.c:2349–2353  ·  view source on GitHub ↗

* @brief Return the device's unit number. */

Source from the content-addressed store, hash-verified

2347 * @brief Return the device's unit number.
2348 */
2349int
2350device_get_unit(device_t dev)
2351{
2352 return (dev->unit);
2353}
2354
2355/**
2356 * @brief Return the device's description string

Callers 15

smapi_attachFunction · 0.85
jz4780_mmc_probeFunction · 0.85
jz4780_gpio_attachFunction · 0.85
jzlcd_configureFunction · 0.85
qca955x_pci_attachFunction · 0.85
ar71xx_pci_slot_fixupFunction · 0.85
ar71xx_pci_attachFunction · 0.85
ar724x_pci_slot_fixupFunction · 0.85
ar71xx_gpio_attachFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected