Searched refs:pt_phys (Results 1 – 5 of 5) sorted by relevance
547 phys_addr_t pt_phys = virt_to_phys(page_table); in sun50i_iommu_free_page_table() local549 dma_unmap_single(iommu->dev, pt_phys, PT_SIZE, DMA_TO_DEVICE); in sun50i_iommu_free_page_table()565 phys_addr_t pt_phys = sun50i_dte_get_pt_address(dte); in sun50i_dte_get_page_table() local566 return (u32 *)phys_to_virt(pt_phys); in sun50i_dte_get_page_table()629 phys_addr_t pt_phys; in sun50i_iommu_unmap() local637 pt_phys = sun50i_dte_get_pt_address(dte); in sun50i_iommu_unmap()638 pte_addr = (u32 *)phys_to_virt(pt_phys) + sun50i_iova_get_pte_index(iova); in sun50i_iommu_unmap()653 phys_addr_t pt_phys; in sun50i_iommu_iova_to_phys() local661 pt_phys = sun50i_dte_get_pt_address(dte); in sun50i_iommu_iova_to_phys()662 page_table = (u32 *)phys_to_virt(pt_phys); in sun50i_iommu_iova_to_phys()[all …]
654 phys_addr_t pt_phys, phys = 0; in rk_iommu_iova_to_phys() local664 pt_phys = rk_ops->pt_address(dte); in rk_iommu_iova_to_phys()665 page_table = (u32 *)phys_to_virt(pt_phys); in rk_iommu_iova_to_phys()720 phys_addr_t pt_phys; in rk_dte_get_page_table() local748 pt_phys = rk_ops->pt_address(dte); in rk_dte_get_page_table()749 return (u32 *)phys_to_virt(pt_phys); in rk_dte_get_page_table()863 phys_addr_t pt_phys; in rk_iommu_unmap() local884 pt_phys = rk_ops->pt_address(dte); in rk_iommu_unmap()885 pte_addr = (u32 *)phys_to_virt(pt_phys) + rk_iova_pte_index(iova); in rk_iommu_unmap()886 pte_dma = pt_phys + rk_iova_pte_index(iova) * sizeof(u32); in rk_iommu_unmap()[all …]
131 __u64 pt_phys; member
131 uint64_t pt_phys; member
1944 phys_addr_t size, new_area, pt_phys, pmd_phys, pud_phys; in xen_relocate_p2m() local1976 pt_phys = pmd_phys + PFN_PHYS(n_pmd); in xen_relocate_p2m()1977 p2m_pfn = PFN_DOWN(pt_phys) + n_pt; in xen_relocate_p2m()1990 pt = early_memremap(pt_phys, PAGE_SIZE); in xen_relocate_p2m()2001 make_lowmem_page_readonly(__va(pt_phys)); in xen_relocate_p2m()2003 PFN_DOWN(pt_phys)); in xen_relocate_p2m()2004 pmd[idx_pt] = __pmd(_PAGE_TABLE | pt_phys); in xen_relocate_p2m()2005 pt_phys += PAGE_SIZE; in xen_relocate_p2m()