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

Function bus_release_resource

freebsd/kern/subr_bus.c:4701–4710  ·  view source on GitHub ↗

* @brief Wrapper function for BUS_RELEASE_RESOURCE(). * * This function simply calls the BUS_RELEASE_RESOURCE() method of the * parent of @p dev. */

Source from the content-addressed store, hash-verified

4699 * parent of @p dev.
4700 */
4701int
4702bus_release_resource(device_t dev, int type, int rid, struct resource *r)
4703{
4704 int rv;
4705
4706 if (dev->parent == NULL)
4707 return (EINVAL);
4708 rv = BUS_RELEASE_RESOURCE(dev->parent, dev, type, rid, r);
4709 return (rv);
4710}
4711
4712/**
4713 * @brief Wrapper function for BUS_SETUP_INTR().

Callers 15

bcm_vchiq_attachFunction · 0.85
bcm_vchiq_detachFunction · 0.85
ccp_map_pci_barFunction · 0.85
ccp_unmap_pci_barFunction · 0.85
ccp_release_interruptsFunction · 0.85
smapi_probeFunction · 0.85
smapi_attachFunction · 0.85
smapi_detachFunction · 0.85
jz4780_dwc_otg_attachFunction · 0.85
jz4780_ehci_detachFunction · 0.85
jz4780_ohci_detachFunction · 0.85
ar71xx_ohci_detachFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected