Home
last modified time | relevance | path

Searched refs:resource_list_find (Results 1 – 25 of 38) sorted by relevance

12

/freebsd/sys/dev/dpaa/
H A Dportals_common.c71 rle = resource_list_find(res, SYS_RES_MEMORY, 0); in dpaa_portal_alloc_res()
84 rle = resource_list_find(res, SYS_RES_MEMORY, 1); in dpaa_portal_alloc_res()
101 rle = resource_list_find(res, SYS_RES_MEMORY, 0); in dpaa_portal_alloc_res()
104 rle = resource_list_find(res, SYS_RES_MEMORY, 1); in dpaa_portal_alloc_res()
109 rle = resource_list_find(res, SYS_RES_IRQ, 0); in dpaa_portal_alloc_res()
H A Dbman_fdt.c224 rle = resource_list_find(&di.di_res, SYS_RES_MEMORY, 0); in bman_portals_fdt_attach()
230 rle = resource_list_find(&di.di_res, SYS_RES_MEMORY, 1); in bman_portals_fdt_attach()
H A Dfman.c137 rle = resource_list_find(rl, rman_get_type(res), in fman_release_resource()
169 rle = resource_list_find(rl, type, *rid); in fman_alloc_resource()
/freebsd/sys/isa/
H A Disa_common.c681 rle = resource_list_find(rl, SYS_RES_IOPORT, 0); in isa_read_ivar()
689 rle = resource_list_find(rl, SYS_RES_IOPORT, 1); in isa_read_ivar()
697 rle = resource_list_find(rl, SYS_RES_IOPORT, 0); in isa_read_ivar()
705 rle = resource_list_find(rl, SYS_RES_IOPORT, 1); in isa_read_ivar()
713 rle = resource_list_find(rl, SYS_RES_MEMORY, 0); in isa_read_ivar()
721 rle = resource_list_find(rl, SYS_RES_MEMORY, 1); in isa_read_ivar()
729 rle = resource_list_find(rl, SYS_RES_MEMORY, 0); in isa_read_ivar()
745 rle = resource_list_find(rl, SYS_RES_IRQ, 0); in isa_read_ivar()
753 rle = resource_list_find(rl, SYS_RES_IRQ, 1); in isa_read_ivar()
761 rle = resource_list_find(rl, SYS_RES_DRQ, 0); in isa_read_ivar()
[all …]
/freebsd/sys/dev/pci/
H A Dpci_subr.c196 rle = resource_list_find(&hr->hr_rl, type, rid); in pcib_host_res_decodes()
214 rle = resource_list_find(&hr->hr_rl, type, 0); in pcib_host_res_alloc()
256 rle = resource_list_find(&hr->hr_rl, type, 0); in pcib_host_res_alloc()
268 rle = resource_list_find(&hr->hr_rl, rman_get_type(r), 0); in pcib_host_res_adjust()
H A Dpci.c1803 rle = resource_list_find(&dinfo->resources, SYS_RES_IRQ, 0); in pci_alloc_msix_method()
1820 rle = resource_list_find(&dinfo->resources, SYS_RES_MEMORY, in pci_alloc_msix_method()
1827 rle = resource_list_find(&dinfo->resources, SYS_RES_MEMORY, in pci_alloc_msix_method()
1870 rle = resource_list_find(&dinfo->resources, in pci_alloc_msix_method()
2425 rle = resource_list_find(&dinfo->resources, SYS_RES_IRQ, in pci_remap_intr_method()
2586 rle = resource_list_find(&dinfo->resources, SYS_RES_IRQ, 0); in pci_alloc_msi_method()
3838 if (resource_list_find(rl, PCI_RES_BUS, *rid) == NULL) in pci_alloc_secbus()
3989 (resource_list_find(rl, SYS_RES_IOPORT, rid) != NULL)) in pci_add_resources_ea()
4612 rle = resource_list_find(&dinfo->resources, in pci_suspend_child()
5594 rle = resource_list_find(rl, type, *rid); in pci_alloc_multi_resource()
[all …]
H A Dpci_iov.c555 rle = resource_list_find(rl, SYS_RES_MEMORY, in pci_iov_alloc_bar_ea()
558 rle = resource_list_find(rl, SYS_RES_IOPORT, in pci_iov_alloc_bar_ea()
1080 rle = resource_list_find(&dinfo->resources, SYS_RES_MEMORY, rid); in pci_vf_release_mem_resource()
/freebsd/sys/dev/ofw/
H A Dofwbus.c143 rle = resource_list_find(BUS_GET_RESOURCE_LIST(bus, child), in ofwbus_alloc_resource()
181 rle = resource_list_find(BUS_GET_RESOURCE_LIST(bus, child), in ofwbus_release_resource()
/freebsd/sys/dev/quicc/
H A Dquicc_core.c186 rle = resource_list_find(&qd->qd_rlist, SYS_RES_IRQ, 0); in quicc_bfe_attach()
268 rle = resource_list_find(&qd->qd_rlist, type, *rid); in quicc_bus_alloc_resource()
294 rle = resource_list_find(&qd->qd_rlist, type, rid); in quicc_bus_get_resource()
345 rle = resource_list_find(&qd->qd_rlist, rman_get_type(res), in quicc_bus_release_resource()
/freebsd/sys/dev/scc/
H A Dscc_core.c180 rle = resource_list_find(&ch->ch_rlist, sc->sc_rtype, 0); in scc_bfe_attach()
188 rle = resource_list_find(&ch->ch_rlist, SYS_RES_IRQ, 0); in scc_bfe_attach()
425 rle = resource_list_find(&ch->ch_rlist, type, 0); in scc_bus_alloc_resource()
445 rle = resource_list_find(&ch->ch_rlist, type, rid); in scc_bus_get_resource()
509 rle = resource_list_find(&ch->ch_rlist, rman_get_type(res), in scc_bus_release_resource()
/freebsd/sys/powerpc/mpc85xx/
H A Disa.c58 resource_list_find(rl, type, *rid) == NULL) { in isa_alloc_resource()
/freebsd/sys/x86/isa/
H A Disa.c100 rle = resource_list_find(rl, type, *rid); in isa_alloc_resource()
/freebsd/sys/dev/bhnd/cores/usb/
H A Dbhnd_usb.c267 rle = resource_list_find(rl, type, *rid); in bhnd_usb_alloc_resource()
336 rle = resource_list_find(BUS_GET_RESOURCE_LIST(dev, child), in bhnd_usb_release_resource()
/freebsd/sys/kern/
H A Dsubr_bus.c2835 while (resource_list_find(rl, type, rid) != NULL) in resource_list_add_next()
2862 rle = resource_list_find(rl, type, rid); in resource_list_add()
2901 rle = resource_list_find(rl, type, rid); in resource_list_busy()
2930 rle = resource_list_find(rl, type, rid); in resource_list_reserved()
2947 resource_list_find(struct resource_list *rl, int type, int rid) in resource_list_find() function
2968 struct resource_list_entry *rle = resource_list_find(rl, type, rid); in resource_list_delete()
3032 rle = resource_list_find(rl, type, *rid); in resource_list_reserve()
3084 rle = resource_list_find(rl, type, *rid); in resource_list_alloc()
3155 rle = resource_list_find(rl, rman_get_type(res), rman_get_rid(res)); in resource_list_release()
3249 rle = resource_list_find(rl, type, rid); in resource_list_unreserve()
[all …]
/freebsd/sys/powerpc/powermac/
H A Duninorth.c493 rle = resource_list_find(&dinfo->udi_resources, SYS_RES_MEMORY, in unin_chip_alloc_resource()
528 rle = resource_list_find(&dinfo->udi_resources, SYS_RES_IRQ, in unin_chip_alloc_resource()
H A Dmacio.c536 rle = resource_list_find(&dinfo->mdi_resources, SYS_RES_MEMORY, in macio_alloc_resource()
569 rle = resource_list_find(&dinfo->mdi_resources, SYS_RES_IRQ, in macio_alloc_resource()
/freebsd/sys/dev/vnic/
H A Dmrml_bridge.c145 rle = resource_list_find(&di->di_rl, type, *rid); in mrmlb_ofw_bus_alloc_res()
/freebsd/sys/arm64/cavium/
H A Dthunder_pcie_fdt.c256 rle = resource_list_find(&di->di_rl, type, *rid); in thunder_pcie_fdt_alloc_resource()
/freebsd/sys/powerpc/ps3/
H A Dps3bus.c561 rle = resource_list_find(&dinfo->resources, SYS_RES_MEMORY, in ps3bus_alloc_resource()
586 rle = resource_list_find(&dinfo->resources, SYS_RES_IRQ, in ps3bus_alloc_resource()
/freebsd/sys/arm/mv/
H A Dmv_pci_ctrl.c253 rle = resource_list_find(&di->di_rl, type, *rid); in mv_pcib_ctrl_alloc_resource()
/freebsd/sys/riscv/riscv/
H A Dnexus.c244 rle = resource_list_find(&ndev->nx_resources, type, *rid); in nexus_alloc_resource()
/freebsd/sys/powerpc/powerpc/
H A Dopenpic.c113 if (resource_list_find(rl, SYS_RES_IRQ, 0) == NULL) in openpic_common_attach()
/freebsd/sys/arm64/arm64/
H A Dnexus.c252 rle = resource_list_find(&ndev->nx_resources, type, *rid); in nexus_alloc_resource()
/freebsd/sys/dev/bhnd/cores/chipc/
H A Dchipc.c799 rle = resource_list_find(BUS_GET_RESOURCE_LIST(dev, child), in chipc_alloc_resource()
906 rle = resource_list_find(BUS_GET_RESOURCE_LIST(dev, child), in chipc_release_resource()
/freebsd/sys/dev/fdt/
H A Dsimplebus.c446 rle = resource_list_find(&di->rl, type, *rid); in simplebus_alloc_resource()

12