Home
last modified time | relevance | path

Searched refs:mem_resources (Results 1 – 18 of 18) sorted by relevance

/arch/tile/kernel/
Dpci.c370 controllers[i].mem_resources[0] = in pcibios_init()
372 controllers[i].mem_resources[1] = in pcibios_init()
374 controllers[i].mem_resources[2] = in pcibios_init()
599 if (addr > controllers[0].mem_resources[1].end && \
600 addr > controllers[0].mem_resources[2].end) \
619 if (addr > controllers[0].mem_resources[1].end && \
620 addr > controllers[0].mem_resources[2].end) \
/arch/tile/include/asm/
Dpci.h40 struct resource mem_resources[3]; member
/arch/xtensa/include/asm/
Dpci-bridge.h52 struct resource mem_resources[3]; member
/arch/sh/kernel/
Dsetup.c100 static struct resource mem_resources[MAX_NUMNODES]; variable
194 struct resource *res = &mem_resources[nid]; in __add_active_range()
/arch/powerpc/sysdev/
Dfsl_pci.c166 if (!(hose->mem_resources[i].flags & IORESOURCE_MEM)) in setup_pci_atmu()
169 paddr_lo = min(paddr_lo, (u64)hose->mem_resources[i].start); in setup_pci_atmu()
170 paddr_hi = max(paddr_hi, (u64)hose->mem_resources[i].end); in setup_pci_atmu()
172 n = setup_one_atmu(pci, j, &hose->mem_resources[i], in setup_pci_atmu()
177 hose->mem_resources[i].flags |= IORESOURCE_DISABLED; in setup_pci_atmu()
412 par = &hose->mem_resources[i-1]; in fsl_pcibios_fixup_bus()
Dppc4xx_pci.c259 struct resource *res = &hose->mem_resources[i]; in ppc4xx_configure_pci_PMMs()
459 struct resource *res = &hose->mem_resources[i]; in ppc4xx_configure_pcix_POMs()
1794 struct resource *res = &hose->mem_resources[i]; in ppc4xx_configure_pciex_POMs()
/arch/powerpc/platforms/powernv/
Dpci-ioda.c299 start = hose->mem_resources[0].start; in pnv_ioda_calc_bus()
465 bounds = &hose->mem_resources[0]; in pnv_ioda_resource_fit()
1227 phb->ioda.m32_size = resource_size(&hose->mem_resources[0]); in pnv_pci_init_ioda1_phb()
1232 phb->ioda.m32_pci_base = hose->mem_resources[0].start - in pnv_pci_init_ioda1_phb()
1260 hose->mem_resources[1].flags = 0; in pnv_pci_init_ioda1_phb()
1261 hose->mem_resources[1].start = 0; in pnv_pci_init_ioda1_phb()
1262 hose->mem_resources[1].end = 0; in pnv_pci_init_ioda1_phb()
1263 hose->mem_resources[2].flags = 0; in pnv_pci_init_ioda1_phb()
1264 hose->mem_resources[2].start = 0; in pnv_pci_init_ioda1_phb()
1265 hose->mem_resources[2].end = 0; in pnv_pci_init_ioda1_phb()
/arch/microblaze/include/asm/
Dpci-bridge.h90 struct resource mem_resources[3]; member
/arch/powerpc/kernel/
Dpci-common.c791 res = &hose->mem_resources[memno++]; in pci_process_bridge_OF_ranges()
815 memmove(&hose->mem_resources[isa_hole], in pci_process_bridge_OF_ranges()
816 &hose->mem_resources[next], in pci_process_bridge_OF_ranges()
818 hose->mem_resources[--memno].flags = 0; in pci_process_bridge_OF_ranges()
924 if ((hose->mem_resources[i].flags & IORESOURCE_MEM) && in pcibios_uninitialized_bridge_resource()
925 hose->mem_resources[i].start == hose->pci_mem_offset) in pcibios_uninitialized_bridge_resource()
1352 pres = &hose->mem_resources[i]; in pcibios_reserve_legacy_regions()
1513 res = &hose->mem_resources[i]; in pcibios_setup_phb_resources()
Dio-workarounds.c47 res = &phb->mem_resources[j]; in iowa_pci_find()
/arch/microblaze/pci/
Dpci-common.c797 res = &hose->mem_resources[memno++]; in pci_process_bridge_OF_ranges()
821 memmove(&hose->mem_resources[isa_hole], in pci_process_bridge_OF_ranges()
822 &hose->mem_resources[next], in pci_process_bridge_OF_ranges()
824 hose->mem_resources[--memno].flags = 0; in pci_process_bridge_OF_ranges()
909 if ((hose->mem_resources[i].flags & IORESOURCE_MEM) && in pcibios_uninitialized_bridge_resource()
910 hose->mem_resources[i].start == hose->pci_mem_offset) in pcibios_uninitialized_bridge_resource()
1305 pres = &hose->mem_resources[i]; in pcibios_reserve_legacy_regions()
1454 res = &hose->mem_resources[i]; in pcibios_setup_phb_resources()
/arch/powerpc/platforms/powermac/
Dpci.c823 hose->mem_resources[cur].flags = IORESOURCE_MEM; in parse_region_decode()
824 hose->mem_resources[cur].name = hose->dn->full_name; in parse_region_decode()
825 hose->mem_resources[cur].start = base; in parse_region_decode()
826 hose->mem_resources[cur].end = end; in parse_region_decode()
830 hose->mem_resources[cur].end = end; in parse_region_decode()
1329 struct resource *r = &host->mem_resources[i]; in fixup_u4_pcie()
/arch/powerpc/platforms/52xx/
Dmpc52xx_pci.c258 res = &hose->mem_resources[0]; in mpc52xx_pci_setup()
275 res = &hose->mem_resources[1]; in mpc52xx_pci_setup()
/arch/powerpc/platforms/wsp/
Dwsp_pci.c497 hose->mem_resources[0].start); in wsp_pcie_configure_hw()
499 (~(hose->mem_resources[0].end - in wsp_pcie_configure_hw()
500 hose->mem_resources[0].start)) & 0x3ffffff0000ul); in wsp_pcie_configure_hw()
502 (~(hose->mem_resources[0].end - in wsp_pcie_configure_hw()
503 hose->mem_resources[0].start)) & 0x3ffffff0000ul); in wsp_pcie_configure_hw()
505 (hose->mem_resources[0].start - hose->pci_mem_offset) | 1); in wsp_pcie_configure_hw()
/arch/powerpc/include/asm/
Dpci-bridge.h84 struct resource mem_resources[3]; member
/arch/powerpc/platforms/pseries/
Dpci_dlpar.c201 res = &phb->mem_resources[i]; in remove_phb_dynamic()
/arch/xtensa/lib/
Dpci-auto.c256 pciauto_upper_memspc = pci_ctrl->mem_resources[0].end + 1; in pciauto_bus_scan()
/arch/xtensa/kernel/
Dpci.c159 res = &pci_ctrl->mem_resources[i]; in pci_controller_apertures()