/linux-6.3-rc2/drivers/iommu/ |
A D | io-pgtable-dart.c | 221 if (!(prot & IOMMU_READ)) in dart_prot_to_pte() 227 if (!(prot & IOMMU_READ)) in dart_prot_to_pte() 254 if (!(iommu_prot & (IOMMU_READ | IOMMU_WRITE))) in dart_map_pages()
|
A D | io-pgtable-arm-v7s.c | 368 int prot = IOMMU_READ; in arm_v7s_pte_to_prot() 556 if (!(prot & (IOMMU_READ | IOMMU_WRITE))) in arm_v7s_map_pages() 974 IOMMU_READ | IOMMU_WRITE | in arm_v7s_do_selftests() 981 IOMMU_READ | IOMMU_NOEXEC, GFP_KERNEL, in arm_v7s_do_selftests() 1002 IOMMU_READ, GFP_KERNEL, &mapped)) in arm_v7s_do_selftests()
|
A D | io-pgtable-arm.c | 408 if (!(prot & IOMMU_WRITE) && (prot & IOMMU_READ)) in arm_lpae_prot_to_pte() 414 if (prot & IOMMU_READ) in arm_lpae_prot_to_pte() 484 if (!(iommu_prot & (IOMMU_READ | IOMMU_WRITE))) in arm_lpae_map_pages() 1198 IOMMU_READ | IOMMU_WRITE | in arm_lpae_run_tests() 1205 IOMMU_READ | IOMMU_NOEXEC, in arm_lpae_run_tests() 1222 IOMMU_READ, GFP_KERNEL, &mapped)) in arm_lpae_run_tests()
|
A D | of_iommu.c | 251 int prot = IOMMU_READ | IOMMU_WRITE; in of_iommu_get_resv_regions()
|
A D | sun50i-iommu.c | 276 if ((prot & (IOMMU_READ | IOMMU_WRITE)) == (IOMMU_READ | IOMMU_WRITE)) in sun50i_mk_pte() 278 else if (prot & IOMMU_READ) in sun50i_mk_pte()
|
A D | s390-iommu.c | 333 if (!(prot & IOMMU_READ)) in s390_iommu_map_pages()
|
A D | rockchip-iommu.c | 271 flags |= (prot & IOMMU_READ) ? RK_PTE_PAGE_READABLE : 0; in rk_mk_pte() 292 flags |= (prot & IOMMU_READ) ? RK_PTE_PAGE_READABLE : 0; in rk_mk_pte_v2()
|
/linux-6.3-rc2/drivers/gpu/drm/msm/ |
A D | msm_gpummu.c | 38 if (prot & IOMMU_READ) in msm_gpummu_map()
|
/linux-6.3-rc2/drivers/media/platform/nvidia/tegra-vde/ |
A D | iommu.c | 40 IOMMU_READ | IOMMU_WRITE); in tegra_vde_iommu_map()
|
/linux-6.3-rc2/drivers/net/ipa/ |
A D | ipa_mem.c | 475 ret = iommu_map(domain, iova, phys, size, IOMMU_READ | IOMMU_WRITE, in ipa_imem_init() 584 ret = iommu_map(domain, iova, phys, size, IOMMU_READ | IOMMU_WRITE, in ipa_smem_init()
|
/linux-6.3-rc2/drivers/media/platform/qcom/venus/ |
A D | firmware.c | 161 IOMMU_READ | IOMMU_WRITE | IOMMU_PRIV, GFP_KERNEL); in venus_boot_no_tz()
|
/linux-6.3-rc2/drivers/gpu/drm/panfrost/ |
A D | panfrost_mmu.c | 328 int prot = IOMMU_READ | IOMMU_WRITE; in panfrost_mmu_map() 524 IOMMU_WRITE | IOMMU_READ | IOMMU_NOEXEC, sgt); in panfrost_mmu_map_fault_addr()
|
/linux-6.3-rc2/drivers/iommu/iommufd/ |
A D | ioas.c | 196 iommu_prot |= IOMMU_READ; in conv_iommu_prot()
|
A D | vfio_compat.c | 177 iommu_prot |= IOMMU_READ; in iommufd_vfio_map_dma()
|
A D | device.c | 584 return area->iommu_prot & IOMMU_READ; in check_area_prot()
|
/linux-6.3-rc2/drivers/gpu/drm/rockchip/ |
A D | rockchip_drm_gem.c | 25 int prot = IOMMU_READ | IOMMU_WRITE; in rockchip_gem_iommu_map()
|
/linux-6.3-rc2/drivers/gpu/host1x/ |
A D | cdma.c | 108 IOMMU_READ, GFP_KERNEL); in host1x_pushbuffer_init()
|
A D | job.c | 252 map->sgt, IOMMU_READ); in pin_job()
|
/linux-6.3-rc2/drivers/infiniband/hw/usnic/ |
A D | usnic_uiom.c | 252 int flags = IOMMU_READ | IOMMU_CACHE; in usnic_uiom_map_sorted_intervals()
|
/linux-6.3-rc2/drivers/net/wireless/ath/ath11k/ |
A D | ahb.c | 1039 IOMMU_READ | IOMMU_WRITE, GFP_KERNEL); in ath11k_ahb_fw_resources_init() 1047 IOMMU_READ | IOMMU_WRITE, GFP_KERNEL); in ath11k_ahb_fw_resources_init()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
A D | gk20a.c | 478 PAGE_SIZE, IOMMU_READ | IOMMU_WRITE, in gk20a_instobj_ctor_iommu()
|
/linux-6.3-rc2/drivers/s390/cio/ |
A D | vfio_ccw_cp.c | 148 IOMMU_READ | IOMMU_WRITE, in page_array_pin()
|
/linux-6.3-rc2/drivers/remoteproc/ |
A D | qcom_q6v5_adsp.c | 370 adsp->mem_size, IOMMU_READ | IOMMU_WRITE, in adsp_map_carveout()
|
/linux-6.3-rc2/drivers/vhost/ |
A D | vdpa.c | 793 flags |= IOMMU_READ; in perm_to_iommu_flags() 796 flags |= (IOMMU_WRITE | IOMMU_READ); in perm_to_iommu_flags()
|
/linux-6.3-rc2/drivers/gpu/drm/tegra/ |
A D | gem.c | 226 int prot = IOMMU_READ | IOMMU_WRITE; in tegra_bo_iommu_map()
|