Home
last modified time | relevance | path

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

/drivers/iommu/
Dsprd-iommu.c229 size_t pgt_size; in sprd_iommu_cleanup() local
235 pgt_size = sprd_iommu_pgt_size(&dom->domain); in sprd_iommu_cleanup()
236 dma_free_coherent(dom->sdev->dev, pgt_size, dom->pgt_va, dom->pgt_pa); in sprd_iommu_cleanup()
254 size_t pgt_size = sprd_iommu_pgt_size(domain); in sprd_iommu_attach_device() local
261 dom->pgt_va = dma_alloc_coherent(sdev->dev, pgt_size, &dom->pgt_pa, GFP_KERNEL); in sprd_iommu_attach_device()
281 size_t pgt_size = sprd_iommu_pgt_size(domain); in sprd_iommu_detach_device() local
286 dma_free_coherent(sdev->dev, pgt_size, dom->pgt_va, dom->pgt_pa); in sprd_iommu_detach_device()