Home
last modified time | relevance | path

Searched refs:rman_get_flags (Results 1 – 25 of 33) sorted by relevance

12

/freebsd/sys/powerpc/powerpc/
H A Dnexus.c163 if ((rman_get_flags(r) & RF_SHAREABLE) == 0) in nexus_setup_intr()
254 if (!(rman_get_flags(r) & RF_ACTIVE)) in nexus_map_resource()
289 if ((rman_get_flags(r) & RF_LITTLEENDIAN) != 0) in nexus_map_resource()
/freebsd/sys/dev/bhnd/cores/chipc/
H A Dchipc.c810 rman_get_flags(rle->res)); in chipc_alloc_resource()
883 rm = chipc_get_rman(dev, rman_get_type(r), rman_get_flags(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()
1015 rm = chipc_get_rman(dev, type, rman_get_flags(r->res)); in chipc_activate_bhnd_resource()
1028 if (rman_get_flags(r->res) & RF_ACTIVE) in chipc_activate_bhnd_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/arm64/arm64/
H A Dnexus.c283 if ((rman_get_flags(res) & RF_SHAREABLE) == 0) in nexus_setup_intr()
343 if ((rman_get_flags(r) & RF_UNMAPPED) == 0) { in nexus_activate_resource_flags()
391 if ((rman_get_flags(r) & RF_ACTIVE) == 0) in nexus_map_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/arm/arm/
H A Dnexus.c278 if ((rman_get_flags(res) & RF_SHAREABLE) == 0) in nexus_setup_intr()
341 if (!(rman_get_flags(r) & RF_ACTIVE)) in nexus_map_resource()
/freebsd/sys/riscv/riscv/
H A Dnexus.c270 if ((rman_get_flags(res) & RF_SHAREABLE) == 0) in nexus_setup_intr()
370 if ((rman_get_flags(r) & RF_ACTIVE) == 0) in nexus_map_resource()
/freebsd/sys/sys/
H A Drman.h131 u_int rman_get_flags(const struct resource *);
/freebsd/sys/dev/bhnd/bhndb/
H A Dbhndb.c745 if (!(rman_get_flags(r) & RF_ACTIVE)) in bhndb_resume_resource()
1051 if (rman_get_flags(r) & RF_ACTIVE) { in bhndb_release_resource()
1105 if (!(rman_get_flags(r) & RF_ACTIVE)) in bhndb_adjust_resource()
1518 KASSERT(!(rman_get_flags(r->res) & RF_ACTIVE), in bhndb_activate_bhnd_resource()
1602 KASSERT(rman_get_flags(r->res) & RF_ACTIVE, in bhndb_deactivate_bhnd_resource()
1787 KASSERT(rman_get_flags(io_res) & RF_ACTIVE, \
/freebsd/sys/dev/exca/
H A Dexca.c821 if (rman_get_flags(res) & RF_ACTIVE) in exca_activate_resource()
845 if (rman_get_flags(res) & RF_ACTIVE) { /* if activated */ in exca_deactivate_resource()
917 if (rman_get_flags(res) & RF_ACTIVE) {
/freebsd/sys/dev/pccbb/
H A Dpccbb.c1087 if (!(rman_get_flags(rle->res) & RF_ACTIVE)) in cbb_cardbus_auto_open()
1089 if (rman_get_flags(rle->res) & RF_PREFETCHABLE) in cbb_cardbus_auto_open()
1242 if (rman_get_flags(res) & RF_ACTIVE) { in cbb_cardbus_release_resource()
1403 if (rman_get_flags(res) & RF_ACTIVE) { in cbb_pcic_release_resource()
H A Dpccbb_pci.c790 if (rman_get_flags(r) & RF_ACTIVE) { in cbb_pci_release_resource()
/freebsd/sys/dev/pci/
H A Dpci_iov.c1097 if (rman_get_flags(r) & RF_ACTIVE) { in pci_vf_release_mem_resource()
1133 if ((rman_get_flags(r) & RF_UNMAPPED) == 0) { in pci_vf_activate_mem_resource()
1164 if ((rman_get_flags(r) & RF_UNMAPPED) == 0) { in pci_vf_deactivate_mem_resource()
1222 if (!(rman_get_flags(r) & RF_ACTIVE)) in pci_vf_map_mem_resource()
H A Dpci_pci.c163 if (rman_get_flags(r) & RF_PREFETCHABLE && in pcib_get_resource_window()
2194 if (rman_get_flags(r) & RF_ACTIVE) { in pcib_release_resource()
2219 if ((rman_get_flags(r) & RF_UNMAPPED) == 0 && in pcib_activate_resource()
2247 if ((rman_get_flags(r) & RF_UNMAPPED) == 0 && in pcib_deactivate_resource()
2282 if (!(rman_get_flags(r) & RF_ACTIVE)) in pcib_map_resource()
H A Dpci_host_generic.c613 if (!(rman_get_flags(r) & RF_ACTIVE)) in generic_pcie_map_resource()
/freebsd/sys/x86/x86/
H A Dnexus.c385 if (!(rman_get_flags(r) & RF_ACTIVE)) in nexus_map_resource()
466 if ((rman_get_flags(irq) & RF_SHAREABLE) == 0) in nexus_setup_intr()
/freebsd/sys/kern/
H A Dsubr_bus.c2970 KASSERT(!(rman_get_flags(rle->res) & RF_ACTIVE), in resource_list_busy()
3228 if (rman_get_flags(res) & RF_ACTIVE) { in resource_list_release()
4373 rm = BUS_GET_RMAN(dev, rman_get_type(r), rman_get_flags(r)); in bus_generic_rman_adjust_resource()
4397 rm = BUS_GET_RMAN(dev, rman_get_type(r), rman_get_flags(r)); in bus_generic_rman_release_resource()
4402 if (rman_get_flags(r) & RF_ACTIVE) { in bus_generic_rman_release_resource()
4428 rm = BUS_GET_RMAN(dev, type, rman_get_flags(r)); in bus_generic_rman_activate_resource()
4440 if ((rman_get_flags(r) & RF_UNMAPPED) == 0) { in bus_generic_rman_activate_resource()
4477 rm = BUS_GET_RMAN(dev, type, rman_get_flags(r)); in bus_generic_rman_deactivate_resource()
4489 if ((rman_get_flags(r) & RF_UNMAPPED) == 0) { in bus_generic_rman_deactivate_resource()
/freebsd/sys/powerpc/psim/
H A Diobus.c414 if (!(rman_get_flags(r) & RF_ACTIVE)) in iobus_map_resource()
/freebsd/sys/dev/dpaa/
H A Dfman.c128 if ((rman_get_flags(res) & RF_ACTIVE) != 0 ){ in fman_release_resource()
/freebsd/sys/powerpc/powermac/
H A Duninorth.c624 if (!(rman_get_flags(r) & RF_ACTIVE)) in unin_chip_map_resource()
H A Dmacio.c664 if (!(rman_get_flags(r) & RF_ACTIVE)) in macio_map_resource()
/freebsd/sys/dev/ofw/
H A Dofw_pcib.c526 if (!(rman_get_flags(r) & RF_ACTIVE)) in ofw_pcib_map_resource()
/freebsd/sys/powerpc/ps3/
H A Dps3bus.c612 if (!(rman_get_flags(r) & RF_ACTIVE)) in ps3bus_map_resource()
/freebsd/sys/dev/puc/
H A Dpuc.c552 if (rman_get_flags(res) & RF_ACTIVE) in puc_bus_release_resource()
/freebsd/sys/dev/vmd/
H A Dvmd.c529 if (!(rman_get_flags(r) & RF_ACTIVE)) in vmd_map_resource()
/freebsd/sys/dev/bhnd/
H A Dbhnd.c465 r->direct = ((rman_get_flags(rle->res) & RF_ACTIVE) != 0); in bhnd_generic_alloc_pmu()

12