Searched refs:aper_base (Results 1 – 3 of 3) sorted by relevance
/arch/x86/kernel/ |
D | aperture_64.c | 57 static void __init insert_aperture_resource(u32 aper_base, u32 aper_size) in insert_aperture_resource() argument 59 gart_resource.start = aper_base; in insert_aperture_resource() 60 gart_resource.end = aper_base + aper_size - 1; in insert_aperture_resource() 279 u64 aper_base = 0, last_aper_base = 0; in early_gart_iommu_check() local 303 aper_base = read_pci_config(bus, slot, 3, AMD64_GARTAPERTUREBASE) & 0x7fff; in early_gart_iommu_check() 304 aper_base <<= 25; in early_gart_iommu_check() 308 (aper_base != last_aper_base) || in early_gart_iommu_check() 316 last_aper_base = aper_base; in early_gart_iommu_check() 325 if (!aper_base || !aper_size || aper_base + aper_size > 0x100000000UL) in early_gart_iommu_check() 329 if (e820_any_mapped(aper_base, aper_base + aper_size, in early_gart_iommu_check() [all …]
|
D | pci-gart_64.c | 556 u64 aper_base; in read_aperture() local 562 aper_base = aper_base_32 & 0x7fff; in read_aperture() 563 aper_base <<= 25; in read_aperture() 566 if (aper_base + aper_size > 0x100000000UL || !aper_size) in read_aperture() 567 aper_base = 0; in read_aperture() 570 return aper_base; in read_aperture() 651 unsigned aper_base, new_aper_base; in init_k8_gatt() local 657 aper_size = aper_base = info->aper_size = 0; in init_k8_gatt() 665 if (!aper_base) { in init_k8_gatt() 667 aper_base = new_aper_base; in init_k8_gatt() [all …]
|
/arch/x86/include/asm/ |
D | gart.h | 84 static inline int aperture_valid(u64 aper_base, u32 aper_size, u32 min_size) in aperture_valid() argument 86 if (!aper_base) in aperture_valid() 89 if (aper_base + aper_size > 0x100000000ULL) { in aperture_valid() 93 if (e820_any_mapped(aper_base, aper_base + aper_size, E820_RAM)) { in aperture_valid()
|