Home
last modified time | relevance | path

Searched refs:iommu_page (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/arch/x86/kernel/
Damd_gart_64.c201 unsigned long iommu_page; in dma_map_area() local
207 iommu_page = alloc_iommu(dev, npages, align_mask); in dma_map_area()
208 if (iommu_page == -1) { in dma_map_area()
218 iommu_gatt_base[iommu_page + i] = GPTE_ENCODE(phys_mem); in dma_map_area()
221 return iommu_bus_base + iommu_page*PAGE_SIZE + (phys_mem & ~PAGE_MASK); in dma_map_area()
249 unsigned long iommu_page; in gart_unmap_page() local
265 iommu_page = (dma_addr - iommu_bus_base)>>PAGE_SHIFT; in gart_unmap_page()
268 iommu_gatt_base[iommu_page + i] = gart_unmapped_entry; in gart_unmap_page()
270 free_iommu(iommu_page, npages); in gart_unmap_page()
327 unsigned long iommu_page = iommu_start; in __dma_map_cont() local
[all …]