Lines Matching refs:pt_phys
546 phys_addr_t pt_phys = virt_to_phys(page_table); in sun50i_iommu_free_page_table() local
548 dma_unmap_single(iommu->dev, pt_phys, PT_SIZE, DMA_TO_DEVICE); in sun50i_iommu_free_page_table()
564 phys_addr_t pt_phys = sun50i_dte_get_pt_address(dte); in sun50i_dte_get_page_table() local
565 return (u32 *)phys_to_virt(pt_phys); in sun50i_dte_get_page_table()
628 phys_addr_t pt_phys; in sun50i_iommu_unmap() local
636 pt_phys = sun50i_dte_get_pt_address(dte); in sun50i_iommu_unmap()
637 pte_addr = (u32 *)phys_to_virt(pt_phys) + sun50i_iova_get_pte_index(iova); in sun50i_iommu_unmap()
652 phys_addr_t pt_phys; in sun50i_iommu_iova_to_phys() local
660 pt_phys = sun50i_dte_get_pt_address(dte); in sun50i_iommu_iova_to_phys()
661 page_table = (u32 *)phys_to_virt(pt_phys); in sun50i_iommu_iova_to_phys()
733 phys_addr_t pt_phys; in sun50i_iommu_detach_domain() local
746 pt_phys = sun50i_dte_get_pt_address(dte); in sun50i_iommu_detach_domain()
747 page_table = phys_to_virt(pt_phys); in sun50i_iommu_detach_domain()