Searched refs:SPRD_IOMMU_PAGE_SIZE (Results 1 – 1 of 1) sorted by relevance
22 #define SPRD_IOMMU_PAGE_SIZE SZ_4K macro289 size_t size = pgcount * SPRD_IOMMU_PAGE_SIZE; in sprd_iommu_map()313 pabase += SPRD_IOMMU_PAGE_SIZE; in sprd_iommu_map()328 size_t size = pgcount * SPRD_IOMMU_PAGE_SIZE; in sprd_iommu_unmap()380 pa = (pa << SPRD_IOMMU_PAGE_SHIFT) + ((iova - start) & (SPRD_IOMMU_PAGE_SIZE - 1)); in sprd_iommu_iova_to_phys()413 .pgsize_bitmap = SPRD_IOMMU_PAGE_SIZE,476 sdev->prot_page_va = dma_alloc_coherent(dev, SPRD_IOMMU_PAGE_SIZE, in sprd_iommu_probe()512 dma_free_coherent(sdev->dev, SPRD_IOMMU_PAGE_SIZE, sdev->prot_page_va, sdev->prot_page_pa); in sprd_iommu_probe()520 dma_free_coherent(sdev->dev, SPRD_IOMMU_PAGE_SIZE, sdev->prot_page_va, sdev->prot_page_pa); in sprd_iommu_remove()