Lines Matching refs:aper_base

87 static void __init exclude_from_core(u64 aper_base, u32 aper_order)  in exclude_from_core()  argument
89 aperture_pfn_start = aper_base >> PAGE_SHIFT; in exclude_from_core()
99 static void exclude_from_core(u64 aper_base, u32 aper_order) in exclude_from_core() argument
304 u64 aper_base = 0, last_aper_base = 0; in early_gart_iommu_check() local
333 aper_base = read_pci_config(bus, slot, 3, AMD64_GARTAPERTUREBASE) & 0x7fff; in early_gart_iommu_check()
334 aper_base <<= 25; in early_gart_iommu_check()
338 (aper_base != last_aper_base) || in early_gart_iommu_check()
346 last_aper_base = aper_base; in early_gart_iommu_check()
355 if (!aper_base || !aper_size || aper_base + aper_size > 0x100000000UL) in early_gart_iommu_check()
359 if (e820__mapped_any(aper_base, aper_base + aper_size, in early_gart_iommu_check()
363 aper_base, aper_base + aper_size - 1); in early_gart_iommu_check()
364 e820__range_add(aper_base, aper_size, E820_TYPE_RESERVED); in early_gart_iommu_check()
399 u64 aper_base, last_aper_base = 0; in gart_iommu_hole_init() local
448 aper_base = read_pci_config(bus, slot, 3, AMD64_GARTAPERTUREBASE) & 0x7fff; in gart_iommu_hole_init()
449 aper_base <<= 25; in gart_iommu_hole_init()
452 node, aper_base, aper_base + aper_size - 1, in gart_iommu_hole_init()
456 if (!aperture_valid(aper_base, aper_size, 64<<20)) { in gart_iommu_hole_init()
458 agp_aper_base == aper_base && in gart_iommu_hole_init()
476 (last_aper_base && aper_base != last_aper_base)) { in gart_iommu_hole_init()
481 last_aper_base = aper_base; in gart_iommu_hole_init()