Home
last modified time | relevance | path

Searched refs:TCE_PCI_WRITE (Results 1 – 5 of 5) sorted by relevance

/arch/powerpc/include/asm/
Dtce.h49 #define TCE_PCI_WRITE 0x2 /* write from PCI allowed */ macro
/arch/powerpc/platforms/powernv/
Dpci.c587 tmp = __va(tce & ~(TCE_PCI_READ | TCE_PCI_WRITE)); in pnv_tce()
604 if (proto_tce & TCE_PCI_WRITE) in pnv_tce_build()
628 if (newtce & TCE_PCI_WRITE) in pnv_tce_xchg()
632 *hpa = be64_to_cpu(oldtce) & ~(TCE_PCI_READ | TCE_PCI_WRITE); in pnv_tce_xchg()
Dpci-ioda.c2239 TCE_PCI_READ | TCE_PCI_WRITE); in pnv_pci_ioda2_table_do_alloc_pages()
2312 ~(TCE_PCI_READ | TCE_PCI_WRITE); in pnv_pci_ioda2_table_do_free_pages()
2321 if (!(hpa & (TCE_PCI_READ | TCE_PCI_WRITE))) in pnv_pci_ioda2_table_do_free_pages()
/arch/powerpc/kernel/
Diommu.c875 return TCE_PCI_READ | TCE_PCI_WRITE; in iommu_direction_to_tce_perm()
877 return TCE_PCI_WRITE; in iommu_direction_to_tce_perm()
921 if ((tce & TCE_PCI_READ) && (tce & TCE_PCI_WRITE)) in iommu_tce_direction()
925 else if (tce & TCE_PCI_WRITE) in iommu_tce_direction()
/arch/powerpc/platforms/pseries/
Diommu.c164 proto_tce |= TCE_PCI_WRITE; in tce_build_pSeries()
222 proto_tce |= TCE_PCI_WRITE; in tce_build_pSeriesLP()
293 proto_tce |= TCE_PCI_WRITE; in tce_buildmulti_pSeriesLP()
500 proto_tce = TCE_PCI_READ | TCE_PCI_WRITE; in tce_setrange_multi_pSeriesLP()