Lines Matching refs:mem
214 bool mem, bool mem64, size_t bar_size, in pcie_ecam_region_allocate() argument
220 if (mem && !data->regions[PCIE_REGION_MEM64].size && in pcie_ecam_region_allocate()
226 if (!mem && !data->regions[PCIE_REGION_IO].size) { in pcie_ecam_region_allocate()
237 if (mem && ((mem64 && data->regions[PCIE_REGION_MEM64].size) || in pcie_ecam_region_allocate()
241 } else if (mem) { in pcie_ecam_region_allocate()
251 bool mem, bool mem64, size_t align, in pcie_ecam_region_get_allocate_base() argument
257 if (mem && !data->regions[PCIE_REGION_MEM64].size && in pcie_ecam_region_get_allocate_base()
263 if (!mem && !data->regions[PCIE_REGION_IO].size) { in pcie_ecam_region_get_allocate_base()
274 if (mem && ((mem64 && data->regions[PCIE_REGION_MEM64].size) || in pcie_ecam_region_get_allocate_base()
278 } else if (mem) { in pcie_ecam_region_get_allocate_base()
291 bool mem, bool mem64, uintptr_t bar_bus_addr, in pcie_ecam_region_translate() argument
302 if (mem && ((mem64 && data->regions[PCIE_REGION_MEM64].size) || in pcie_ecam_region_translate()
306 } else if (mem) { in pcie_ecam_region_translate()