Searched refs:aper_base (Results 1 – 3 of 3) sorted by relevance
/arch/x86/kernel/ |
D | aperture_64.c | 262 u64 aper_base = 0, last_aper_base = 0; in early_gart_iommu_check() local 288 aper_base = read_pci_config(bus, slot, 3, AMD64_GARTAPERTUREBASE) & 0x7fff; in early_gart_iommu_check() 289 aper_base <<= 25; in early_gart_iommu_check() 293 (aper_base != last_aper_base) || in early_gart_iommu_check() 301 last_aper_base = aper_base; in early_gart_iommu_check() 310 if (!aper_base || !aper_size || aper_base + aper_size > 0x100000000UL) in early_gart_iommu_check() 314 if (e820_any_mapped(aper_base, aper_base + aper_size, in early_gart_iommu_check() 318 aper_base, aper_base + aper_size - 1); in early_gart_iommu_check() 319 e820_add_region(aper_base, aper_size, E820_RESERVED); in early_gart_iommu_check() 354 u64 aper_base, last_aper_base = 0; in gart_iommu_hole_init() local [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 | 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_any_mapped(aper_base, aper_base + aper_size, E820_RAM)) { in aperture_valid()
|