Lines Matching refs:proto_tce
94 u64 proto_tce; in tce_build_pSeries() local
98 proto_tce = TCE_PCI_READ; // Read allowed in tce_build_pSeries()
101 proto_tce |= TCE_PCI_WRITE; in tce_build_pSeries()
108 *tcep = cpu_to_be64(proto_tce | (rpn & TCE_RPN_MASK) << TCE_RPN_SHIFT); in tce_build_pSeries()
145 u64 proto_tce, tce; in tce_build_pSeriesLP() local
151 proto_tce = TCE_PCI_READ; in tce_build_pSeriesLP()
153 proto_tce |= TCE_PCI_WRITE; in tce_build_pSeriesLP()
156 tce = proto_tce | (rpn & TCE_RPN_MASK) << TCE_RPN_SHIFT; in tce_build_pSeriesLP()
188 u64 proto_tce; in tce_buildmulti_pSeriesLP() local
220 proto_tce = TCE_PCI_READ; in tce_buildmulti_pSeriesLP()
222 proto_tce |= TCE_PCI_WRITE; in tce_buildmulti_pSeriesLP()
233 tcep[l] = cpu_to_be64(proto_tce | (rpn & TCE_RPN_MASK) << TCE_RPN_SHIFT); in tce_buildmulti_pSeriesLP()
398 u64 tce_size, num_tce, dma_offset, next, proto_tce, liobn; in tce_setrange_multi_pSeriesLP() local
416 proto_tce = TCE_PCI_READ | TCE_PCI_WRITE; in tce_setrange_multi_pSeriesLP()
442 tcep[l] = cpu_to_be64(proto_tce | next); in tce_setrange_multi_pSeriesLP()
631 u64 proto_tce = iommu_direction_to_tce_perm(*direction); in tce_exchange_pseries() local
632 unsigned long newtce = *tce | proto_tce; in tce_exchange_pseries()