Home
last modified time | relevance | path

Searched refs:pt_phys (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/iommu/
H A Dsun50i-iommu.c477 phys_addr_t pt_phys = virt_to_phys(page_table); in sun50i_iommu_free_page_table() local
479 dma_unmap_single(iommu->dev, pt_phys, PT_SIZE, DMA_TO_DEVICE); in sun50i_iommu_free_page_table()
495 phys_addr_t pt_phys = sun50i_dte_get_pt_address(dte); in sun50i_dte_get_page_table() local
496 return (u32 *)phys_to_virt(pt_phys); in sun50i_dte_get_page_table()
559 phys_addr_t pt_phys; in sun50i_iommu_unmap() local
567 pt_phys = sun50i_dte_get_pt_address(dte); in sun50i_iommu_unmap()
568 pte_addr = (u32 *)phys_to_virt(pt_phys) + sun50i_iova_get_pte_index(iova); in sun50i_iommu_unmap()
583 phys_addr_t pt_phys; in sun50i_iommu_iova_to_phys() local
591 pt_phys = sun50i_dte_get_pt_address(dte); in sun50i_iommu_iova_to_phys()
592 page_table = (u32 *)phys_to_virt(pt_phys); in sun50i_iommu_iova_to_phys()
674 phys_addr_t pt_phys; sun50i_iommu_detach_domain() local
[all...]
H A Drockchip-iommu.c594 phys_addr_t pt_phys, phys = 0; in rk_iommu_iova_to_phys() local
604 pt_phys = rk_dte_pt_address(dte); in rk_iommu_iova_to_phys()
605 page_table = (u32 *)phys_to_virt(pt_phys); in rk_iommu_iova_to_phys()
660 phys_addr_t pt_phys; in rk_dte_get_page_table() local
689 pt_phys = rk_dte_pt_address(dte); in rk_dte_get_page_table()
690 return (u32 *)phys_to_virt(pt_phys); in rk_dte_get_page_table()
803 phys_addr_t pt_phys; in rk_iommu_unmap() local
824 pt_phys = rk_dte_pt_address(dte); in rk_iommu_unmap()
825 pte_addr = (u32 *)phys_to_virt(pt_phys) + rk_iova_pte_index(iova); in rk_iommu_unmap()
826 pte_dma = pt_phys in rk_iommu_unmap()
1040 phys_addr_t pt_phys = rk_dte_pt_address(dte); rk_iommu_domain_free() local
[all...]
/kernel/linux/linux-6.6/drivers/iommu/
H A 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()
733 phys_addr_t pt_phys; sun50i_iommu_detach_domain() local
[all...]
H A Drockchip-iommu.c654 phys_addr_t pt_phys, phys = 0; in rk_iommu_iova_to_phys() local
664 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() local
748 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() local
884 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 in rk_iommu_unmap()
1119 phys_addr_t pt_phys = rk_ops->pt_address(dte); rk_iommu_domain_free() local
[all...]
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/
H A Dkvm_para.h117 __u64 pt_phys; member
/kernel/linux/linux-6.6/arch/x86/include/uapi/asm/
H A Dkvm_para.h131 __u64 pt_phys; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-x86/asm/
H A Dkvm_para.h96 __u64 pt_phys; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/
H A Dkvm_para.h96 __u64 pt_phys; member
/kernel/linux/linux-5.10/arch/x86/xen/
H A Dmmu_pv.c1858 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()
/kernel/linux/linux-6.6/arch/x86/xen/
H A Dmmu_pv.c1892 phys_addr_t size, new_area, pt_phys, pmd_phys, pud_phys; in xen_relocate_p2m() local
1924 pt_phys = pmd_phys + PFN_PHYS(n_pmd); in xen_relocate_p2m()
1925 p2m_pfn = PFN_DOWN(pt_phys) + n_pt; in xen_relocate_p2m()
1938 pt = early_memremap(pt_phys, PAGE_SIZE); in xen_relocate_p2m()
1949 make_lowmem_page_readonly(__va(pt_phys)); in xen_relocate_p2m()
1951 PFN_DOWN(pt_phys)); in xen_relocate_p2m()
1952 pmd[idx_pt] = __pmd(_PAGE_TABLE | pt_phys); in xen_relocate_p2m()
1953 pt_phys += PAGE_SIZE; in xen_relocate_p2m()

Completed in 16 milliseconds