Searched refs:IOMMU_WRITE (Results 1 – 15 of 15) sorted by relevance
/linux-4.4.14/drivers/infiniband/hw/usnic/ |
D | usnic_uiom.c | 142 flags |= (writable) ? IOMMU_WRITE : 0; in usnic_uiom_get_pages() 236 if (interval->flags & IOMMU_WRITE) in __usnic_uiom_reg_release() 261 flags |= (uiomr->writable) ? IOMMU_WRITE : 0; in usnic_uiom_map_sorted_intervals() 381 (writable) ? IOMMU_WRITE : 0, in usnic_uiom_reg_get() 382 IOMMU_WRITE, in usnic_uiom_reg_get() 400 (writable) ? IOMMU_WRITE : 0); in usnic_uiom_reg_get()
|
/linux-4.4.14/drivers/iommu/ |
D | io-pgtable-arm.c | 355 if (!(prot & IOMMU_WRITE) && (prot & IOMMU_READ)) in arm_lpae_prot_to_pte() 365 if (prot & IOMMU_WRITE) in arm_lpae_prot_to_pte() 388 if (!(iommu_prot & (IOMMU_READ | IOMMU_WRITE))) in arm_lpae_map() 974 IOMMU_WRITE | in arm_lpae_run_tests() 1017 if (ops->map(ops, iova, iova, size, IOMMU_WRITE)) in arm_lpae_run_tests()
|
D | dma-iommu.c | 144 return prot | IOMMU_READ | IOMMU_WRITE; in dma_direction_to_prot() 148 return prot | IOMMU_WRITE; in dma_direction_to_prot()
|
D | s390-iommu.c | 278 if (!(prot & IOMMU_WRITE)) in s390_iommu_map()
|
D | rockchip-iommu.c | 232 flags |= (prot & IOMMU_WRITE) ? RK_PTE_PAGE_WRITABLE : 0; in rk_mk_pte()
|
D | fsl_pamu_domain.c | 546 if (prot & IOMMU_WRITE) in fsl_pamu_window_enable()
|
D | amd_iommu.c | 3054 if (iommu_prot & IOMMU_WRITE) in amd_iommu_map() 3143 region->prot |= IOMMU_WRITE; in amd_iommu_get_dm_regions()
|
D | intel-iommu.c | 4865 if (iommu_prot & IOMMU_WRITE) in intel_iommu_map()
|
/linux-4.4.14/drivers/vfio/ |
D | vfio_iommu_type1.c | 223 if (prot & IOMMU_WRITE) in put_pfn() 237 if (get_user_pages_fast(vaddr, 1, !!(prot & IOMMU_WRITE), page) == 1) { in vaddr_get_pfn() 583 prot |= IOMMU_WRITE; in vfio_dma_do_map() 724 IOMMU_READ | IOMMU_WRITE | domain->prot); in vfio_test_domain_fgsp()
|
/linux-4.4.14/arch/x86/kvm/ |
D | iommu.c | 90 flags |= IOMMU_WRITE; in kvm_iommu_map_pages()
|
/linux-4.4.14/include/linux/ |
D | iommu.h | 30 #define IOMMU_WRITE (1 << 1) macro
|
/linux-4.4.14/arch/arm/mm/ |
D | dma-mapping.c | 1272 IOMMU_READ|IOMMU_WRITE); in __iommu_create_mapping() 1486 prot = IOMMU_READ | IOMMU_WRITE; in __dma_direction_to_prot() 1492 prot = IOMMU_WRITE; in __dma_direction_to_prot()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | gk20a.c | 487 PAGE_SIZE, IOMMU_READ | IOMMU_WRITE); in gk20a_instobj_ctor_iommu()
|
/linux-4.4.14/drivers/gpu/drm/tegra/ |
D | gem.c | 97 int prot = IOMMU_READ | IOMMU_WRITE; in tegra_bo_iommu_map()
|
/linux-4.4.14/drivers/gpu/drm/msm/ |
D | msm_gem.c | 305 obj->size, IOMMU_READ | IOMMU_WRITE); in msm_gem_get_iova_locked()
|