| /OK3568_Linux_fs/kernel/drivers/iommu/ |
| H A D | io-pgtable-arm.c | 413 if (!(prot & IOMMU_WRITE) && (prot & IOMMU_READ)) in arm_lpae_prot_to_pte() 419 if (prot & IOMMU_READ) in arm_lpae_prot_to_pte() 491 if (!(iommu_prot & (IOMMU_READ | IOMMU_WRITE))) in arm_lpae_map_pages() 1234 if (ops->map(ops, iova, iova, size, IOMMU_READ | in arm_lpae_run_tests() 1242 IOMMU_READ | IOMMU_NOEXEC, GFP_KERNEL)) in arm_lpae_run_tests() 1257 if (ops->map(ops, SZ_1G + size, size, size, IOMMU_READ, GFP_KERNEL)) in arm_lpae_run_tests()
|
| H A D | io-pgtable-arm-v7s.c | 355 int prot = IOMMU_READ; in arm_v7s_pte_to_prot() 534 if (!(prot & (IOMMU_READ | IOMMU_WRITE))) in arm_v7s_map_pages() 958 if (ops->map(ops, iova, iova, size, IOMMU_READ | in arm_v7s_do_selftests() 966 IOMMU_READ | IOMMU_NOEXEC, GFP_KERNEL)) in arm_v7s_do_selftests() 985 if (ops->map(ops, iova_start + size, size, size, IOMMU_READ, GFP_KERNEL)) in arm_v7s_do_selftests()
|
| H A D | s390-iommu.c | 263 if (!(prot & IOMMU_READ)) in s390_iommu_map()
|
| H A D | sun50i-iommu.c | 274 if (prot & (IOMMU_READ | IOMMU_WRITE)) in sun50i_mk_pte() 276 else if (prot & IOMMU_READ) in sun50i_mk_pte()
|
| H A D | rockchip-iommu.c | 293 flags |= (prot & IOMMU_READ) ? RK_PTE_PAGE_READABLE : 0; in rk_mk_pte() 310 flags |= (prot & IOMMU_READ) ? RK_PTE_PAGE_READABLE : 0; in rk_mk_pte_v2() 913 int prot = IOMMU_READ | IOMMU_WRITE | IOMMU_PRIV; in rk_iommu_unmap_iova()
|
| H A D | dma-iommu.c | 463 return prot | IOMMU_READ | IOMMU_WRITE; in dma_info_to_prot() 465 return prot | IOMMU_READ; in dma_info_to_prot()
|
| /OK3568_Linux_fs/kernel/drivers/net/ipa/ |
| H A D | ipa_mem.c | 314 ret = iommu_map(domain, iova, phys, size, IOMMU_READ | IOMMU_WRITE); in ipa_imem_init() 422 ret = iommu_map(domain, iova, phys, size, IOMMU_READ | IOMMU_WRITE); in ipa_smem_init()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/ |
| H A D | msm_gpummu.c | 38 if (prot & IOMMU_READ) in msm_gpummu_map()
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/tegra-vde/ |
| H A D | iommu.c | 40 IOMMU_READ | IOMMU_WRITE); in tegra_vde_iommu_map()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/usnic/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/rga3/ |
| H A D | rga_dma_buf.c | 20 return IOMMU_READ | IOMMU_WRITE; in rga_dma_info_to_prot() 22 return IOMMU_READ; in rga_dma_info_to_prot()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/panfrost/ |
| H A D | panfrost_mmu.c | 277 int prot = IOMMU_READ | IOMMU_WRITE; in panfrost_mmu_map() 471 IOMMU_WRITE | IOMMU_READ | IOMMU_NOEXEC, sgt); in panfrost_mmu_map_fault_addr()
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/qcom/venus/ |
| H A D | firmware.c | 144 IOMMU_READ | IOMMU_WRITE | IOMMU_PRIV); in venus_boot_no_tz()
|
| /OK3568_Linux_fs/kernel/drivers/soc/fsl/qbman/ |
| H A D | qman_portal.c | 88 IOMMU_READ | IOMMU_WRITE); in portal_set_cpu()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/host1x/ |
| H A D | cdma.c | 108 IOMMU_READ); in host1x_pushbuffer_init()
|
| H A D | job.c | 243 sgt, IOMMU_READ); in pin_job()
|
| /OK3568_Linux_fs/kernel/drivers/vhost/ |
| H A D | vdpa.c | 553 flags |= IOMMU_READ; in perm_to_iommu_flags() 556 flags |= (IOMMU_WRITE | IOMMU_READ); in perm_to_iommu_flags()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/ |
| H A D | rockchip_drm_logo.c | 260 IOMMU_WRITE | IOMMU_READ); in init_loader_memory() 303 IOMMU_WRITE | IOMMU_READ); in init_loader_memory()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
| H A D | gk20a.c | 478 PAGE_SIZE, IOMMU_READ | IOMMU_WRITE); in gk20a_instobj_ctor_iommu()
|
| /OK3568_Linux_fs/kernel/drivers/s390/cio/ |
| H A D | vfio_ccw_cp.c | 106 IOMMU_READ | IOMMU_WRITE, pa->pa_pfn); in pfn_array_pin()
|
| /OK3568_Linux_fs/kernel/drivers/rknpu/ |
| H A D | rknpu_gem.c | 495 IOMMU_READ | IOMMU_WRITE); in rknpu_gem_alloc_buf_with_cache() 537 IOMMU_READ | IOMMU_WRITE); in rknpu_gem_alloc_buf_with_cache()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/tegra/ |
| H A D | gem.c | 177 int prot = IOMMU_READ | IOMMU_WRITE; in tegra_bo_iommu_map()
|
| /OK3568_Linux_fs/kernel/drivers/vfio/ |
| H A D | vfio_iommu_type1.c | 1405 prot |= IOMMU_READ; in vfio_dma_do_map() 1675 IOMMU_READ | IOMMU_WRITE | domain->prot); in vfio_test_domain_fgsp() 2998 !(dma->prot & IOMMU_READ)) in vfio_iommu_type1_dma_rw_chunk()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | iommu.h | 19 #define IOMMU_READ (1 << 0) macro
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/mpp/ |
| H A D | mpp_rkvdec2.c | 1459 ret = iommu_map(domain, iova, sram_start, sram_size, IOMMU_READ | IOMMU_WRITE); in rkvdec2_alloc_rcbbuf() 1477 page_size, IOMMU_READ | IOMMU_WRITE); in rkvdec2_alloc_rcbbuf()
|