Home
last modified time | relevance | path

Searched refs:tces (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/arch/powerpc/kvm/
Dbook3s_64_vio_hv.c487 unsigned long tces, entry, ua = 0; in kvmppc_rm_h_put_tce_indirect() local
535 IOMMU_PAGE_SHIFT_4K, &tces) == 0; in kvmppc_rm_h_put_tce_indirect()
549 if (kvmppc_rm_ua_to_hpa(vcpu, mmu_seq, ua, &tces)) { in kvmppc_rm_h_put_tce_indirect()
556 unsigned long tce = be64_to_cpu(((u64 *)tces)[i]); in kvmppc_rm_h_put_tce_indirect()
564 unsigned long tce = be64_to_cpu(((u64 *)tces)[i]); in kvmppc_rm_h_put_tce_indirect()
Dbook3s_64_vio.c618 u64 __user *tces; in kvmppc_h_put_tce_indirect() local
646 tces = (u64 __user *) ua; in kvmppc_h_put_tce_indirect()
649 if (get_user(tce, tces + i)) { in kvmppc_h_put_tce_indirect()
671 if (get_user(tce, tces + i)) { in kvmppc_h_put_tce_indirect()
/Linux-v5.10/arch/powerpc/platforms/powernv/
Dpci-ioda.c1293 __be64 *tces; in pnv_pci_ioda_dma_64bit_bypass() local
1312 tces = page_address(table_pages); in pnv_pci_ioda_dma_64bit_bypass()
1313 if (!tces) in pnv_pci_ioda_dma_64bit_bypass()
1316 memset(tces, 0, table_size); in pnv_pci_ioda_dma_64bit_bypass()
1319 tces[(addr + (1ULL << 32)) >> tce_order] = in pnv_pci_ioda_dma_64bit_bypass()
1328 __pa(tces), in pnv_pci_ioda_dma_64bit_bypass()