Home
last modified time | relevance | path

Searched refs:TCE_PCI_READ (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dpci-ioda-tce.c105 tce = __pa(tmp2) | TCE_PCI_READ | TCE_PCI_WRITE; in pnv_tce()
115 tmp = __va(tce & ~(TCE_PCI_READ | TCE_PCI_WRITE)); in pnv_tce()
133 proto_tce |= TCE_PCI_READ; in pnv_tce_build()
172 newtce |= TCE_PCI_READ; in pnv_tce_xchg()
175 *hpa = oldtce & ~(TCE_PCI_READ | TCE_PCI_WRITE); in pnv_tce_xchg()
220 ~(TCE_PCI_READ | TCE_PCI_WRITE); in pnv_pci_ioda2_table_do_free_pages()
229 if (!(hpa & (TCE_PCI_READ | TCE_PCI_WRITE))) in pnv_pci_ioda2_table_do_free_pages()
281 TCE_PCI_READ | TCE_PCI_WRITE); in pnv_pci_ioda2_table_do_alloc_pages()
H A Dpci-ioda.c1098 cpu_to_be64(addr | TCE_PCI_READ | TCE_PCI_WRITE); in pnv_pci_ioda_dma_64bit_bypass()
/openbmc/linux/arch/powerpc/include/asm/
H A Dtce.h26 #define TCE_PCI_READ 0x1 /* read from PCI allowed */ macro
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_64_vio.c373 (tce & ~(PAGE_MASK | TCE_PCI_READ | TCE_PCI_WRITE)); in kvmppc_tce_to_ua()
381 unsigned long gpa = tce & ~(TCE_PCI_READ | TCE_PCI_WRITE); in kvmppc_tce_validate()
749 if (tce_value & (TCE_PCI_WRITE | TCE_PCI_READ)) in kvmppc_h_stuff_tce()
/openbmc/linux/arch/powerpc/kernel/
H A Diommu.c978 return TCE_PCI_READ | TCE_PCI_WRITE; in iommu_direction_to_tce_perm()
982 return TCE_PCI_READ; in iommu_direction_to_tce_perm()
1024 if ((tce & TCE_PCI_READ) && (tce & TCE_PCI_WRITE)) in iommu_tce_direction()
1026 else if (tce & TCE_PCI_READ) in iommu_tce_direction()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Diommu.c127 proto_tce = TCE_PCI_READ; // Read allowed in tce_build_pSeries()
180 proto_tce = TCE_PCI_READ; in tce_build_pSeriesLP()
252 proto_tce = TCE_PCI_READ; in tce_buildmulti_pSeriesLP()
474 proto_tce = TCE_PCI_READ | TCE_PCI_WRITE; in tce_setrange_multi_pSeriesLP()
681 *tce = oldtce & ~(TCE_PCI_READ | TCE_PCI_WRITE); in tce_exchange_pseries()