Searched refs:proto_tce (Results 1 – 2 of 2) sorted by relevance
128 u64 proto_tce = iommu_direction_to_tce_perm(direction); in pnv_tce_build() local132 if (proto_tce & TCE_PCI_WRITE) in pnv_tce_build()133 proto_tce |= TCE_PCI_READ; in pnv_tce_build()136 unsigned long newtce = proto_tce | in pnv_tce_build()150 u64 proto_tce = iommu_direction_to_tce_perm(*direction); in pnv_tce_xchg() local151 unsigned long newtce = *hpa | proto_tce, oldtce; in pnv_tce_xchg()
126 u64 proto_tce; in tce_build_pSeries() local132 proto_tce = TCE_PCI_READ; // Read allowed in tce_build_pSeries()135 proto_tce |= TCE_PCI_WRITE; in tce_build_pSeries()142 *tcep = cpu_to_be64(proto_tce | rpn << tceshift); in tce_build_pSeries()212 u64 proto_tce, tce; in tce_build_pSeriesLP() local218 proto_tce = TCE_PCI_READ; in tce_build_pSeriesLP()220 proto_tce |= TCE_PCI_WRITE; in tce_build_pSeriesLP()223 tce = proto_tce | rpn << tceshift; in tce_build_pSeriesLP()255 u64 proto_tce; in tce_buildmulti_pSeriesLP() local290 proto_tce = TCE_PCI_READ; in tce_buildmulti_pSeriesLP()[all …]