Home
last modified time | relevance | path

Searched refs:aper_order (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/arch/x86/kernel/
Daperture_64.c76 static void __init exclude_from_core(u64 aper_base, u32 aper_order) in exclude_from_core() argument
79 aperture_page_count = (32 * 1024 * 1024) << aper_order >> PAGE_SHIFT; in exclude_from_core()
88 static void exclude_from_core(u64 aper_base, u32 aper_order) in exclude_from_core() argument
293 u32 aper_size = 0, aper_order = 0, last_aper_order = 0; in early_gart_iommu_check() local
321 aper_order = (ctl >> 1) & 7; in early_gart_iommu_check()
322 aper_size = (32 * 1024 * 1024) << aper_order; in early_gart_iommu_check()
327 if ((aper_order != last_aper_order) || in early_gart_iommu_check()
335 last_aper_order = aper_order; in early_gart_iommu_check()
388 u32 aper_size, aper_alloc = 0, aper_order = 0, last_aper_order = 0; in gart_iommu_hole_init() local
436 aper_order = (ctl >> 1) & 7; in gart_iommu_hole_init()
[all …]
Damd_gart_64.c524 unsigned aper_size = 0, aper_base_32, aper_order; in read_aperture() local
528 pci_read_config_dword(dev, AMD64_GARTAPERTURECTL, &aper_order); in read_aperture()
529 aper_order = (aper_order >> 1) & 7; in read_aperture()
534 aper_size = (32 * 1024 * 1024) << aper_order; in read_aperture()
567 void set_up_gart_resume(u32 aper_order, u32 aper_alloc) in set_up_gart_resume() argument
570 aperture_order = aper_order; in set_up_gart_resume()