Searched refs:IOMMU_CACHE (Results 1 – 20 of 20) sorted by relevance
93 IOMMU_NOEXEC | IOMMU_CACHE, in arm_lpae_run_tests()140 IOMMU_NOEXEC | IOMMU_CACHE, in arm_lpae_run_tests()
254 prot |= IOMMU_CACHE; in of_iommu_get_resv_regions()
509 } else if (prot & IOMMU_CACHE) { in arm_lpae_prot_to_pte()521 else if (prot & IOMMU_CACHE) in arm_lpae_prot_to_pte()532 if (prot & IOMMU_CACHE && data->iop.fmt != ARM_MALI_LPAE) in arm_lpae_prot_to_pte()
355 else if (prot & IOMMU_CACHE) in arm_v7s_prot_to_pte()857 IOMMU_NOEXEC | IOMMU_CACHE, in arm_v7s_do_selftests()
219 if (!(prot & IOMMU_CACHE)) in dart_prot_to_pte()
732 prot = coherent ? IOMMU_CACHE : 0; in dma_info_to_prot()977 if (!(ioprot & IOMMU_CACHE)) { in __iommu_dma_alloc_noncontiguous()
34 pub const CACHE: u32 = bindings::IOMMU_CACHE;
468 int prot = IOMMU_READ | IOMMU_WRITE | IOMMU_CACHE; in panfrost_mmu_map()690 IOMMU_WRITE | IOMMU_READ | IOMMU_CACHE | IOMMU_NOEXEC, sgt); in panfrost_mmu_map_fault_addr()
165 int iommu_prot = IOMMU_CACHE; in iommufd_vfio_map_dma()
195 int iommu_prot = IOMMU_CACHE; in conv_iommu_prot()
521 iommu_prot &= ~IOMMU_CACHE; in batch_to_domain()
251 int flags = IOMMU_READ | IOMMU_CACHE; in usnic_uiom_map_sorted_intervals()
546 prot |= IOMMU_CACHE; in uaudio_iommu_map_prot()609 prot |= IOMMU_CACHE; in uaudio_iommu_map_xfer_buf()
552 for (prot = 0; prot <= (IOMMU_READ | IOMMU_WRITE | IOMMU_CACHE | in test_lvl_attr_from_entry()
21 #define IOMMU_CACHE (1 << 2) /* DMA cache coherency */ macro
468 prot |= IOMMU_CACHE; in msm_gem_prot()
1562 npage << PAGE_SHIFT, prot | IOMMU_CACHE, in vfio_iommu_map()1879 dma->prot | IOMMU_CACHE, in vfio_iommu_replay()
1041 prot |= IOMMU_CACHE; in iort_get_rmrs()
989 return flags | IOMMU_CACHE; in perm_to_iommu_flags()
1004 prot |= IOMMU_CACHE; in flags_to_prot()