Lines Matching refs:aper_order
261 u32 aper_size = 0, aper_order = 0, last_aper_order = 0; in early_gart_iommu_check() local
286 aper_order = (ctl >> 1) & 7; in early_gart_iommu_check()
287 aper_size = (32 * 1024 * 1024) << aper_order; in early_gart_iommu_check()
292 if ((aper_order != last_aper_order) || in early_gart_iommu_check()
300 last_aper_order = aper_order; 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
398 aper_order = (ctl >> 1) & 7; in gart_iommu_hole_init()
399 aper_size = (32 * 1024 * 1024) << aper_order; in gart_iommu_hole_init()
411 agp_aper_order == aper_order) { in gart_iommu_hole_init()
427 if ((last_aper_order && aper_order != last_aper_order) || in gart_iommu_hole_init()
432 last_aper_order = aper_order; in gart_iommu_hole_init()
446 aper_order = agp_aper_order; in gart_iommu_hole_init()
460 aper_order = fallback_aper_order; in gart_iommu_hole_init()
485 u32 ctl = aper_order << 1; in gart_iommu_hole_init()
499 set_up_gart_resume(aper_order, aper_alloc); in gart_iommu_hole_init()