Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/platforms/pseries/
Diommu.c107 u64 proto_tce; in tce_build_pSeries() local
111 proto_tce = TCE_PCI_READ; // Read allowed in tce_build_pSeries()
114 proto_tce |= TCE_PCI_WRITE; in tce_build_pSeries()
121 *tcep = cpu_to_be64(proto_tce | (rpn & TCE_RPN_MASK) << TCE_RPN_SHIFT); in tce_build_pSeries()
158 u64 proto_tce, tce; in tce_build_pSeriesLP() local
164 proto_tce = TCE_PCI_READ; in tce_build_pSeriesLP()
166 proto_tce |= TCE_PCI_WRITE; in tce_build_pSeriesLP()
169 tce = proto_tce | (rpn & TCE_RPN_MASK) << tceshift; in tce_build_pSeriesLP()
201 u64 proto_tce; in tce_buildmulti_pSeriesLP() local
235 proto_tce = TCE_PCI_READ; in tce_buildmulti_pSeriesLP()
[all …]
/Linux-v5.10/arch/powerpc/platforms/powernv/
Dpci-ioda-tce.c128 u64 proto_tce = iommu_direction_to_tce_perm(direction); in pnv_tce_build() local
132 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()
151 u64 proto_tce = iommu_direction_to_tce_perm(*direction); in pnv_tce_xchg() local
152 unsigned long newtce = *hpa | proto_tce, oldtce; in pnv_tce_xchg()