Searched refs:mem_resources (Results 1 – 15 of 15) sorted by relevance
247 if (!(hose->mem_resources[i].flags & IORESOURCE_MEM)) in setup_pci_atmu()250 paddr_lo = min(paddr_lo, (u64)hose->mem_resources[i].start); in setup_pci_atmu()251 paddr_hi = max(paddr_hi, (u64)hose->mem_resources[i].end); in setup_pci_atmu()255 n = setup_one_atmu(pci, j, &hose->mem_resources[i], offset); in setup_pci_atmu()259 hose->mem_resources[i].flags |= IORESOURCE_DISABLED; in setup_pci_atmu()506 par = &hose->mem_resources[i-1]; in fsl_pcibios_fixup_bus()1042 res = &hose->mem_resources[i]; in is_in_pci_mem_space()
104 static struct resource mem_resources[MAX_NUMNODES]; variable200 struct resource *res = &mem_resources[nid]; in __add_active_range()
687 hose->mem_resources[cur].flags = IORESOURCE_MEM; in parse_region_decode()688 hose->mem_resources[cur].name = hose->dn->full_name; in parse_region_decode()689 hose->mem_resources[cur].start = base; in parse_region_decode()690 hose->mem_resources[cur].end = end; in parse_region_decode()695 hose->mem_resources[cur].end = end; in parse_region_decode()1206 struct resource *r = &host->mem_resources[i]; in fixup_u4_pcie()
518 res = &hose->mem_resources[memno++]; in pci_process_bridge_OF_ranges()538 memmove(&hose->mem_resources[isa_hole], in pci_process_bridge_OF_ranges()539 &hose->mem_resources[next], in pci_process_bridge_OF_ranges()541 hose->mem_resources[--memno].flags = 0; in pci_process_bridge_OF_ranges()845 pres = &hose->mem_resources[i]; in pcibios_reserve_legacy_regions()928 res = &hose->mem_resources[i]; in pcibios_setup_phb_resources()
50 struct resource mem_resources[3]; member
93 res = &phb->mem_resources[i]; in remove_phb_dynamic()
1409 for (i = 0; i < ARRAY_SIZE(pci->phb->mem_resources); i++) { in enable_ddw()1413 if ((pci->phb->mem_resources[i].flags & mask) == IORESOURCE_MEM) { in enable_ddw()1414 start = pci->phb->mem_resources[i].start; in enable_ddw()1415 end = pci->phb->mem_resources[i].end; in enable_ddw()
258 res = &hose->mem_resources[0]; in mpc52xx_pci_setup()275 res = &hose->mem_resources[1]; in mpc52xx_pci_setup()
87 struct resource mem_resources[3]; member
826 res = &hose->mem_resources[memno++]; in pci_process_bridge_OF_ranges()948 if ((hose->mem_resources[i].flags & IORESOURCE_MEM) && in pcibios_uninitialized_bridge_resource()949 hose->mem_resources[i].start == hose->mem_offset[i]) in pcibios_uninitialized_bridge_resource()1370 pres = &hose->mem_resources[i]; in pcibios_reserve_legacy_regions()1535 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
235 r = &phb->hose->mem_resources[1]; in pnv_ioda2_init_m64()343 r = &phb->hose->mem_resources[1]; in pnv_ioda1_init_m64()486 res = &hose->mem_resources[1]; in pnv_ioda_parse_m64_window()2612 w = &hose->mem_resources[1]; in pnv_pci_fixup_bridge_resources()2614 w = &hose->mem_resources[0]; in pnv_pci_fixup_bridge_resources()3051 phb->ioda.m32_size = resource_size(&hose->mem_resources[0]); in pnv_pci_init_ioda_phb()3056 phb->ioda.m32_pci_base = hose->mem_resources[0].start - hose->mem_offset[0]; in pnv_pci_init_ioda_phb()3207 hose->mem_resources[1].flags = 0; in pnv_pci_init_ioda_phb()
259 struct resource *res = &hose->mem_resources[i]; in ppc4xx_configure_pci_PMMs()458 struct resource *res = &hose->mem_resources[i]; in ppc4xx_configure_pcix_POMs()1792 struct resource *res = &hose->mem_resources[i]; in ppc4xx_configure_pciex_POMs()
Completed in 36 milliseconds