Lines Matching refs:aper_base
523 u64 aper_base; in read_aperture() local
529 aper_base = aper_base_32 & 0x7fff; in read_aperture()
530 aper_base <<= 25; in read_aperture()
533 if (aper_base + aper_size > 0x100000000UL || !aper_size) in read_aperture()
534 aper_base = 0; in read_aperture()
537 return aper_base; in read_aperture()
617 unsigned aper_base, new_aper_base; in init_amd_gatt() local
624 aper_size = aper_base = info->aper_size = 0; in init_amd_gatt()
632 if (!aper_base) { in init_amd_gatt()
634 aper_base = new_aper_base; in init_amd_gatt()
636 if (aper_size != new_aper_size || aper_base != new_aper_base) in init_amd_gatt()
639 if (!aper_base) in init_amd_gatt()
642 info->aper_base = aper_base; in init_amd_gatt()
660 aper_base, aper_size>>10); in init_amd_gatt()
713 unsigned long aper_base, aper_size; in gart_iommu_init() local
743 aper_base = info.aper_base; in gart_iommu_init()
744 end_pfn = (aper_base>>PAGE_SHIFT) + (aper_size>>PAGE_SHIFT); in gart_iommu_init()
746 start_pfn = PFN_DOWN(aper_base); in gart_iommu_init()
752 iommu_size = check_iommu_size(info.aper_base, aper_size); in gart_iommu_init()
765 iommu_bus_base = info.aper_base + iommu_start; in gart_iommu_init()