Home
last modified time | relevance | path

Searched refs:rman_get_type (Results 1 – 25 of 47) sorted by relevance

12

/freebsd/sys/powerpc/psim/
H A Diobus.c347 switch (rman_get_type(r)) { in iobus_adjust_resource()
363 switch (rman_get_type(res)) { in iobus_release_resource()
378 switch (rman_get_type(res)) { in iobus_activate_resource()
393 switch (rman_get_type(res)) { in iobus_deactivate_resource()
418 switch (rman_get_type(r)) { in iobus_map_resource()
447 switch (rman_get_type(r)) { in iobus_unmap_resource()
/freebsd/sys/dev/ofw/
H A Dofw_pcib.c448 switch (rman_get_type(res)) { in ofw_pcib_release_resource()
504 switch (rman_get_type(res)) { in ofw_pcib_activate_resource()
529 switch (rman_get_type(r)) { in ofw_pcib_map_resource()
563 if (rman_get_type(r) == space) { in ofw_pcib_map_resource()
591 switch (rman_get_type(r)) { in ofw_pcib_unmap_resource()
616 switch (rman_get_type(res)) { in ofw_pcib_deactivate_resource()
635 switch (rman_get_type(res)) { in ofw_pcib_adjust_resource()
H A Dofwbus.c183 rman_get_type(r), rman_get_rid(r)); in ofwbus_release_resource()
/freebsd/sys/arm/arm/
H A Dnexus.c313 switch (rman_get_type(r)) { in nexus_activate_resource()
344 switch (rman_get_type(r)) { in nexus_map_resource()
380 switch (rman_get_type(r)) { in nexus_unmap_resource()
399 switch (rman_get_type(r)) { in nexus_deactivate_resource()
/freebsd/sys/riscv/riscv/
H A Dnexus.c310 switch (rman_get_type(r)) { in nexus_activate_resource()
344 switch (rman_get_type(r)) { in nexus_deactivate_resource()
374 switch (rman_get_type(r)) { in nexus_map_resource()
401 switch (rman_get_type(r)) { in nexus_unmap_resource()
/freebsd/sys/powerpc/powerpc/
H A Dnexus.c258 switch (rman_get_type(r)) { in nexus_map_resource()
274 switch (rman_get_type(r)) { in nexus_map_resource()
310 switch (rman_get_type(r)) { in nexus_unmap_resource()
/freebsd/sys/powerpc/powermac/
H A Duninorth.c560 switch (rman_get_type(r)) { in unin_chip_adjust_resource()
575 switch (rman_get_type(res)) { in unin_chip_release_resource()
589 switch (rman_get_type(res)) { in unin_chip_activate_resource()
604 switch (rman_get_type(res)) { in unin_chip_deactivate_resource()
628 switch (rman_get_type(r)) { in unin_chip_map_resource()
661 switch (rman_get_type(r)) { in unin_chip_unmap_resource()
H A Dmacio.c600 switch (rman_get_type(r)) { in macio_adjust_resource()
615 switch (rman_get_type(res)) { in macio_release_resource()
629 switch (rman_get_type(res)) { in macio_activate_resource()
643 switch (rman_get_type(res)) { in macio_deactivate_resource()
668 switch (rman_get_type(r)) { in macio_map_resource()
703 switch (rman_get_type(r)) { in macio_unmap_resource()
H A Dmacgpio.c288 if (rman_get_type(res) != SYS_RES_IRQ) in macgpio_activate_resource()
310 if (rman_get_type(res) != SYS_RES_IRQ) in macgpio_deactivate_resource()
/freebsd/sys/dev/pci/
H A Dpci_host_generic.c425 switch (rman_get_type(res)) { in pci_host_generic_core_release_resource()
542 switch (rman_get_type(r)) { in generic_pcie_activate_resource()
560 switch (rman_get_type(r)) { in generic_pcie_deactivate_resource()
578 switch (rman_get_type(res)) { in generic_pcie_adjust_resource()
601 type = rman_get_type(r); in generic_pcie_map_resource()
638 type = rman_get_type(r); in generic_pcie_unmap_resource()
H A Dpci_iov.c1091 KASSERT(rman_get_type(r) == SYS_RES_MEMORY, in pci_vf_release_mem_resource()
1123 KASSERT(rman_get_type(r) == SYS_RES_MEMORY, in pci_vf_activate_mem_resource()
1154 KASSERT(rman_get_type(r) == SYS_RES_MEMORY, in pci_vf_deactivate_mem_resource()
1179 KASSERT(rman_get_type(r) == SYS_RES_MEMORY, in pci_vf_adjust_mem_resource()
1215 KASSERT(rman_get_type(r) == SYS_RES_MEMORY, in pci_vf_map_mem_resource()
1247 KASSERT(rman_get_type(r) == SYS_RES_MEMORY, in pci_vf_unmap_mem_resource()
H A Disa_pci.c210 switch (rman_get_type(r)) { in isab_pci_release_resource()
/freebsd/sys/arm64/arm64/
H A Dnexus.c338 switch (rman_get_type(r)) { in nexus_activate_resource_flags()
395 switch (rman_get_type(r)) { in nexus_map_resource()
423 switch (rman_get_type(r)) { in nexus_unmap_resource()
480 switch (rman_get_type(r)) { in nexus_fdt_activate_resource()
/freebsd/sys/x86/pci/
H A Dpci_bus.c612 if (rman_get_type(r) == PCI_RES_BUS) in legacy_pcib_adjust_resource()
621 if (rman_get_type(r) == PCI_RES_BUS) in legacy_pcib_release_resource()
629 if (rman_get_type(r) == PCI_RES_BUS) in legacy_pcib_activate_resource()
638 if (rman_get_type(r) == PCI_RES_BUS) in legacy_pcib_deactivate_resource()
/freebsd/sys/arm64/cavium/
H A Dthunder_pcie_pem.c260 switch (rman_get_type(r)) { in thunder_pem_activate_resource()
278 switch (rman_get_type(r)) { in thunder_pem_deactivate_resource()
302 switch (rman_get_type(r)) { in thunder_pem_map_resource()
331 switch (rman_get_type(r)) { in thunder_pem_unmap_resource()
348 switch (rman_get_type(res)) { in thunder_pem_adjust_resource()
709 switch (rman_get_type(res)) { in thunder_pem_release_resource()
/freebsd/sys/powerpc/mpc85xx/
H A Dlbc.c767 switch (rman_get_type(r)) { in lbc_adjust_resource()
781 switch (rman_get_type(res)) { in lbc_release_resource()
794 switch (rman_get_type(r)) { in lbc_activate_resource()
807 switch (rman_get_type(r)) { in lbc_deactivate_resource()
830 switch (rman_get_type(r)) { in lbc_map_resource()
856 switch (rman_get_type(r)) { in lbc_unmap_resource()
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_mc.c347 rm = dpaa2_mc_rman(mcdev, rman_get_type(r), rman_get_flags(r)); in dpaa2_mc_adjust_resource()
359 rm = dpaa2_mc_rman(mcdev, rman_get_type(r), rman_get_flags(r)); in dpaa2_mc_release_resource()
370 rm = dpaa2_mc_rman(mcdev, rman_get_type(r), rman_get_flags(r)); in dpaa2_mc_activate_resource()
381 rm = dpaa2_mc_rman(mcdev, rman_get_type(r), rman_get_flags(r)); in dpaa2_mc_deactivate_resource()
/freebsd/sys/dev/acpica/
H A Dacpi_pcib_acpi.c645 if (rman_get_type(r) == PCI_RES_BUS) in acpi_pcib_acpi_adjust_resource()
658 if (rman_get_type(r) == PCI_RES_BUS) in acpi_pcib_acpi_release_resource()
670 if (rman_get_type(r) == PCI_RES_BUS) in acpi_pcib_acpi_activate_resource()
682 if (rman_get_type(r) == PCI_RES_BUS) in acpi_pcib_acpi_deactivate_resource()
/freebsd/sys/dev/bhnd/cores/chipc/
H A Dchipc.c883 rm = chipc_get_rman(dev, rman_get_type(r), rman_get_flags(r)); in chipc_release_resource()
895 rman_get_type(r), rman_get_rid(r)); in chipc_release_resource()
923 rm = chipc_get_rman(dev, rman_get_type(r), rman_get_flags(r)); in chipc_adjust_resource()
965 rm = chipc_get_rman(dev, rman_get_type(r), rman_get_flags(r)); in chipc_try_activate_resource()
1040 rm = chipc_get_rman(dev, rman_get_type(r), rman_get_flags(r)); in chipc_activate_resource()
1064 rm = chipc_get_rman(dev, rman_get_type(r), rman_get_flags(r)); in chipc_deactivate_resource()
/freebsd/sys/dev/dpaa/
H A Dfman.c97 if (rman_get_type(res) != SYS_RES_IRQ) { in fman_activate_resource()
127 if (rman_get_type(res) != SYS_RES_IRQ) { in fman_release_resource()
137 rle = resource_list_find(rl, rman_get_type(res), in fman_release_resource()
/freebsd/sys/arm/mv/
H A Dmv_pci.c945 switch (rman_get_type(r)) { in mv_pcib_adjust_resource()
963 switch (rman_get_type(res)) { in mv_pcib_release_resource()
979 switch (rman_get_type(r)) { in mv_pcib_activate_resource()
995 switch (rman_get_type(r)) { in mv_pcib_deactivate_resource()
1019 switch (rman_get_type(r)) { in mv_pcib_map_resource()
1042 switch (rman_get_type(r)) { in mv_pcib_unmap_resource()
/freebsd/sys/dev/vmd/
H A Dvmd.c473 if (rman_get_type(r) == SYS_RES_IRQ) { in vmd_adjust_resource()
483 if (rman_get_type(r) == SYS_RES_IRQ) { in vmd_release_resource()
492 if (rman_get_type(r) == SYS_RES_IRQ) { in vmd_activate_resource()
501 if (rman_get_type(r) == SYS_RES_IRQ) { in vmd_deactivate_resource()
/freebsd/sys/sys/
H A Drman.h137 int rman_get_type(const struct resource *);
/freebsd/sys/dev/bhnd/bhndb/
H A Dbhndb.c1045 if (bhndb_get_rman(sc, child, rman_get_type(r)) == NULL) { in bhndb_release_resource()
1060 rman_get_type(r), rman_get_rid(r)); in bhndb_release_resource()
1089 rm = bhndb_get_rman(sc, child, rman_get_type(r)); in bhndb_adjust_resource()
1305 type = rman_get_type(r); in bhndb_try_activate_resource()
1424 if (bhndb_get_rman(sc, child, rman_get_type(r)) == NULL) { in bhndb_activate_resource()
1444 type = rman_get_type(r); in bhndb_deactivate_resource()
/freebsd/sys/x86/x86/
H A Dmptable_pci.c143 if (rman_get_type(r) == PCI_RES_BUS) in mptable_hostb_adjust_resource()

12