Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/iommu/ !
Dsprd-iommu.c20 #define SPRD_IOMMU_PAGE_SHIFT 12 macro
132 SPRD_IOMMU_PAGE_SHIFT) * sizeof(u32); in sprd_iommu_pgt_size()
172 val = dom->domain.geometry.aperture_start >> SPRD_IOMMU_PAGE_SHIFT; in sprd_iommu_first_vpn()
188 dom->domain.geometry.aperture_start) >> SPRD_IOMMU_PAGE_SHIFT; in sprd_iommu_vpn_range()
194 u32 val = dom->pgt_pa >> SPRD_IOMMU_PAGE_SHIFT; in sprd_iommu_first_ppn()
208 u32 val = sdev->prot_page_pa >> SPRD_IOMMU_PAGE_SHIFT; in sprd_iommu_default_ppn()
279 unsigned int page_num = size >> SPRD_IOMMU_PAGE_SHIFT; in sprd_iommu_map()
298 pgt_base_iova = dom->pgt_va + ((iova - start) >> SPRD_IOMMU_PAGE_SHIFT); in sprd_iommu_map()
302 pgt_base_iova[i] = pabase >> SPRD_IOMMU_PAGE_SHIFT; in sprd_iommu_map()
316 unsigned int page_num = size >> SPRD_IOMMU_PAGE_SHIFT; in sprd_iommu_unmap()
[all …]