Home
last modified time | relevance | path

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

12

/freebsd/sys/isa/
H A Disa_common.c687 rle = resource_list_find(rl, SYS_RES_IOPORT, 0); in isa_read_ivar()
695 rle = resource_list_find(rl, SYS_RES_IOPORT, 1); in isa_read_ivar()
703 rle = resource_list_find(rl, SYS_RES_IOPORT, 0); in isa_read_ivar()
711 rle = resource_list_find(rl, SYS_RES_IOPORT, 1); in isa_read_ivar()
719 rle = resource_list_find(rl, SYS_RES_MEMORY, 0); in isa_read_ivar()
727 rle = resource_list_find(rl, SYS_RES_MEMORY, 1); in isa_read_ivar()
735 rle = resource_list_find(rl, SYS_RES_MEMORY, 0); in isa_read_ivar()
743 rle = resource_list_find(rl, SYS_RES_MEMORY, 1); in isa_read_ivar()
751 rle = resource_list_find(rl, SYS_RES_IRQ, 0); in isa_read_ivar()
759 rle = resource_list_find(rl, SYS_RES_IRQ, 1); in isa_read_ivar()
[all …]
/freebsd/sys/dev/pci/
H A Dpci_subr.c195 rle = resource_list_find(&hr->hr_rl, type, rid); in pcib_host_res_decodes()
213 rle = resource_list_find(&hr->hr_rl, type, 0); in pcib_host_res_alloc()
255 rle = resource_list_find(&hr->hr_rl, type, 0); in pcib_host_res_alloc()
267 rle = resource_list_find(&hr->hr_rl, rman_get_type(r), 0); in pcib_host_res_adjust()
H A Dpci.c1843 rle = resource_list_find(&dinfo->resources, SYS_RES_IRQ, 0); in pci_alloc_msix_method()
1860 rle = resource_list_find(&dinfo->resources, SYS_RES_MEMORY, in pci_alloc_msix_method()
1867 rle = resource_list_find(&dinfo->resources, SYS_RES_MEMORY, in pci_alloc_msix_method()
1897 rle = resource_list_find(&dinfo->resources, SYS_RES_IRQ, 1); in pci_alloc_msix_method()
1913 rle = resource_list_find(&dinfo->resources, in pci_alloc_msix_method()
1955 rle = resource_list_find(&dinfo->resources, SYS_RES_IRQ, i + 1); in pci_alloc_msix_method()
2063 rle = resource_list_find(&dinfo->resources, SYS_RES_IRQ, i + 1); in pci_remap_msix_method()
2153 rle = resource_list_find(&dinfo->resources, SYS_RES_IRQ, i + 1); in pci_release_msix()
2479 rle = resource_list_find(&dinfo->resources, SYS_RES_IRQ, in pci_remap_intr_method()
2641 rle = resource_list_find(&dinfo->resources, SYS_RES_IRQ, 0); in pci_alloc_msi_method()
[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()
1115 rle = resource_list_find(&dinfo->resources, SYS_RES_MEMORY, rid); in pci_vf_release_mem_resource()
/freebsd/sys/dev/ofw/
H A Dofwbus.c144 rle = resource_list_find(BUS_GET_RESOURCE_LIST(bus, child), in ofwbus_alloc_resource()
182 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()
444 rle = resource_list_find(&ch->ch_rlist, type, rid); in scc_bus_get_resource()
508 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/kern/
H A Dsubr_bus.c2920 while (resource_list_find(rl, type, rid) != NULL) in resource_list_add_next()
2947 rle = resource_list_find(rl, type, rid); in resource_list_add()
2984 rle = resource_list_find(rl, type, rid); in resource_list_busy()
3013 rle = resource_list_find(rl, type, rid); in resource_list_reserved()
3030 resource_list_find(struct resource_list *rl, int type, int rid) in resource_list_find() function
3051 struct resource_list_entry *rle = resource_list_find(rl, type, rid); in resource_list_delete()
3115 rle = resource_list_find(rl, type, rid); in resource_list_reserve()
3167 rle = resource_list_find(rl, type, rid); in resource_list_alloc()
3238 rle = resource_list_find(rl, rman_get_type(res), rman_get_rid(res)); in resource_list_release()
3332 rle = resource_list_find(rl, type, rid); in resource_list_unreserve()
[all …]
/freebsd/sys/dev/fdt/
H A Dsimplebus.c481 rle = resource_list_find(&di->rl, type, rid); in simplebus_alloc_resource()
608 rle = resource_list_find(&ndi->rl, SYS_RES_IRQ, 0); in simplebus_alloc_msi()
/freebsd/sys/powerpc/powermac/
H A Duninorth.c494 rle = resource_list_find(&dinfo->udi_resources, SYS_RES_MEMORY, in unin_chip_alloc_resource()
529 rle = resource_list_find(&dinfo->udi_resources, SYS_RES_IRQ, in unin_chip_alloc_resource()
H A Dmacio.c537 rle = resource_list_find(&dinfo->mdi_resources, SYS_RES_MEMORY, in macio_alloc_resource()
570 rle = resource_list_find(&dinfo->mdi_resources, SYS_RES_IRQ, in macio_alloc_resource()
/freebsd/sys/dev/vnic/
H A Dmrml_bridge.c146 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.c562 rle = resource_list_find(&dinfo->resources, SYS_RES_MEMORY, in ps3bus_alloc_resource()
587 rle = resource_list_find(&dinfo->resources, SYS_RES_IRQ, in ps3bus_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/arm/mv/
H A Dmv_pci_ctrl.c254 rle = resource_list_find(&di->di_rl, type, rid); in mv_pcib_ctrl_alloc_resource()
/freebsd/sys/dev/dpaa/
H A Dfman.c208 rle = resource_list_find(rl, rman_get_type(res), in fman_release_resource()
240 rle = resource_list_find(rl, type, rid); in fman_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/dev/bhnd/cores/chipc/
H A Dchipc.c795 rle = resource_list_find(BUS_GET_RESOURCE_LIST(dev, child), in chipc_alloc_resource()
894 rle = resource_list_find(BUS_GET_RESOURCE_LIST(dev, child), in chipc_release_resource()
/freebsd/sys/arm64/arm64/
H A Dnexus.c264 rle = resource_list_find(&ndev->nx_resources, type, rid); in nexus_alloc_resource()
/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt_ulp.c411 rle = resource_list_find(rl, SYS_RES_IRQ, 1); in bnxt_populate_irq()
/freebsd/sys/x86/x86/
H A Dnexus.c364 rle = resource_list_find(&ndev->nx_resources, type, rid); in nexus_alloc_resource()
/freebsd/sys/dev/cesa/
H A Dcesa.c1050 rle = resource_list_find(&rl, SYS_RES_MEMORY, 0); in cesa_setup_sram_armada()
1143 resource_list_find(rl, SYS_RES_IRQ, 1)->rid = 0; in cesa_attach()

12