Lines Matching refs:aper_order
75 static void exclude_from_vmcore(u64 aper_base, u32 aper_order) in exclude_from_vmcore() argument
78 aperture_page_count = (32 * 1024 * 1024) << aper_order >> PAGE_SHIFT; in exclude_from_vmcore()
82 static void exclude_from_vmcore(u64 aper_base, u32 aper_order) in exclude_from_vmcore() argument
282 u32 aper_size = 0, aper_order = 0, last_aper_order = 0; in early_gart_iommu_check() local
310 aper_order = (ctl >> 1) & 7; in early_gart_iommu_check()
311 aper_size = (32 * 1024 * 1024) << aper_order; in early_gart_iommu_check()
316 if ((aper_order != last_aper_order) || in early_gart_iommu_check()
324 last_aper_order = aper_order; 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
425 aper_order = (ctl >> 1) & 7; in gart_iommu_hole_init()
426 aper_size = (32 * 1024 * 1024) << aper_order; in gart_iommu_hole_init()
438 agp_aper_order == aper_order) { in gart_iommu_hole_init()
454 if ((last_aper_order && aper_order != last_aper_order) || in gart_iommu_hole_init()
459 last_aper_order = aper_order; in gart_iommu_hole_init()
481 aper_order = agp_aper_order; in gart_iommu_hole_init()
495 aper_order = fallback_aper_order; in gart_iommu_hole_init()
518 exclude_from_vmcore(aper_alloc, aper_order); in gart_iommu_hole_init()
528 u32 ctl = aper_order << 1; in gart_iommu_hole_init()
542 set_up_gart_resume(aper_order, aper_alloc); in gart_iommu_hole_init()