Home
last modified time | relevance | path

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

/linux-6.1.9/arch/sh/kernel/
Dsetup.c104 static struct resource mem_resources[MAX_NUMNODES]; variable
200 struct resource *res = &mem_resources[nid]; in __add_active_range()
/linux-6.1.9/arch/microblaze/pci/
Dpci-common.c469 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()
/linux-6.1.9/arch/xtensa/include/asm/
Dpci-bridge.h50 struct resource mem_resources[3]; member
/linux-6.1.9/arch/powerpc/sysdev/
Dfsl_pci.c253 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()
/linux-6.1.9/arch/powerpc/platforms/powermac/
Dpci.c688 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()
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dpci_dlpar.c96 res = &phb->mem_resources[i]; in remove_phb_dynamic()
Diommu.c1428 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()
/linux-6.1.9/arch/microblaze/include/asm/
Dpci-bridge.h87 struct resource mem_resources[3]; member
/linux-6.1.9/arch/powerpc/platforms/52xx/
Dmpc52xx_pci.c259 res = &hose->mem_resources[0]; in mpc52xx_pci_setup()
272 res = &hose->mem_resources[1]; in mpc52xx_pci_setup()
/linux-6.1.9/arch/powerpc/kernel/
Dpci-common.c844 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()
Dio-workarounds.c46 res = &phb->mem_resources[j]; in iowa_pci_find()
/linux-6.1.9/arch/xtensa/lib/
Dpci-auto.c242 pciauto_upper_memspc = pci_ctrl->mem_resources[0].end + 1; in pciauto_bus_scan()
/linux-6.1.9/arch/powerpc/include/asm/
Dpci-bridge.h116 struct resource mem_resources[3]; member
/linux-6.1.9/arch/powerpc/platforms/powernv/
Dpci-ioda.c236 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()
/linux-6.1.9/arch/powerpc/platforms/4xx/
Dpci.c260 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()