Searched refs:aper_base (Results 1 – 3 of 3) sorted by relevance
| /arch/x86/kernel/ |
| A D | aperture_64.c | 303 u64 aper_base = 0, last_aper_base = 0; in early_gart_iommu_check() local 333 aper_base <<= 25; in early_gart_iommu_check() 345 last_aper_base = aper_base; in early_gart_iommu_check() 354 if (!aper_base || !aper_size || aper_base + aper_size > 0x100000000UL) in early_gart_iommu_check() 358 if (e820__mapped_any(aper_base, aper_base + aper_size, in early_gart_iommu_check() 362 aper_base, aper_base + aper_size - 1); in early_gart_iommu_check() 398 u64 aper_base, last_aper_base = 0; in gart_iommu_hole_init() local 448 aper_base <<= 25; in gart_iommu_hole_init() 451 node, aper_base, aper_base + aper_size - 1, in gart_iommu_hole_init() 457 agp_aper_base == aper_base && in gart_iommu_hole_init() [all …]
|
| A D | amd_gart_64.c | 521 u64 aper_base; in read_aperture() local 528 aper_base <<= 25; in read_aperture() 532 aper_base = 0; in read_aperture() 535 return aper_base; in read_aperture() 630 if (!aper_base) { in init_amd_gatt() 632 aper_base = new_aper_base; in init_amd_gatt() 637 if (!aper_base) in init_amd_gatt() 640 info->aper_base = aper_base; in init_amd_gatt() 658 aper_base, aper_size>>10); in init_amd_gatt() 741 aper_base = info.aper_base; in gart_iommu_init() [all …]
|
| /arch/x86/include/asm/ |
| A D | gart.h | 91 static inline int aperture_valid(u64 aper_base, u32 aper_size, u32 min_size) in aperture_valid() argument 93 if (!aper_base) in aperture_valid() 96 if (aper_base + aper_size > 0x100000000ULL) { in aperture_valid() 100 if (e820__mapped_any(aper_base, aper_base + aper_size, E820_TYPE_RAM)) { in aperture_valid()
|
Completed in 7 milliseconds