Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dpci-ioda-tce.c136 unsigned long newtce = proto_tce | in pnv_tce_build() local
140 *(pnv_tce(tbl, false, idx, true)) = cpu_to_be64(newtce); in pnv_tce_build()
151 unsigned long newtce = *hpa | proto_tce, oldtce; in pnv_tce_xchg() local
171 if (newtce & TCE_PCI_WRITE) in pnv_tce_xchg()
172 newtce |= TCE_PCI_READ; in pnv_tce_xchg()
174 oldtce = be64_to_cpu(xchg(ptce, cpu_to_be64(newtce))); in pnv_tce_xchg()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Diommu.c671 unsigned long newtce = *tce | proto_tce; in tce_exchange_pseries() local
677 rc = plpar_tce_put((u64)tbl->it_index, ioba, newtce); in tce_exchange_pseries()