Searched refs:pgt_base_iova (Results 1 – 2 of 2) sorted by relevance
296 u32 *pgt_base_iova; in sprd_iommu_map() local312 pgt_base_iova = dom->pgt_va + ((iova - start) >> SPRD_IOMMU_PAGE_SHIFT); in sprd_iommu_map()316 pgt_base_iova[i] = pabase >> SPRD_IOMMU_PAGE_SHIFT; in sprd_iommu_map()331 u32 *pgt_base_iova; in sprd_iommu_unmap() local339 pgt_base_iova = dom->pgt_va + ((iova - start) >> SPRD_IOMMU_PAGE_SHIFT); in sprd_iommu_unmap()342 memset(pgt_base_iova, 0, pgcount * sizeof(u32)); in sprd_iommu_unmap()
336 u32 *pgt_base_iova = dom->pgt_va + (iova >> MT2701_IOMMU_PAGE_SHIFT); in mtk_iommu_v1_map() local341 if (pgt_base_iova[i]) in mtk_iommu_v1_map()343 pgt_base_iova[i] = pabase | F_DESC_VALID | F_DESC_NONSEC; in mtk_iommu_v1_map()361 u32 *pgt_base_iova = dom->pgt_va + (iova >> MT2701_IOMMU_PAGE_SHIFT); in mtk_iommu_v1_unmap() local365 memset(pgt_base_iova, 0, pgcount * sizeof(u32)); in mtk_iommu_v1_unmap()