Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/platforms/pseries/
Diommu.c94 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()
[all …]
/Linux-v5.4/arch/powerpc/platforms/powernv/
Dpci-ioda-tce.c100 u64 proto_tce = iommu_direction_to_tce_perm(direction); in pnv_tce_build() local
104 if (proto_tce & TCE_PCI_WRITE) in pnv_tce_build()
105 proto_tce |= TCE_PCI_READ; in pnv_tce_build()
108 unsigned long newtce = proto_tce | in pnv_tce_build()
123 u64 proto_tce = iommu_direction_to_tce_perm(*direction); in pnv_tce_xchg() local
124 unsigned long newtce = *hpa | proto_tce, oldtce; in pnv_tce_xchg()