Home
last modified time | relevance | path

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

/arch/powerpc/include/asm/
Dtce.h50 #define TCE_PCI_READ 0x1 /* read from PCI allowed */ macro
/arch/powerpc/platforms/powernv/
Dpci.c587 tmp = __va(tce & ~(TCE_PCI_READ | TCE_PCI_WRITE)); in pnv_tce()
605 proto_tce |= TCE_PCI_READ; in pnv_tce_build()
629 newtce |= TCE_PCI_READ; 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()
879 return TCE_PCI_READ; in iommu_direction_to_tce_perm()
921 if ((tce & TCE_PCI_READ) && (tce & TCE_PCI_WRITE)) in iommu_tce_direction()
923 else if (tce & TCE_PCI_READ) in iommu_tce_direction()
/arch/powerpc/platforms/pseries/
Diommu.c161 proto_tce = TCE_PCI_READ; // Read allowed in tce_build_pSeries()
220 proto_tce = TCE_PCI_READ; in tce_build_pSeriesLP()
291 proto_tce = TCE_PCI_READ; in tce_buildmulti_pSeriesLP()
500 proto_tce = TCE_PCI_READ | TCE_PCI_WRITE; in tce_setrange_multi_pSeriesLP()