Home
last modified time | relevance | path

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

12

/freebsd/sys/powerpc/powerpc/
H A Dnexus.c162 if ((rman_get_flags(r) & RF_SHAREABLE) == 0) in nexus_setup_intr()
253 if (!(rman_get_flags(r) & RF_ACTIVE)) in nexus_map_resource()
288 if ((rman_get_flags(r) & RF_LITTLEENDIAN) != 0) in nexus_map_resource()
/freebsd/sys/dev/bhnd/cores/chipc/
H A Dchipc.c814 rman_get_flags(rle->res)); in chipc_alloc_resource()
887 rm = chipc_get_rman(dev, rman_get_type(r), rman_get_flags(r)); in chipc_release_resource()
925 rm = chipc_get_rman(dev, rman_get_type(r), rman_get_flags(r)); in chipc_adjust_resource()
967 rm = chipc_get_rman(dev, rman_get_type(r), rman_get_flags(r)); in chipc_try_activate_resource()
1017 rm = chipc_get_rman(dev, type, rman_get_flags(r->res)); in chipc_activate_bhnd_resource()
1030 if (rman_get_flags(r->res) & RF_ACTIVE) in chipc_activate_bhnd_resource()
1042 rm = chipc_get_rman(dev, rman_get_type(r), rman_get_flags(r)); in chipc_activate_resource()
1066 rm = chipc_get_rman(dev, rman_get_type(r), rman_get_flags(r)); in chipc_deactivate_resource()
/freebsd/sys/arm64/arm64/
H A Dnexus.c281 if ((rman_get_flags(res) & RF_SHAREABLE) == 0) in nexus_setup_intr()
342 if ((rman_get_flags(r) & RF_UNMAPPED) == 0) { in nexus_activate_resource_flags()
390 if ((rman_get_flags(r) & RF_ACTIVE) == 0) in nexus_map_resource()
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_mc.c349 rm = dpaa2_mc_rman(mcdev, rman_get_type(r), rman_get_flags(r)); in dpaa2_mc_adjust_resource()
361 rm = dpaa2_mc_rman(mcdev, rman_get_type(r), rman_get_flags(r)); in dpaa2_mc_release_resource()
372 rm = dpaa2_mc_rman(mcdev, rman_get_type(r), rman_get_flags(r)); in dpaa2_mc_activate_resource()
383 rm = dpaa2_mc_rman(mcdev, rman_get_type(r), rman_get_flags(r)); in dpaa2_mc_deactivate_resource()
/freebsd/sys/riscv/riscv/
H A Dnexus.c270 if ((rman_get_flags(res) & RF_SHAREABLE) == 0) in nexus_setup_intr()
372 if ((rman_get_flags(r) & RF_ACTIVE) == 0) in nexus_map_resource()
/freebsd/sys/arm/arm/
H A Dnexus.c277 if ((rman_get_flags(res) & RF_SHAREABLE) == 0) in nexus_setup_intr()
340 if (!(rman_get_flags(r) & RF_ACTIVE)) 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.c749 if (!(rman_get_flags(r) & RF_ACTIVE)) in bhndb_resume_resource()
1055 if (rman_get_flags(r) & RF_ACTIVE) { in bhndb_release_resource()
1108 if (!(rman_get_flags(r) & RF_ACTIVE)) in bhndb_adjust_resource()
1521 KASSERT(!(rman_get_flags(r->res) & RF_ACTIVE), in bhndb_activate_bhnd_resource()
1605 KASSERT(rman_get_flags(r->res) & RF_ACTIVE, in bhndb_deactivate_bhnd_resource()
1790 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.c1117 if (!(rman_get_flags(rle->res) & RF_ACTIVE)) in cbb_cardbus_auto_open()
1119 if (rman_get_flags(rle->res) & RF_PREFETCHABLE) in cbb_cardbus_auto_open()
1272 if (rman_get_flags(res) & RF_ACTIVE) { in cbb_cardbus_release_resource()
1433 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.c1080 if (rman_get_flags(r) & RF_ACTIVE) { in pci_vf_release_mem_resource()
1116 if ((rman_get_flags(r) & RF_UNMAPPED) == 0) { in pci_vf_activate_mem_resource()
1147 if ((rman_get_flags(r) & RF_UNMAPPED) == 0) { in pci_vf_deactivate_mem_resource()
1205 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()
2182 if (rman_get_flags(r) & RF_ACTIVE) { in pcib_release_resource()
2207 if ((rman_get_flags(r) & RF_UNMAPPED) == 0 && in pcib_activate_resource()
2235 if ((rman_get_flags(r) & RF_UNMAPPED) == 0 && in pcib_deactivate_resource()
2270 if (!(rman_get_flags(r) & RF_ACTIVE)) in pcib_map_resource()
H A Dpci_host_generic.c610 if (!(rman_get_flags(r) & RF_ACTIVE)) in generic_pcie_map_resource()
/freebsd/sys/x86/x86/
H A Dnexus.c387 if (!(rman_get_flags(r) & RF_ACTIVE)) in nexus_map_resource()
468 if ((rman_get_flags(irq) & RF_SHAREABLE) == 0) in nexus_setup_intr()
/freebsd/sys/kern/
H A Dsubr_bus.c2975 KASSERT(!(rman_get_flags(rle->res) & RF_ACTIVE), in resource_list_busy()
3233 if (rman_get_flags(res) & RF_ACTIVE) { in resource_list_release()
4331 rm = BUS_GET_RMAN(dev, rman_get_type(r), rman_get_flags(r)); in bus_generic_rman_adjust_resource()
4355 rm = BUS_GET_RMAN(dev, rman_get_type(r), rman_get_flags(r)); in bus_generic_rman_release_resource()
4360 if (rman_get_flags(r) & RF_ACTIVE) { in bus_generic_rman_release_resource()
4386 rm = BUS_GET_RMAN(dev, type, rman_get_flags(r)); in bus_generic_rman_activate_resource()
4398 if ((rman_get_flags(r) & RF_UNMAPPED) == 0) { in bus_generic_rman_activate_resource()
4435 rm = BUS_GET_RMAN(dev, type, rman_get_flags(r)); in bus_generic_rman_deactivate_resource()
4447 if ((rman_get_flags(r) & RF_UNMAPPED) == 0) { in bus_generic_rman_deactivate_resource()
/freebsd/sys/powerpc/psim/
H A Diobus.c413 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.c623 if (!(rman_get_flags(r) & RF_ACTIVE)) in unin_chip_map_resource()
H A Dmacio.c663 if (!(rman_get_flags(r) & RF_ACTIVE)) in macio_map_resource()
/freebsd/sys/dev/ofw/
H A Dofw_pcib.c525 if (!(rman_get_flags(r) & RF_ACTIVE)) in ofw_pcib_map_resource()
/freebsd/sys/powerpc/ps3/
H A Dps3bus.c611 if (!(rman_get_flags(r) & RF_ACTIVE)) in ps3bus_map_resource()
/freebsd/sys/dev/puc/
H A Dpuc.c555 if (rman_get_flags(res) & RF_ACTIVE) in puc_bus_release_resource()
/freebsd/sys/dev/vmd/
H A Dvmd.c531 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