Searched refs:aper_base (Results 1 – 3 of 3) sorted by relevance
/arch/x86/kernel/ |
D | aperture_64.c | 75 static void exclude_from_vmcore(u64 aper_base, u32 aper_order) in exclude_from_vmcore() argument 77 aperture_pfn_start = aper_base >> PAGE_SHIFT; in exclude_from_vmcore() 82 static void exclude_from_vmcore(u64 aper_base, u32 aper_order) in exclude_from_vmcore() argument 283 u64 aper_base = 0, last_aper_base = 0; in early_gart_iommu_check() local 312 aper_base = read_pci_config(bus, slot, 3, AMD64_GARTAPERTUREBASE) & 0x7fff; in early_gart_iommu_check() 313 aper_base <<= 25; in early_gart_iommu_check() 317 (aper_base != last_aper_base) || in early_gart_iommu_check() 325 last_aper_base = aper_base; in early_gart_iommu_check() 334 if (!aper_base || !aper_size || aper_base + aper_size > 0x100000000UL) in early_gart_iommu_check() 338 if (e820__mapped_any(aper_base, aper_base + aper_size, in early_gart_iommu_check() [all …]
|
D | amd_gart_64.c | 551 u64 aper_base; in read_aperture() local 557 aper_base = aper_base_32 & 0x7fff; in read_aperture() 558 aper_base <<= 25; in read_aperture() 561 if (aper_base + aper_size > 0x100000000UL || !aper_size) in read_aperture() 562 aper_base = 0; in read_aperture() 565 return aper_base; in read_aperture() 645 unsigned aper_base, new_aper_base; in init_amd_gatt() local 652 aper_size = aper_base = info->aper_size = 0; in init_amd_gatt() 660 if (!aper_base) { in init_amd_gatt() 662 aper_base = new_aper_base; in init_amd_gatt() [all …]
|
/arch/x86/include/asm/ |
D | gart.h | 92 static inline int aperture_valid(u64 aper_base, u32 aper_size, u32 min_size) in aperture_valid() argument 94 if (!aper_base) in aperture_valid() 97 if (aper_base + aper_size > 0x100000000ULL) { in aperture_valid() 101 if (e820__mapped_any(aper_base, aper_base + aper_size, E820_TYPE_RAM)) { in aperture_valid()
|