Searched refs:TCE_PCI_WRITE (Results 1 – 7 of 7) sorted by relevance
74 TCE_PCI_READ | TCE_PCI_WRITE); in pnv_tce()78 tmp = __va(tce & ~(TCE_PCI_READ | TCE_PCI_WRITE)); in pnv_tce()95 if (proto_tce & TCE_PCI_WRITE) in pnv_tce_build()135 if (newtce & TCE_PCI_WRITE) in pnv_tce_xchg()139 *hpa = oldtce & ~(TCE_PCI_READ | TCE_PCI_WRITE); in pnv_tce_xchg()181 ~(TCE_PCI_READ | TCE_PCI_WRITE); in pnv_pci_ioda2_table_do_free_pages()190 if (!(hpa & (TCE_PCI_READ | TCE_PCI_WRITE))) in pnv_pci_ioda2_table_do_free_pages()242 TCE_PCI_READ | TCE_PCI_WRITE); in pnv_pci_ioda2_table_do_alloc_pages()
1823 cpu_to_be64(addr | TCE_PCI_READ | TCE_PCI_WRITE); in pnv_pci_ioda_dma_64bit_bypass()
103 unsigned long gpa = tce & ~(TCE_PCI_READ | TCE_PCI_WRITE); in kvmppc_tce_validate()178 (gpa & ~(PAGE_MASK | TCE_PCI_READ | TCE_PCI_WRITE)); in kvmppc_gpa_to_ua()377 tce & ~(TCE_PCI_READ | TCE_PCI_WRITE), &ua, NULL)) in kvmppc_rm_h_put_tce()530 tce & ~(TCE_PCI_READ | TCE_PCI_WRITE), in kvmppc_rm_h_put_tce_indirect()580 if (tce_value & (TCE_PCI_WRITE | TCE_PCI_READ)) in kvmppc_rm_h_stuff_tce()
521 tce & ~(TCE_PCI_READ | TCE_PCI_WRITE), &ua, NULL)) { in kvmppc_h_put_tce()604 tce & ~(TCE_PCI_READ | TCE_PCI_WRITE), in kvmppc_h_put_tce_indirect()650 if (tce_value & (TCE_PCI_WRITE | TCE_PCI_READ)) in kvmppc_h_stuff_tce()
46 #define TCE_PCI_WRITE 0x2 /* write from PCI allowed */ macro
135 proto_tce |= TCE_PCI_WRITE; in tce_build_pSeries()187 proto_tce |= TCE_PCI_WRITE; in tce_build_pSeriesLP()256 proto_tce |= TCE_PCI_WRITE; in tce_buildmulti_pSeriesLP()450 proto_tce = TCE_PCI_READ | TCE_PCI_WRITE; in tce_setrange_multi_pSeriesLP()676 *tce = oldtce & ~(TCE_PCI_READ | TCE_PCI_WRITE); in tce_exchange_pseries()
897 return TCE_PCI_READ | TCE_PCI_WRITE; in iommu_direction_to_tce_perm()899 return TCE_PCI_WRITE; in iommu_direction_to_tce_perm()943 if ((tce & TCE_PCI_READ) && (tce & TCE_PCI_WRITE)) in iommu_tce_direction()947 else if (tce & TCE_PCI_WRITE) in iommu_tce_direction()