Home
last modified time | relevance | path

Searched refs:IOMMU_READ (Results 1 – 15 of 15) sorted by relevance

/linux-4.4.14/drivers/iommu/
Dio-pgtable-arm.c355 if (!(prot & IOMMU_WRITE) && (prot & IOMMU_READ)) in arm_lpae_prot_to_pte()
363 if (prot & IOMMU_READ) in arm_lpae_prot_to_pte()
388 if (!(iommu_prot & (IOMMU_READ | IOMMU_WRITE))) in arm_lpae_map()
973 if (ops->map(ops, iova, iova, size, IOMMU_READ | in arm_lpae_run_tests()
981 IOMMU_READ | IOMMU_NOEXEC)) in arm_lpae_run_tests()
998 if (ops->map(ops, SZ_1G + size, size, size, IOMMU_READ)) in arm_lpae_run_tests()
Ddma-iommu.c144 return prot | IOMMU_READ | IOMMU_WRITE; in dma_direction_to_prot()
146 return prot | IOMMU_READ; in dma_direction_to_prot()
Ds390-iommu.c275 if (!(prot & IOMMU_READ)) in s390_iommu_map()
Drockchip-iommu.c231 flags |= (prot & IOMMU_READ) ? RK_PTE_PAGE_READABLE : 0; in rk_mk_pte()
Dfsl_pamu_domain.c544 if (prot & IOMMU_READ) in fsl_pamu_window_enable()
Damd_iommu.c3052 if (iommu_prot & IOMMU_READ) in amd_iommu_map()
3141 region->prot |= IOMMU_READ; in amd_iommu_get_dm_regions()
Dintel-iommu.c4863 if (iommu_prot & IOMMU_READ) in intel_iommu_map()
/linux-4.4.14/drivers/infiniband/hw/usnic/
Dusnic_uiom.c141 flags = IOMMU_READ | IOMMU_CACHE; in usnic_uiom_get_pages()
259 int flags = IOMMU_READ | IOMMU_CACHE; in usnic_uiom_map_sorted_intervals()
/linux-4.4.14/arch/x86/kvm/
Diommu.c88 flags = IOMMU_READ; in kvm_iommu_map_pages()
/linux-4.4.14/include/linux/
Diommu.h29 #define IOMMU_READ (1 << 0) macro
/linux-4.4.14/drivers/vfio/
Dvfio_iommu_type1.c585 prot |= IOMMU_READ; in vfio_dma_do_map()
724 IOMMU_READ | IOMMU_WRITE | domain->prot); in vfio_test_domain_fgsp()
/linux-4.4.14/arch/arm/mm/
Ddma-mapping.c1272 IOMMU_READ|IOMMU_WRITE); in __iommu_create_mapping()
1486 prot = IOMMU_READ | IOMMU_WRITE; in __dma_direction_to_prot()
1489 prot = IOMMU_READ; in __dma_direction_to_prot()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dgk20a.c487 PAGE_SIZE, IOMMU_READ | IOMMU_WRITE); in gk20a_instobj_ctor_iommu()
/linux-4.4.14/drivers/gpu/drm/tegra/
Dgem.c97 int prot = IOMMU_READ | IOMMU_WRITE; in tegra_bo_iommu_map()
/linux-4.4.14/drivers/gpu/drm/msm/
Dmsm_gem.c305 obj->size, IOMMU_READ | IOMMU_WRITE); in msm_gem_get_iova_locked()