Searched refs:IOMMU_CACHE (Results 1 – 9 of 9) sorted by relevance
136 flags = IOMMU_READ | IOMMU_CACHE; in usnic_uiom_get_pages()257 int flags = IOMMU_READ | IOMMU_CACHE; in usnic_uiom_map_sorted_intervals()
440 else if (prot & IOMMU_CACHE) in arm_lpae_prot_to_pte()448 else if (prot & IOMMU_CACHE) in arm_lpae_prot_to_pte()459 if (prot & IOMMU_CACHE && data->iop.fmt != ARM_MALI_LPAE) in arm_lpae_prot_to_pte()1278 IOMMU_CACHE, GFP_KERNEL)) in arm_lpae_run_tests()
339 else if (prot & IOMMU_CACHE) in arm_v7s_prot_to_pte()361 prot |= IOMMU_CACHE; in arm_v7s_pte_to_prot()949 IOMMU_CACHE, GFP_KERNEL)) in arm_v7s_do_selftests()
416 int prot = coherent ? IOMMU_CACHE : 0; in dma_info_to_prot()709 if (!(ioprot & IOMMU_CACHE)) { in __iommu_dma_alloc_noncontiguous()
21 #define IOMMU_CACHE (1 << 2) /* DMA cache coherency */ macro
582 return flags | IOMMU_CACHE; in perm_to_iommu_flags()
421 prot |= IOMMU_CACHE; in msm_gem_pin_iova()
2381 domain->prot |= IOMMU_CACHE; in vfio_iommu_type1_attach_group()2731 if (!(domain->prot & IOMMU_CACHE)) { in vfio_domains_have_iommu_cache()
5026 if ((iommu_prot & IOMMU_CACHE) && dmar_domain->iommu_snooping) in intel_iommu_map()