Home
last modified time | relevance | path

Searched refs:IOMMU_CACHE (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/iommu/
H A Dio-pgtable-arm.c433 else if (prot & IOMMU_CACHE) in arm_lpae_prot_to_pte()
441 else if ((prot & IOMMU_CACHE) && (prot & IOMMU_SYS_CACHE_NWA)) in arm_lpae_prot_to_pte()
445 else if (prot & IOMMU_CACHE) in arm_lpae_prot_to_pte()
462 if (prot & IOMMU_CACHE && data->iop.fmt != ARM_MALI_LPAE) in arm_lpae_prot_to_pte()
1237 IOMMU_CACHE, GFP_KERNEL)) in arm_lpae_run_tests()
H A Dio-pgtable-arm-v7s.c343 else if (prot & IOMMU_CACHE) in arm_v7s_prot_to_pte()
365 prot |= IOMMU_CACHE; in arm_v7s_pte_to_prot()
961 IOMMU_CACHE, GFP_KERNEL)) in arm_v7s_do_selftests()
H A Ddma-iommu.c452 int prot = coherent ? IOMMU_CACHE : 0; in dma_info_to_prot()
703 if (!(ioprot & IOMMU_CACHE)) { in iommu_dma_alloc_remap()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/usnic/
H A Dusnic_uiom.c136 flags = IOMMU_READ | IOMMU_CACHE; in usnic_uiom_get_pages()
257 int flags = IOMMU_READ | IOMMU_CACHE; in usnic_uiom_map_sorted_intervals()
/OK3568_Linux_fs/kernel/include/linux/
H A Diommu.h21 #define IOMMU_CACHE (1 << 2) /* DMA cache coherency */ macro
/OK3568_Linux_fs/kernel/drivers/vfio/
H A Dvfio_iommu_type1.c2235 domain->prot |= IOMMU_CACHE; in vfio_iommu_type1_attach_group()
2584 if (!(domain->prot & IOMMU_CACHE)) { in vfio_domains_have_iommu_cache()
/OK3568_Linux_fs/kernel/drivers/vhost/
H A Dvdpa.c563 return flags | IOMMU_CACHE; in perm_to_iommu_flags()
/OK3568_Linux_fs/kernel/drivers/iommu/intel/
H A Diommu.c5673 if ((iommu_prot & IOMMU_CACHE) && dmar_domain->iommu_snooping) in intel_iommu_map()