Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/iommu/
Dsun50i-iommu.c546 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()
[all …]
Drockchip-iommu.c681 phys_addr_t pt_phys, phys = 0; in rk_iommu_iova_to_phys() local
691 pt_phys = rk_ops->pt_address(dte); in rk_iommu_iova_to_phys()
692 page_table = (u32 *)phys_to_virt(pt_phys); in rk_iommu_iova_to_phys()
747 phys_addr_t pt_phys; in rk_dte_get_page_table() local
775 pt_phys = rk_ops->pt_address(dte); in rk_dte_get_page_table()
776 return (u32 *)phys_to_virt(pt_phys); in rk_dte_get_page_table()
890 phys_addr_t pt_phys; in rk_iommu_unmap() local
911 pt_phys = rk_ops->pt_address(dte); in rk_iommu_unmap()
912 pte_addr = (u32 *)phys_to_virt(pt_phys) + rk_iova_pte_index(iova); in rk_iommu_unmap()
913 pte_dma = pt_phys + rk_iova_pte_index(iova) * sizeof(u32); in rk_iommu_unmap()
[all …]
/linux-6.1.9/arch/x86/include/uapi/asm/
Dkvm_para.h131 __u64 pt_phys; member
/linux-6.1.9/arch/x86/xen/
Dmmu_pv.c1883 phys_addr_t size, new_area, pt_phys, pmd_phys, pud_phys; in xen_relocate_p2m() local
1915 pt_phys = pmd_phys + PFN_PHYS(n_pmd); in xen_relocate_p2m()
1916 p2m_pfn = PFN_DOWN(pt_phys) + n_pt; in xen_relocate_p2m()
1929 pt = early_memremap(pt_phys, PAGE_SIZE); in xen_relocate_p2m()
1940 make_lowmem_page_readonly(__va(pt_phys)); in xen_relocate_p2m()
1942 PFN_DOWN(pt_phys)); in xen_relocate_p2m()
1943 pmd[idx_pt] = __pmd(_PAGE_TABLE | pt_phys); in xen_relocate_p2m()
1944 pt_phys += PAGE_SIZE; in xen_relocate_p2m()