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

Function bus_release_resources

freebsd/kern/subr_bus.c:4589–4601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4587}
4588
4589void
4590bus_release_resources(device_t dev, const struct resource_spec *rs,
4591 struct resource **res)
4592{
4593 int i;
4594
4595 for (i = 0; rs[i].type != -1; i++)
4596 if (res[i] != NULL) {
4597 bus_release_resource(
4598 dev, rs[i].type, rs[i].rid, res[i]);
4599 res[i] = NULL;
4600 }
4601}
4602
4603/**
4604 * @brief Wrapper function for BUS_ALLOC_RESOURCE().

Callers 15

jz4780_nemc_detachFunction · 0.85
jz4780_mmc_attachFunction · 0.85
aic_detachFunction · 0.85
jz4780_pic_attachFunction · 0.85
jz4780_gpio_attachFunction · 0.85
jz4780_gpio_detachFunction · 0.85
jz4780_clock_attachFunction · 0.85
jz4780_clock_detachFunction · 0.85
jzlcd_attachFunction · 0.85
pdma_detachFunction · 0.85
codec_attachFunction · 0.85
codec_detachFunction · 0.85

Calls 1

bus_release_resourceFunction · 0.85

Tested by

no test coverage detected