Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/platforms/powernv/
Dpci-ioda-tce.c108 unsigned long newtce = proto_tce | in pnv_tce_build() local
112 *(pnv_tce(tbl, false, idx, true)) = cpu_to_be64(newtce); in pnv_tce_build()
124 unsigned long newtce = *hpa | proto_tce, oldtce; in pnv_tce_xchg() local
144 if (newtce & TCE_PCI_WRITE) in pnv_tce_xchg()
145 newtce |= TCE_PCI_READ; in pnv_tce_xchg()
147 oldtce = be64_to_cpu(xchg(ptce, cpu_to_be64(newtce))); in pnv_tce_xchg()
/Linux-v5.4/arch/powerpc/platforms/pseries/
Diommu.c632 unsigned long newtce = *tce | proto_tce; in tce_exchange_pseries() local
638 rc = plpar_tce_put((u64)tbl->it_index, ioba, newtce); in tce_exchange_pseries()