Lines Matching refs:aper_base
76 static void __init exclude_from_core(u64 aper_base, u32 aper_order) in exclude_from_core() argument
78 aperture_pfn_start = aper_base >> PAGE_SHIFT; in exclude_from_core()
88 static void exclude_from_core(u64 aper_base, u32 aper_order) in exclude_from_core() argument
294 u64 aper_base = 0, last_aper_base = 0; in early_gart_iommu_check() local
323 aper_base = read_pci_config(bus, slot, 3, AMD64_GARTAPERTUREBASE) & 0x7fff; in early_gart_iommu_check()
324 aper_base <<= 25; in early_gart_iommu_check()
328 (aper_base != last_aper_base) || in early_gart_iommu_check()
336 last_aper_base = aper_base; in early_gart_iommu_check()
345 if (!aper_base || !aper_size || aper_base + aper_size > 0x100000000UL) in early_gart_iommu_check()
349 if (e820__mapped_any(aper_base, aper_base + aper_size, in early_gart_iommu_check()
353 aper_base, aper_base + aper_size - 1); in early_gart_iommu_check()
354 e820__range_add(aper_base, aper_size, E820_TYPE_RESERVED); in early_gart_iommu_check()
389 u64 aper_base, last_aper_base = 0; in gart_iommu_hole_init() local
438 aper_base = read_pci_config(bus, slot, 3, AMD64_GARTAPERTUREBASE) & 0x7fff; in gart_iommu_hole_init()
439 aper_base <<= 25; in gart_iommu_hole_init()
442 node, aper_base, aper_base + aper_size - 1, in gart_iommu_hole_init()
446 if (!aperture_valid(aper_base, aper_size, 64<<20)) { in gart_iommu_hole_init()
448 agp_aper_base == aper_base && in gart_iommu_hole_init()
466 (last_aper_base && aper_base != last_aper_base)) { in gart_iommu_hole_init()
471 last_aper_base = aper_base; in gart_iommu_hole_init()