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

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

Completed in 79 milliseconds