Home
last modified time | relevance | path

Searched refs:TCE_PCI_READ (Results 1 – 7 of 7) sorted by relevance

/arch/powerpc/include/asm/
Dtce.h47 #define TCE_PCI_READ 0x1 /* read from PCI allowed */ macro
/arch/powerpc/kvm/
Dbook3s_64_vio_hv.c101 unsigned long mask = ~(page_mask | TCE_PCI_WRITE | TCE_PCI_READ); in kvmppc_tce_validate()
171 (gpa & ~(PAGE_MASK | TCE_PCI_READ | TCE_PCI_WRITE)); in kvmppc_gpa_to_ua()
314 if (tce_value & (TCE_PCI_WRITE | TCE_PCI_READ)) in kvmppc_rm_h_stuff_tce()
Dbook3s_64_vio.c322 if (tce_value & (TCE_PCI_WRITE | TCE_PCI_READ)) in kvmppc_h_stuff_tce()
/arch/powerpc/platforms/powernv/
Dpci.c696 tmp = __va(tce & ~(TCE_PCI_READ | TCE_PCI_WRITE)); in pnv_tce()
714 proto_tce |= TCE_PCI_READ; in pnv_tce_build()
738 newtce |= TCE_PCI_READ; in pnv_tce_xchg()
741 *hpa = oldtce & ~(TCE_PCI_READ | TCE_PCI_WRITE); in pnv_tce_xchg()
Dpci-ioda.c2592 TCE_PCI_READ | TCE_PCI_WRITE); in pnv_pci_ioda2_table_do_alloc_pages()
2665 ~(TCE_PCI_READ | TCE_PCI_WRITE); in pnv_pci_ioda2_table_do_free_pages()
2674 if (!(hpa & (TCE_PCI_READ | TCE_PCI_WRITE))) in pnv_pci_ioda2_table_do_free_pages()
/arch/powerpc/kernel/
Diommu.c877 return TCE_PCI_READ | TCE_PCI_WRITE; in iommu_direction_to_tce_perm()
881 return TCE_PCI_READ; in iommu_direction_to_tce_perm()
923 if ((tce & TCE_PCI_READ) && (tce & TCE_PCI_WRITE)) in iommu_tce_direction()
925 else if (tce & TCE_PCI_READ) in iommu_tce_direction()
/arch/powerpc/platforms/pseries/
Diommu.c132 proto_tce = TCE_PCI_READ; // Read allowed in tce_build_pSeries()
185 proto_tce = TCE_PCI_READ; in tce_build_pSeriesLP()
254 proto_tce = TCE_PCI_READ; in tce_buildmulti_pSeriesLP()
450 proto_tce = TCE_PCI_READ | TCE_PCI_WRITE; in tce_setrange_multi_pSeriesLP()