Lines Matching refs:aper_size
63 u32 aper_size; in allocate_aperture() local
69 aper_size = (32 * 1024 * 1024) << fallback_aper_order; in allocate_aperture()
78 aper_size, aper_size); in allocate_aperture()
81 addr, addr + aper_size - 1, aper_size >> 10); in allocate_aperture()
84 memblock_reserve(addr, aper_size); in allocate_aperture()
86 addr, addr + aper_size - 1, aper_size >> 10); in allocate_aperture()
88 (addr+aper_size) >> PAGE_SHIFT); in allocate_aperture()
261 u32 aper_size = 0, aper_order = 0, last_aper_order = 0; in early_gart_iommu_check() local
287 aper_size = (32 * 1024 * 1024) << aper_order; in early_gart_iommu_check()
310 if (!aper_base || !aper_size || aper_base + aper_size > 0x100000000UL) in early_gart_iommu_check()
314 if (e820_any_mapped(aper_base, aper_base + aper_size, in early_gart_iommu_check()
318 aper_base, aper_base + aper_size - 1); in early_gart_iommu_check()
319 e820_add_region(aper_base, aper_size, E820_RESERVED); in early_gart_iommu_check()
353 u32 aper_size, aper_alloc = 0, aper_order = 0, last_aper_order = 0; in gart_iommu_hole_init() local
399 aper_size = (32 * 1024 * 1024) << aper_order; in gart_iommu_hole_init()
404 node, aper_base, aper_base + aper_size - 1, in gart_iommu_hole_init()
405 aper_size >> 20); in gart_iommu_hole_init()
408 if (!aperture_valid(aper_base, aper_size, 64<<20)) { in gart_iommu_hole_init()