Searched refs:pgt_size (Results 1 – 1 of 1) sorted by relevance
229 size_t pgt_size; in sprd_iommu_cleanup() local235 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() local261 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() local286 dma_free_coherent(sdev->dev, pgt_size, dom->pgt_va, dom->pgt_pa); in sprd_iommu_detach_device()