Lines Matching refs:iommu_size
46 static unsigned long iommu_size; /* size of remapping area bytes */ variable
262 dma_addr >= iommu_bus_base + iommu_size) in gart_unmap_page()
500 if (!iommu_size) { in check_iommu_size()
501 iommu_size = aper_size; in check_iommu_size()
503 iommu_size /= 2; in check_iommu_size()
506 a = aper + iommu_size; in check_iommu_size()
507 iommu_size -= round_up(a, PMD_PAGE_SIZE) - a; in check_iommu_size()
509 if (iommu_size < 64*1024*1024) { in check_iommu_size()
512 iommu_size >> 20); in check_iommu_size()
515 return iommu_size; in check_iommu_size()
750 iommu_size = check_iommu_size(info.aper_base, aper_size); in gart_iommu_init()
751 iommu_pages = iommu_size >> PAGE_SHIFT; in gart_iommu_init()
759 iommu_size >> 20); in gart_iommu_init()
761 agp_memory_reserved = iommu_size; in gart_iommu_init()
762 iommu_start = aper_size - iommu_size; in gart_iommu_init()
776 iommu_size >> PAGE_SHIFT); in gart_iommu_init()
819 iommu_size = arg; in gart_parse_options()