Searched refs:mem_resources (Results 1 – 15 of 15) sorted by relevance
104 static struct resource mem_resources[MAX_NUMNODES]; variable200 struct resource *res = &mem_resources[nid]; in __add_active_range()
469 res = &hose->mem_resources[memno++]; in pci_process_bridge_OF_ranges()489 memmove(&hose->mem_resources[isa_hole], in pci_process_bridge_OF_ranges()490 &hose->mem_resources[next], in pci_process_bridge_OF_ranges()492 hose->mem_resources[--memno].flags = 0; in pci_process_bridge_OF_ranges()796 pres = &hose->mem_resources[i]; in pcibios_reserve_legacy_regions()879 res = &hose->mem_resources[i]; in pcibios_setup_phb_resources()
50 struct resource mem_resources[3]; member
253 if (!(hose->mem_resources[i].flags & IORESOURCE_MEM)) in setup_pci_atmu()256 paddr_lo = min(paddr_lo, (u64)hose->mem_resources[i].start); in setup_pci_atmu()257 paddr_hi = max(paddr_hi, (u64)hose->mem_resources[i].end); in setup_pci_atmu()261 n = setup_one_atmu(pci, j, &hose->mem_resources[i], offset); in setup_pci_atmu()265 hose->mem_resources[i].flags |= IORESOURCE_DISABLED; in setup_pci_atmu()512 par = &hose->mem_resources[i-1]; in fsl_pcibios_fixup_bus()1056 res = &hose->mem_resources[i]; in is_in_pci_mem_space()
688 hose->mem_resources[cur].flags = IORESOURCE_MEM; in parse_region_decode()689 hose->mem_resources[cur].name = hose->dn->full_name; in parse_region_decode()690 hose->mem_resources[cur].start = base; in parse_region_decode()691 hose->mem_resources[cur].end = end; in parse_region_decode()696 hose->mem_resources[cur].end = end; in parse_region_decode()1207 struct resource *r = &host->mem_resources[i]; in fixup_u4_pcie()
96 res = &phb->mem_resources[i]; in remove_phb_dynamic()
1428 for (i = 0; i < ARRAY_SIZE(pci->phb->mem_resources); i++) { in enable_ddw()1432 if ((pci->phb->mem_resources[i].flags & mask) == IORESOURCE_MEM) { in enable_ddw()1433 start = pci->phb->mem_resources[i].start; in enable_ddw()1434 end = pci->phb->mem_resources[i].end; in enable_ddw()
87 struct resource mem_resources[3]; member
259 res = &hose->mem_resources[0]; in mpc52xx_pci_setup()272 res = &hose->mem_resources[1]; in mpc52xx_pci_setup()
844 res = &hose->mem_resources[memno++]; in pci_process_bridge_OF_ranges()966 if ((hose->mem_resources[i].flags & IORESOURCE_MEM) && in pcibios_uninitialized_bridge_resource()967 hose->mem_resources[i].start == hose->mem_offset[i]) in pcibios_uninitialized_bridge_resource()1388 pres = &hose->mem_resources[i]; in pcibios_reserve_legacy_regions()1553 res = &hose->mem_resources[i]; in pcibios_setup_phb_resources()
46 res = &phb->mem_resources[j]; in iowa_pci_find()
242 pciauto_upper_memspc = pci_ctrl->mem_resources[0].end + 1; in pciauto_bus_scan()
116 struct resource mem_resources[3]; member
236 r = &phb->hose->mem_resources[1]; in pnv_ioda2_init_m64()344 r = &phb->hose->mem_resources[1]; in pnv_ioda1_init_m64()487 res = &hose->mem_resources[1]; in pnv_ioda_parse_m64_window()2605 w = &hose->mem_resources[1]; in pnv_pci_fixup_bridge_resources()2607 w = &hose->mem_resources[0]; in pnv_pci_fixup_bridge_resources()3044 phb->ioda.m32_size = resource_size(&hose->mem_resources[0]); in pnv_pci_init_ioda_phb()3049 phb->ioda.m32_pci_base = hose->mem_resources[0].start - hose->mem_offset[0]; in pnv_pci_init_ioda_phb()3200 hose->mem_resources[1].flags = 0; in pnv_pci_init_ioda_phb()
260 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()1793 struct resource *res = &hose->mem_resources[i]; in ppc4xx_configure_pciex_POMs()