Lines Matching refs:aper_size
109 u32 aper_size; in allocate_aperture() local
115 aper_size = (32 * 1024 * 1024) << fallback_aper_order; in allocate_aperture()
123 addr = memblock_phys_alloc_range(aper_size, aper_size, in allocate_aperture()
127 addr, addr + aper_size - 1, aper_size >> 10); in allocate_aperture()
131 addr, addr + aper_size - 1, aper_size >> 10); in allocate_aperture()
133 (addr+aper_size) >> PAGE_SHIFT); in allocate_aperture()
303 u32 aper_size = 0, aper_order = 0, last_aper_order = 0; in early_gart_iommu_check() local
332 aper_size = (32 * 1024 * 1024) << aper_order; 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()
398 u32 aper_size, aper_alloc = 0, aper_order = 0, last_aper_order = 0; in gart_iommu_hole_init() local
447 aper_size = (32 * 1024 * 1024) << aper_order; in gart_iommu_hole_init()
452 node, aper_base, aper_base + aper_size - 1, in gart_iommu_hole_init()
453 aper_size >> 20); in gart_iommu_hole_init()
456 if (!aperture_valid(aper_base, aper_size, 64<<20)) { in gart_iommu_hole_init()