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

Function bus_set_resource

freebsd/kern/subr_bus.c:4819–4825  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

4817 * parent of @p dev.
4818 */
4819int
4820bus_set_resource(device_t dev, int type, int rid,
4821 rman_res_t start, rman_res_t count)
4822{
4823 return (BUS_SET_RESOURCE(device_get_parent(dev), dev, type, rid,
4824 start, count));
4825}
4826
4827/**
4828 * @brief Wrapper function for BUS_GET_RESOURCE().

Callers 13

smapi_identifyFunction · 0.85
apb_hinted_childFunction · 0.85
apb_hinted_childFunction · 0.85
nexus_hinted_childFunction · 0.85
bcm_mips_init_cpuirqFunction · 0.85
orm_identifyFunction · 0.85
apic_add_resourceFunction · 0.85
ram_attachFunction · 0.85
dmar_identifyFunction · 0.85
dmar_alloc_irqFunction · 0.85
smbios_identifyFunction · 0.85

Calls 1

device_get_parentFunction · 0.85

Tested by

no test coverage detected