Searched refs:mem_resources (Results 1 – 17 of 17) sorted by relevance
104 static struct resource mem_resources[MAX_NUMNODES]; variable200 struct resource *res = &mem_resources[nid]; in __add_active_range()
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()
50 struct resource mem_resources[3]; member
520 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()
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()1202 struct resource *r = &host->mem_resources[i]; in fixup_u4_pcie()
89 res = &phb->mem_resources[i]; in remove_phb_dynamic()
87 struct resource mem_resources[3]; member
258 res = &hose->mem_resources[0]; in mpc52xx_pci_setup()275 res = &hose->mem_resources[1]; in mpc52xx_pci_setup()
73 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()
242 u8 *mem_resources; member
1025 kfree(iwdev->mem_resources); in i40iw_del_init_mem()1026 iwdev->mem_resources = NULL; in i40iw_del_init_mem()
751 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()
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
237 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()
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()