Home
last modified time | relevance | path

Searched refs:pua (Results 1 – 2 of 2) sorted by relevance

/linux/arch/powerpc/kvm/
H A Dbook3s_64_vio.c464 __be64 *pua = IOMMU_TABLE_USERSPACE_ENTRY_RO(tbl, entry); in kvmppc_tce_iommu_mapped_dec() local
466 if (!pua) in kvmppc_tce_iommu_mapped_dec()
469 mem = mm_iommu_lookup(kvm->mm, be64_to_cpu(*pua), pgsize); in kvmppc_tce_iommu_mapped_dec()
475 *pua = cpu_to_be64(0); in kvmppc_tce_iommu_mapped_dec()
526 __be64 *pua = IOMMU_TABLE_USERSPACE_ENTRY(tbl, entry); in kvmppc_tce_iommu_do_map() local
529 if (!pua) in kvmppc_tce_iommu_do_map()
553 *pua = cpu_to_be64(ua); in kvmppc_tce_iommu_do_map()
/linux/drivers/vfio/
H A Dvfio_iommu_spapr_tce.c415 __be64 *pua = IOMMU_TABLE_USERSPACE_ENTRY_RO(tbl, entry); in tce_iommu_unuse_page_v2() local
417 if (!pua) in tce_iommu_unuse_page_v2()
420 ret = tce_iommu_prereg_ua_to_hpa(container, be64_to_cpu(*pua), in tce_iommu_unuse_page_v2()
424 __func__, be64_to_cpu(*pua), entry, ret); in tce_iommu_unuse_page_v2()
428 *pua = cpu_to_be64(0); in tce_iommu_unuse_page_v2()
450 __be64 *pua = IOMMU_TABLE_USERSPACE_ENTRY_RO(tbl, in tce_iommu_clear() local
452 if (!pua) { in tce_iommu_clear()
558 __be64 *pua = IOMMU_TABLE_USERSPACE_ENTRY(tbl, entry + i); in tce_iommu_build_v2() local
593 *pua = cpu_to_be64(tce); in tce_iommu_build_v2()