Searched refs:DMA_PTE_WRITE (Results 1 – 2 of 2) sorted by relevance
840 pteval = ((uint64_t)virt_to_dma_pfn(tmp_page) << VTD_PAGE_SHIFT) | DMA_PTE_READ | DMA_PTE_WRITE; in pfn_to_dma_pte()1794 if ((prot & (DMA_PTE_READ|DMA_PTE_WRITE)) == 0) in __domain_mapping()1797 if (!(prot & DMA_PTE_WRITE) && domain->nested_parent) { in __domain_mapping()1802 attr = prot & (DMA_PTE_READ | DMA_PTE_WRITE | DMA_PTE_SNP); in __domain_mapping()1806 if (prot & DMA_PTE_WRITE) in __domain_mapping()3655 prot |= DMA_PTE_WRITE; in intel_iommu_map()3983 int prot = DMA_PTE_READ | DMA_PTE_WRITE; in intel_iommu_get_resv_regions()
44 #define DMA_PTE_WRITE BIT_ULL(1) macro