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

Function bus_activate_resource

freebsd/kern/subr_bus.c:4643–4649  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

4641 * parent of @p dev.
4642 */
4643int
4644bus_activate_resource(device_t dev, int type, int rid, struct resource *r)
4645{
4646 if (dev->parent == NULL)
4647 return (EINVAL);
4648 return (BUS_ACTIVATE_RESOURCE(dev->parent, dev, type, rid, r));
4649}
4650
4651/**
4652 * @brief Wrapper function for BUS_DEACTIVATE_RESOURCE().

Callers 15

apb_alloc_resourceFunction · 0.85
apb_alloc_resourceFunction · 0.85
nexus_alloc_resourceFunction · 0.85
octopci_alloc_resourceFunction · 0.85
obio_alloc_resourceFunction · 0.85
mtk_pci_alloc_resourceFunction · 0.85
obio_alloc_resourceFunction · 0.85
gt_pci_alloc_resourceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected