Lines Matching refs:aper_size
92 u32 aper_size; in allocate_aperture() local
98 aper_size = (32 * 1024 * 1024) << fallback_aper_order; in allocate_aperture()
107 aper_size, aper_size); in allocate_aperture()
110 addr, addr + aper_size - 1, aper_size >> 10); in allocate_aperture()
113 memblock_reserve(addr, aper_size); in allocate_aperture()
115 addr, addr + aper_size - 1, aper_size >> 10); in allocate_aperture()
117 (addr+aper_size) >> PAGE_SHIFT); in allocate_aperture()
282 u32 aper_size = 0, aper_order = 0, last_aper_order = 0; in early_gart_iommu_check() local
311 aper_size = (32 * 1024 * 1024) << aper_order; in early_gart_iommu_check()
334 if (!aper_base || !aper_size || aper_base + aper_size > 0x100000000UL) in early_gart_iommu_check()
338 if (e820__mapped_any(aper_base, aper_base + aper_size, in early_gart_iommu_check()
342 aper_base, aper_base + aper_size - 1); in early_gart_iommu_check()
343 e820__range_add(aper_base, aper_size, E820_TYPE_RESERVED); in early_gart_iommu_check()
377 u32 aper_size, aper_alloc = 0, aper_order = 0, last_aper_order = 0; in gart_iommu_hole_init() local
426 aper_size = (32 * 1024 * 1024) << aper_order; in gart_iommu_hole_init()
431 node, aper_base, aper_base + aper_size - 1, in gart_iommu_hole_init()
432 aper_size >> 20); in gart_iommu_hole_init()
435 if (!aperture_valid(aper_base, aper_size, 64<<20)) { in gart_iommu_hole_init()