Home
last modified time | relevance | path

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

/linux-6.12.1/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()
150 u64 proto_tce = iommu_direction_to_tce_perm(*direction); in pnv_tce_xchg() local
151 unsigned long newtce = *hpa | proto_tce, oldtce; in pnv_tce_xchg()
/linux-6.12.1/arch/powerpc/platforms/pseries/
Diommu.c126 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 << tceshift); in tce_build_pSeries()
212 u64 proto_tce, tce; in tce_build_pSeriesLP() local
218 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() local
290 proto_tce = TCE_PCI_READ; in tce_buildmulti_pSeriesLP()
[all …]