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
290 aper_size = (32 * 1024 * 1024) << aper_order; in early_gart_iommu_check()
313 if (!aper_base || !aper_size || aper_base + aper_size > 0x100000000UL) in early_gart_iommu_check()
317 if (e820_any_mapped(aper_base, aper_base + aper_size, in early_gart_iommu_check()
321 aper_base, aper_base + aper_size - 1); in early_gart_iommu_check()
322 e820_add_region(aper_base, aper_size, E820_RESERVED); in early_gart_iommu_check()
356 u32 aper_size, aper_alloc = 0, aper_order = 0, last_aper_order = 0; in gart_iommu_hole_init() local
405 aper_size = (32 * 1024 * 1024) << aper_order; in gart_iommu_hole_init()
410 node, aper_base, aper_base + aper_size - 1, in gart_iommu_hole_init()
411 aper_size >> 20); in gart_iommu_hole_init()
414 if (!aperture_valid(aper_base, aper_size, 64<<20)) { in gart_iommu_hole_init()