Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/sh/kernel/
Dsetup.c104 static struct resource mem_resources[MAX_NUMNODES]; variable
200 struct resource *res = &mem_resources[nid]; in __add_active_range()
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
Dfsl_pci.c247 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()
/kernel/linux/linux-5.10/arch/xtensa/include/asm/
Dpci-bridge.h50 struct resource mem_resources[3]; member
/kernel/linux/linux-5.10/arch/microblaze/pci/
Dpci-common.c520 res = &hose->mem_resources[memno++]; in pci_process_bridge_OF_ranges()
540 memmove(&hose->mem_resources[isa_hole], in pci_process_bridge_OF_ranges()
541 &hose->mem_resources[next], in pci_process_bridge_OF_ranges()
543 hose->mem_resources[--memno].flags = 0; in pci_process_bridge_OF_ranges()
848 pres = &hose->mem_resources[i]; in pcibios_reserve_legacy_regions()
931 res = &hose->mem_resources[i]; in pcibios_setup_phb_resources()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/
Dpci.c687 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()
1202 struct resource *r = &host->mem_resources[i]; in fixup_u4_pcie()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dpci_dlpar.c89 res = &phb->mem_resources[i]; in remove_phb_dynamic()
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
Dpci-bridge.h87 struct resource mem_resources[3]; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
Di40iw_hw.c73 iwdev->mem_resources = kzalloc(resources_size, GFP_KERNEL); in i40iw_initialize_hw_resources()
75 if (!iwdev->mem_resources) in i40iw_initialize_hw_resources()
83 iwdev->arp_table = (struct i40iw_arp_entry *)iwdev->mem_resources; in i40iw_initialize_hw_resources()
84 resource_ptr = iwdev->mem_resources + (sizeof(struct i40iw_arp_entry) * arp_table_size); in i40iw_initialize_hw_resources()
Di40iw.h242 u8 *mem_resources; member
Di40iw_main.c1025 kfree(iwdev->mem_resources); in i40iw_del_init_mem()
1026 iwdev->mem_resources = NULL; in i40iw_del_init_mem()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dpci-common.c751 res = &hose->mem_resources[memno++]; in pci_process_bridge_OF_ranges()
873 if ((hose->mem_resources[i].flags & IORESOURCE_MEM) && in pcibios_uninitialized_bridge_resource()
874 hose->mem_resources[i].start == hose->mem_offset[i]) in pcibios_uninitialized_bridge_resource()
1290 pres = &hose->mem_resources[i]; in pcibios_reserve_legacy_regions()
1455 res = &hose->mem_resources[i]; in pcibios_setup_phb_resources()
Dio-workarounds.c46 res = &phb->mem_resources[j]; in iowa_pci_find()
/kernel/linux/linux-5.10/arch/xtensa/lib/
Dpci-auto.c242 pciauto_upper_memspc = pci_ctrl->mem_resources[0].end + 1; in pciauto_bus_scan()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dpci-bridge.h116 struct resource mem_resources[3]; member
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dpci-ioda.c237 r = &phb->hose->mem_resources[1]; in pnv_ioda2_init_m64()
345 r = &phb->hose->mem_resources[1]; in pnv_ioda1_init_m64()
488 res = &hose->mem_resources[1]; in pnv_ioda_parse_m64_window()
2544 w = &hose->mem_resources[1]; in pnv_pci_fixup_bridge_resources()
2546 w = &hose->mem_resources[0]; in pnv_pci_fixup_bridge_resources()
3020 phb->ioda.m32_size = resource_size(&hose->mem_resources[0]); in pnv_pci_init_ioda_phb()
3025 phb->ioda.m32_pci_base = hose->mem_resources[0].start - hose->mem_offset[0]; in pnv_pci_init_ioda_phb()
3178 hose->mem_resources[1].flags = 0; in pnv_pci_init_ioda_phb()
/kernel/linux/linux-5.10/arch/powerpc/platforms/4xx/
Dpci.c259 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()