Searched refs:pt_phys (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/iommu/ |
| H A D | sun50i-iommu.c | 476 phys_addr_t pt_phys = virt_to_phys(page_table); in sun50i_iommu_free_page_table() local 478 dma_unmap_single(iommu->dev, pt_phys, PT_SIZE, DMA_TO_DEVICE); in sun50i_iommu_free_page_table() 494 phys_addr_t pt_phys = sun50i_dte_get_pt_address(dte); in sun50i_dte_get_page_table() local 495 return (u32 *)phys_to_virt(pt_phys); in sun50i_dte_get_page_table() 558 phys_addr_t pt_phys; in sun50i_iommu_unmap() local 566 pt_phys = sun50i_dte_get_pt_address(dte); in sun50i_iommu_unmap() 567 pte_addr = (u32 *)phys_to_virt(pt_phys) + sun50i_iova_get_pte_index(iova); in sun50i_iommu_unmap() 582 phys_addr_t pt_phys; in sun50i_iommu_iova_to_phys() local 590 pt_phys = sun50i_dte_get_pt_address(dte); in sun50i_iommu_iova_to_phys() 591 page_table = (u32 *)phys_to_virt(pt_phys); in sun50i_iommu_iova_to_phys() [all …]
|
| H A D | rockchip-iommu.c | 805 phys_addr_t pt_phys, phys = 0; in rk_iommu_iova_to_phys() local 815 pt_phys = rk_ops->pt_address(dte); in rk_iommu_iova_to_phys() 816 page_table = (u32 *)phys_to_virt(pt_phys); in rk_iommu_iova_to_phys() 875 phys_addr_t pt_phys; in rk_dte_get_page_table() local 903 pt_phys = rk_ops->pt_address(dte); in rk_dte_get_page_table() 904 return (u32 *)phys_to_virt(pt_phys); in rk_dte_get_page_table() 1043 phys_addr_t pt_phys; in rk_iommu_unmap() local 1065 pt_phys = rk_ops->pt_address(dte); in rk_iommu_unmap() 1066 pte_addr = (u32 *)phys_to_virt(pt_phys) + rk_iova_pte_index(iova); in rk_iommu_unmap() 1067 pte_dma = pt_phys + rk_iova_pte_index(iova) * sizeof(u32); in rk_iommu_unmap() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/mpp/ |
| H A D | mpp_iommu_av1d.c | 443 phys_addr_t pt_phys, phys = 0; in av1_iommu_iova_to_phys() local 453 pt_phys = av1_dte_pt_address(dte); in av1_iommu_iova_to_phys() 454 page_table = (u32 *)phys_to_virt(pt_phys); in av1_iommu_iova_to_phys() 470 phys_addr_t pt_phys; in av1_dte_get_page_table() local 499 pt_phys = av1_dte_pt_address(dte); in av1_dte_get_page_table() 500 return (u32 *)phys_to_virt(pt_phys); in av1_dte_get_page_table() 569 phys_addr_t pt_phys; in av1_iommu_unmap() local 583 pt_phys = av1_dte_pt_address(dte); in av1_iommu_unmap() 584 pte_addr = (u32 *)phys_to_virt(pt_phys) + av1_iova_pte_index(iova); in av1_iommu_unmap() 585 pte_dma = pt_phys + av1_iova_pte_index(iova) * sizeof(u32); in av1_iommu_unmap() [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/include/uapi/asm/ |
| H A D | kvm_para.h | 117 __u64 pt_phys; member
|
| /OK3568_Linux_fs/kernel/arch/x86/xen/ |
| H A D | mmu_pv.c | 1858 phys_addr_t size, new_area, pt_phys, pmd_phys, pud_phys; in xen_relocate_p2m() local 1890 pt_phys = pmd_phys + PFN_PHYS(n_pmd); in xen_relocate_p2m() 1891 p2m_pfn = PFN_DOWN(pt_phys) + n_pt; in xen_relocate_p2m() 1904 pt = early_memremap(pt_phys, PAGE_SIZE); in xen_relocate_p2m() 1915 make_lowmem_page_readonly(__va(pt_phys)); in xen_relocate_p2m() 1917 PFN_DOWN(pt_phys)); in xen_relocate_p2m() 1918 pmd[idx_pt] = __pmd(_PAGE_TABLE | pt_phys); in xen_relocate_p2m() 1919 pt_phys += PAGE_SIZE; in xen_relocate_p2m()
|