Home
last modified time | relevance | path

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

/Linux-v5.15/arch/powerpc/kvm/
Dbook3s_64_vio_hv.c486 unsigned long tces, entry, ua = 0; in kvmppc_rm_h_put_tce_indirect() local
530 IOMMU_PAGE_SHIFT_4K, &tces) == 0; in kvmppc_rm_h_put_tce_indirect()
544 if (kvmppc_rm_ua_to_hpa(vcpu, mmu_seq, ua, &tces)) { in kvmppc_rm_h_put_tce_indirect()
551 unsigned long tce = be64_to_cpu(((u64 *)tces)[i]); in kvmppc_rm_h_put_tce_indirect()
559 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.15/arch/powerpc/platforms/powernv/
Dpci-ioda.c1183 __be64 *tces; in pnv_pci_ioda_dma_64bit_bypass() local
1202 tces = page_address(table_pages); in pnv_pci_ioda_dma_64bit_bypass()
1203 if (!tces) in pnv_pci_ioda_dma_64bit_bypass()
1206 memset(tces, 0, table_size); in pnv_pci_ioda_dma_64bit_bypass()
1209 tces[(addr + (1ULL << 32)) >> tce_order] = in pnv_pci_ioda_dma_64bit_bypass()
1218 __pa(tces), in pnv_pci_ioda_dma_64bit_bypass()