/Linux-v5.15/drivers/iommu/ |
D | io-pgtable-arm.c | 412 if (!(prot & IOMMU_READ)) in arm_lpae_prot_to_pte() 420 if (!(prot & IOMMU_WRITE) && (prot & IOMMU_READ)) in arm_lpae_prot_to_pte() 426 if (prot & IOMMU_READ) in arm_lpae_prot_to_pte() 496 if (!(iommu_prot & (IOMMU_READ | IOMMU_WRITE))) in arm_lpae_map_pages() 1275 if (ops->map(ops, iova, iova, size, IOMMU_READ | in arm_lpae_run_tests() 1283 IOMMU_READ | IOMMU_NOEXEC, GFP_KERNEL)) in arm_lpae_run_tests() 1298 if (ops->map(ops, SZ_1G + size, size, size, IOMMU_READ, GFP_KERNEL)) in arm_lpae_run_tests()
|
D | io-pgtable-arm-v7s.c | 351 int prot = IOMMU_READ; in arm_v7s_pte_to_prot() 534 if (!(prot & (IOMMU_READ | IOMMU_WRITE))) in arm_v7s_map_pages() 946 if (ops->map(ops, iova, iova, size, IOMMU_READ | in arm_v7s_do_selftests() 954 IOMMU_READ | IOMMU_NOEXEC, GFP_KERNEL)) in arm_v7s_do_selftests() 973 if (ops->map(ops, iova_start + size, size, size, IOMMU_READ, GFP_KERNEL)) in arm_v7s_do_selftests()
|
D | s390-iommu.c | 271 if (!(prot & IOMMU_READ)) in s390_iommu_map()
|
D | sun50i-iommu.c | 273 if (prot & (IOMMU_READ | IOMMU_WRITE)) in sun50i_mk_pte() 275 else if (prot & IOMMU_READ) in sun50i_mk_pte()
|
D | rockchip-iommu.c | 271 flags |= (prot & IOMMU_READ) ? RK_PTE_PAGE_READABLE : 0; in rk_mk_pte() 294 flags |= (prot & IOMMU_READ) ? RK_PTE_PAGE_READABLE_V2 : 0; in rk_mk_pte_v2()
|
D | dma-iommu.c | 423 return prot | IOMMU_READ | IOMMU_WRITE; in dma_info_to_prot() 425 return prot | IOMMU_READ; in dma_info_to_prot()
|
D | virtio-iommu.c | 726 flags = (prot & IOMMU_READ ? VIRTIO_IOMMU_MAP_F_READ : 0) | in viommu_map()
|
D | mtk_iommu.c | 635 int prot = IOMMU_WRITE | IOMMU_READ; in mtk_iommu_get_resv_regions()
|
/Linux-v5.15/drivers/gpu/drm/msm/ |
D | msm_gpummu.c | 38 if (prot & IOMMU_READ) in msm_gpummu_map()
|
/Linux-v5.15/drivers/staging/media/tegra-vde/ |
D | iommu.c | 40 IOMMU_READ | IOMMU_WRITE); in tegra_vde_iommu_map()
|
/Linux-v5.15/drivers/infiniband/hw/usnic/ |
D | usnic_uiom.c | 136 flags = IOMMU_READ | IOMMU_CACHE; in usnic_uiom_get_pages() 257 int flags = IOMMU_READ | IOMMU_CACHE; in usnic_uiom_map_sorted_intervals()
|
/Linux-v5.15/drivers/net/ipa/ |
D | ipa_mem.c | 470 ret = iommu_map(domain, iova, phys, size, IOMMU_READ | IOMMU_WRITE); in ipa_imem_init() 578 ret = iommu_map(domain, iova, phys, size, IOMMU_READ | IOMMU_WRITE); in ipa_smem_init()
|
/Linux-v5.15/drivers/media/platform/qcom/venus/ |
D | firmware.c | 146 IOMMU_READ | IOMMU_WRITE | IOMMU_PRIV); in venus_boot_no_tz()
|
/Linux-v5.15/drivers/gpu/drm/panfrost/ |
D | panfrost_mmu.c | 294 int prot = IOMMU_READ | IOMMU_WRITE; in panfrost_mmu_map() 488 IOMMU_WRITE | IOMMU_READ | IOMMU_NOEXEC, sgt); in panfrost_mmu_map_fault_addr()
|
/Linux-v5.15/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_gem.c | 24 int prot = IOMMU_READ | IOMMU_WRITE; in rockchip_gem_iommu_map()
|
/Linux-v5.15/drivers/gpu/host1x/ |
D | cdma.c | 108 IOMMU_READ); in host1x_pushbuffer_init()
|
D | job.c | 277 sgt, IOMMU_READ); in pin_job()
|
/Linux-v5.15/drivers/vhost/ |
D | vdpa.c | 572 flags |= IOMMU_READ; in perm_to_iommu_flags() 575 flags |= (IOMMU_WRITE | IOMMU_READ); in perm_to_iommu_flags()
|
/Linux-v5.15/drivers/s390/cio/ |
D | vfio_ccw_cp.c | 106 IOMMU_READ | IOMMU_WRITE, pa->pa_pfn); in pfn_array_pin()
|
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | gk20a.c | 478 PAGE_SIZE, IOMMU_READ | IOMMU_WRITE); in gk20a_instobj_ctor_iommu()
|
/Linux-v5.15/drivers/gpu/drm/tegra/ |
D | gem.c | 182 int prot = IOMMU_READ | IOMMU_WRITE; in tegra_bo_iommu_map()
|
/Linux-v5.15/include/linux/ |
D | iommu.h | 19 #define IOMMU_READ (1 << 0) macro
|
/Linux-v5.15/drivers/vfio/ |
D | vfio_iommu_type1.c | 1573 prot |= IOMMU_READ; in vfio_dma_do_map() 1866 IOMMU_READ | IOMMU_WRITE | domain->prot); in vfio_test_domain_fgsp() 3156 !(dma->prot & IOMMU_READ)) in vfio_iommu_type1_dma_rw_chunk()
|
/Linux-v5.15/drivers/s390/crypto/ |
D | vfio_ap_ops.c | 216 IOMMU_READ | IOMMU_WRITE, &h_pfn); in vfio_ap_irq_enable()
|
/Linux-v5.15/arch/arm/mm/ |
D | dma-mapping.c | 1089 return prot | IOMMU_READ | IOMMU_WRITE; in __dma_info_to_prot() 1091 return prot | IOMMU_READ; in __dma_info_to_prot()
|