Home
last modified time | relevance | path

Searched refs:proto_tce (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/arch/powerpc/platforms/pseries/
Diommu.c128 u64 proto_tce; in tce_build_pSeries() local
132 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 & TCE_RPN_MASK) << TCE_RPN_SHIFT); in tce_build_pSeries()
179 u64 proto_tce, tce; in tce_build_pSeriesLP() local
185 proto_tce = TCE_PCI_READ; in tce_build_pSeriesLP()
187 proto_tce |= TCE_PCI_WRITE; in tce_build_pSeriesLP()
190 tce = proto_tce | (rpn & TCE_RPN_MASK) << TCE_RPN_SHIFT; in tce_build_pSeriesLP()
222 u64 proto_tce; in tce_buildmulti_pSeriesLP() local
254 proto_tce = TCE_PCI_READ; in tce_buildmulti_pSeriesLP()
[all …]
/Linux-v4.19/arch/powerpc/platforms/powernv/
Dpci-ioda-tce.c91 u64 proto_tce = iommu_direction_to_tce_perm(direction); in pnv_tce_build() local
95 if (proto_tce & TCE_PCI_WRITE) in pnv_tce_build()
96 proto_tce |= TCE_PCI_READ; in pnv_tce_build()
99 unsigned long newtce = proto_tce | in pnv_tce_build()
114 u64 proto_tce = iommu_direction_to_tce_perm(*direction); in pnv_tce_xchg() local
115 unsigned long newtce = *hpa | proto_tce, oldtce; in pnv_tce_xchg()