Searched refs:oldtce (Results 1 – 2 of 2) sorted by relevance
64 unsigned long oldtce, tce = be64_to_cpu(READ_ONCE(tmp[n])); in pnv_tce() local78 oldtce = be64_to_cpu(cmpxchg(&tmp[n], 0, in pnv_tce()80 if (oldtce) { in pnv_tce()83 tce = oldtce; in pnv_tce()124 unsigned long newtce = *hpa | proto_tce, oldtce; in pnv_tce_xchg() local147 oldtce = be64_to_cpu(xchg(ptce, cpu_to_be64(newtce))); in pnv_tce_xchg()148 *hpa = oldtce & ~(TCE_PCI_READ | TCE_PCI_WRITE); in pnv_tce_xchg()149 *direction = iommu_tce_direction(oldtce); in pnv_tce_xchg()
630 unsigned long flags, oldtce = 0; in tce_exchange_pseries() local636 rc = plpar_tce_get((u64)tbl->it_index, ioba, &oldtce); in tce_exchange_pseries()641 *direction = iommu_tce_direction(oldtce); in tce_exchange_pseries()642 *tce = oldtce & ~(TCE_PCI_READ | TCE_PCI_WRITE); in tce_exchange_pseries()