Home
last modified time | relevance | path

Searched refs:aper_size (Results 1 – 3 of 3) sorted by relevance

/arch/x86/kernel/
Daperture_64.c63 u32 aper_size; in allocate_aperture() local
69 aper_size = (32 * 1024 * 1024) << fallback_aper_order; in allocate_aperture()
78 aper_size, aper_size); in allocate_aperture()
81 addr, addr + aper_size - 1, aper_size >> 10); in allocate_aperture()
84 memblock_reserve(addr, aper_size); in allocate_aperture()
86 addr, addr + aper_size - 1, aper_size >> 10); in allocate_aperture()
88 (addr+aper_size) >> PAGE_SHIFT); in allocate_aperture()
261 u32 aper_size = 0, aper_order = 0, last_aper_order = 0; in early_gart_iommu_check() local
287 aper_size = (32 * 1024 * 1024) << aper_order; in early_gart_iommu_check()
310 if (!aper_base || !aper_size || aper_base + aper_size > 0x100000000UL) in early_gart_iommu_check()
[all …]
Damd_gart_64.c525 static __init unsigned long check_iommu_size(unsigned long aper, u64 aper_size) in check_iommu_size() argument
530 iommu_size = aper_size; in check_iommu_size()
550 unsigned aper_size = 0, aper_base_32, aper_order; in read_aperture() local
560 aper_size = (32 * 1024 * 1024) << aper_order; in read_aperture()
561 if (aper_base + aper_size > 0x100000000UL || !aper_size) in read_aperture()
564 *size = aper_size; in read_aperture()
644 unsigned aper_size, gatt_size, new_aper_size; in init_amd_gatt() local
652 aper_size = aper_base = info->aper_size = 0; in init_amd_gatt()
661 aper_size = new_aper_size; in init_amd_gatt()
664 if (aper_size != new_aper_size || aper_base != new_aper_base) in init_amd_gatt()
[all …]
/arch/x86/include/asm/
Dgart.h91 static inline int aperture_valid(u64 aper_base, u32 aper_size, u32 min_size) in aperture_valid() argument
96 if (aper_base + aper_size > 0x100000000ULL) { in aperture_valid()
100 if (e820_any_mapped(aper_base, aper_base + aper_size, E820_RAM)) { in aperture_valid()
104 if (aper_size < min_size) { in aperture_valid()
106 aper_size>>20, min_size>>20); in aperture_valid()