Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iommu/
H A Dsprd-iommu.c22 #define SPRD_IOMMU_PAGE_SIZE SZ_4K macro
293 size_t size = pgcount * SPRD_IOMMU_PAGE_SIZE; in sprd_iommu_map()
317 pabase += SPRD_IOMMU_PAGE_SIZE; in sprd_iommu_map()
332 size_t size = pgcount * SPRD_IOMMU_PAGE_SIZE; in sprd_iommu_unmap()
383 pa = (pa << SPRD_IOMMU_PAGE_SHIFT) + ((iova - start) & (SPRD_IOMMU_PAGE_SIZE - 1)); in sprd_iommu_iova_to_phys()
428 .pgsize_bitmap = SPRD_IOMMU_PAGE_SIZE,
491 sdev->prot_page_va = dma_alloc_coherent(dev, SPRD_IOMMU_PAGE_SIZE, in sprd_iommu_probe()
536 dma_free_coherent(sdev->dev, SPRD_IOMMU_PAGE_SIZE, sdev->prot_page_va, sdev->prot_page_pa); in sprd_iommu_probe()
544 dma_free_coherent(sdev->dev, SPRD_IOMMU_PAGE_SIZE, sdev->prot_page_va, sdev->prot_page_pa); in sprd_iommu_remove()