Lines Matching refs:proto_tce
110 u64 proto_tce; in tce_build_pSeries() local
116 proto_tce = TCE_PCI_READ; // Read allowed in tce_build_pSeries()
119 proto_tce |= TCE_PCI_WRITE; in tce_build_pSeries()
126 *tcep = cpu_to_be64(proto_tce | rpn << tceshift); in tce_build_pSeries()
163 u64 proto_tce, tce; in tce_build_pSeriesLP() local
169 proto_tce = TCE_PCI_READ; in tce_build_pSeriesLP()
171 proto_tce |= TCE_PCI_WRITE; in tce_build_pSeriesLP()
174 tce = proto_tce | rpn << tceshift; in tce_build_pSeriesLP()
206 u64 proto_tce; in tce_buildmulti_pSeriesLP() local
241 proto_tce = TCE_PCI_READ; in tce_buildmulti_pSeriesLP()
243 proto_tce |= TCE_PCI_WRITE; in tce_buildmulti_pSeriesLP()
254 tcep[l] = cpu_to_be64(proto_tce | rpn << tceshift); in tce_buildmulti_pSeriesLP()
424 u64 tce_size, num_tce, dma_offset, next, proto_tce, liobn; in tce_setrange_multi_pSeriesLP() local
455 proto_tce = TCE_PCI_READ | TCE_PCI_WRITE; in tce_setrange_multi_pSeriesLP()
481 tcep[l] = cpu_to_be64(proto_tce | next); in tce_setrange_multi_pSeriesLP()
674 u64 proto_tce = iommu_direction_to_tce_perm(*direction); in tce_exchange_pseries() local
675 unsigned long newtce = *tce | proto_tce; in tce_exchange_pseries()