Searched refs:TCE_PCI_WRITE (Results 1 – 7 of 7) sorted by relevance
105 tce = __pa(tmp2) | TCE_PCI_READ | TCE_PCI_WRITE; in pnv_tce()115 tmp = __va(tce & ~(TCE_PCI_READ | TCE_PCI_WRITE)); in pnv_tce()132 if (proto_tce & TCE_PCI_WRITE) in pnv_tce_build()172 if (newtce & TCE_PCI_WRITE) in pnv_tce_xchg()176 *hpa = oldtce & ~(TCE_PCI_READ | TCE_PCI_WRITE); in pnv_tce_xchg()221 ~(TCE_PCI_READ | TCE_PCI_WRITE); in pnv_pci_ioda2_table_do_free_pages()230 if (!(hpa & (TCE_PCI_READ | TCE_PCI_WRITE))) in pnv_pci_ioda2_table_do_free_pages()282 TCE_PCI_READ | TCE_PCI_WRITE); in pnv_pci_ioda2_table_do_alloc_pages()
1320 cpu_to_be64(addr | TCE_PCI_READ | TCE_PCI_WRITE); in pnv_pci_ioda_dma_64bit_bypass()
33 #define TCE_PCI_WRITE 0x2 /* write from PCI allowed */ macro
88 (tce & ~(PAGE_MASK | TCE_PCI_READ | TCE_PCI_WRITE)); in kvmppc_rm_tce_to_ua()104 unsigned long gpa = tce & ~(TCE_PCI_READ | TCE_PCI_WRITE); in kvmppc_rm_tce_validate()618 if (tce_value & (TCE_PCI_WRITE | TCE_PCI_READ)) in kvmppc_rm_h_stuff_tce()
354 (tce & ~(PAGE_MASK | TCE_PCI_READ | TCE_PCI_WRITE)); in kvmppc_tce_to_ua()362 unsigned long gpa = tce & ~(TCE_PCI_READ | TCE_PCI_WRITE); in kvmppc_tce_validate()725 if (tce_value & (TCE_PCI_WRITE | TCE_PCI_READ)) in kvmppc_h_stuff_tce()
910 return TCE_PCI_READ | TCE_PCI_WRITE; in iommu_direction_to_tce_perm()912 return TCE_PCI_WRITE; in iommu_direction_to_tce_perm()956 if ((tce & TCE_PCI_READ) && (tce & TCE_PCI_WRITE)) in iommu_tce_direction()960 else if (tce & TCE_PCI_WRITE) in iommu_tce_direction()
114 proto_tce |= TCE_PCI_WRITE; in tce_build_pSeries()166 proto_tce |= TCE_PCI_WRITE; in tce_build_pSeriesLP()237 proto_tce |= TCE_PCI_WRITE; in tce_buildmulti_pSeriesLP()444 proto_tce = TCE_PCI_READ | TCE_PCI_WRITE; in tce_setrange_multi_pSeriesLP()670 *tce = oldtce & ~(TCE_PCI_READ | TCE_PCI_WRITE); in tce_exchange_pseries()