Searched refs:iommu_page (Results 1 – 1 of 1) sorted by relevance
218 unsigned long iommu_page; in dma_map_area() local224 iommu_page = alloc_iommu(dev, npages, align_mask); in dma_map_area()225 if (iommu_page == -1) { in dma_map_area()235 iommu_gatt_base[iommu_page + i] = GPTE_ENCODE(phys_mem); in dma_map_area()238 return iommu_bus_base + iommu_page*PAGE_SIZE + (phys_mem & ~PAGE_MASK); in dma_map_area()269 unsigned long iommu_page; in gart_unmap_page() local277 iommu_page = (dma_addr - iommu_bus_base)>>PAGE_SHIFT; in gart_unmap_page()280 iommu_gatt_base[iommu_page + i] = gart_unmapped_entry; in gart_unmap_page()282 free_iommu(iommu_page, npages); in gart_unmap_page()339 unsigned long iommu_page = iommu_start; in __dma_map_cont() local[all …]