| /linux/drivers/iommu/ |
| H A D | io-pgtable-arm-selftests.c | 92 IOMMU_READ | IOMMU_WRITE | in arm_lpae_run_tests() 99 IOMMU_READ | IOMMU_NOEXEC, in arm_lpae_run_tests() 139 IOMMU_READ | IOMMU_WRITE | in arm_lpae_run_tests()
|
| H A D | io-pgtable-dart.c | 211 if (!(prot & IOMMU_READ)) in dart_prot_to_pte() 217 if (!(prot & IOMMU_READ)) in dart_prot_to_pte() 244 if (!(iommu_prot & (IOMMU_READ | IOMMU_WRITE))) in dart_map_pages()
|
| H A D | io-pgtable-arm-v7s.c | 518 if (!(prot & (IOMMU_READ | IOMMU_WRITE))) in arm_v7s_map_pages() 856 IOMMU_READ | IOMMU_WRITE | in arm_v7s_do_selftests() 863 IOMMU_READ | IOMMU_NOEXEC, GFP_KERNEL, in arm_v7s_do_selftests()
|
| H A D | sun50i-iommu.c | 277 if ((prot & (IOMMU_READ | IOMMU_WRITE)) == (IOMMU_READ | IOMMU_WRITE)) in sun50i_mk_pte() 279 else if (prot & IOMMU_READ) in sun50i_mk_pte()
|
| H A D | of_iommu.c | 247 int prot = IOMMU_READ | IOMMU_WRITE; in of_iommu_get_resv_regions()
|
| H A D | io-pgtable-arm.c | 487 if (!(prot & IOMMU_WRITE) && (prot & IOMMU_READ)) in arm_lpae_prot_to_pte() 495 if (prot & IOMMU_READ) in arm_lpae_prot_to_pte() 568 if (!(iommu_prot & (IOMMU_READ | IOMMU_WRITE))) in arm_lpae_map_pages()
|
| H A D | rockchip-iommu.c | 273 flags |= (prot & IOMMU_READ) ? RK_PTE_PAGE_READABLE : 0; in rk_mk_pte() 294 flags |= (prot & IOMMU_READ) ? RK_PTE_PAGE_READABLE : 0; in rk_mk_pte_v2()
|
| /linux/drivers/iommu/generic_pt/ |
| H A D | kunit_generic_pt.h | 19 ret = iommu_map(&priv->domain, va, pa, len, IOMMU_READ | IOMMU_WRITE, in do_map() 331 IOMMU_READ)); in test_lvl_table_ptr() 518 IOMMU_READ)); in test_lvl_entry_oa() 552 for (prot = 0; prot <= (IOMMU_READ | IOMMU_WRITE | IOMMU_CACHE | in test_lvl_attr_from_entry() 567 IOMMU_READ | IOMMU_WRITE); in test_lvl_attr_from_entry() 616 IOMMU_READ | IOMMU_WRITE)); in test_lvl_dirty() 679 IOMMU_READ)); in test_lvl_sw_bit_leaf() 742 IOMMU_READ)); in test_lvl_sw_bit_table()
|
| H A D | kunit_iommu_pt.h | 372 IOMMU_READ | IOMMU_WRITE, GFP_KERNEL); in test_random_map()
|
| /linux/drivers/iommu/generic_pt/fmt/ |
| H A D | vtdss.h | 225 if (!(iommu_prot & (IOMMU_READ | IOMMU_WRITE))) in vtdss_pt_iommu_set_prot() 228 if (iommu_prot & IOMMU_READ) in vtdss_pt_iommu_set_prot()
|
| H A D | amdv1.h | 348 if (iommu_prot & IOMMU_READ) in amdv1pt_iommu_set_prot()
|
| /linux/drivers/gpu/drm/msm/adreno/ |
| H A D | a2xx_gpummu.c | 44 if (prot & IOMMU_READ) in a2xx_gpummu_map()
|
| /linux/drivers/media/platform/nvidia/tegra-vde/ |
| H A D | iommu.c | 40 IOMMU_READ | IOMMU_WRITE); in tegra_vde_iommu_map()
|
| /linux/rust/kernel/iommu/ |
| H A D | pgtable.rs | 30 pub const READ: u32 = bindings::IOMMU_READ;
|
| /linux/drivers/net/ipa/ |
| H A D | ipa_mem.c | 476 ret = iommu_map(domain, iova, phys, size, IOMMU_READ | IOMMU_WRITE, in ipa_imem_init() 583 ret = iommu_map(domain, iova, phys, size, IOMMU_READ | IOMMU_WRITE, in ipa_smem_init()
|
| /linux/drivers/accel/rocket/ |
| H A D | rocket_gem.c | 102 IOMMU_READ | IOMMU_WRITE); in rocket_ioctl_create_bo()
|
| /linux/drivers/iommu/iommufd/ |
| H A D | driver.c | 231 IOMMU_WRITE | IOMMU_READ | IOMMU_MMIO, in iommufd_sw_msi_install()
|
| H A D | vfio_compat.c | 177 iommu_prot |= IOMMU_READ; in iommufd_vfio_map_dma()
|
| /linux/drivers/media/platform/qcom/venus/ |
| H A D | firmware.c | 154 IOMMU_READ | IOMMU_WRITE | IOMMU_PRIV, GFP_KERNEL); in venus_boot_no_tz()
|
| /linux/drivers/gpu/drm/panfrost/ |
| H A D | panfrost_mmu.c | 468 int prot = IOMMU_READ | IOMMU_WRITE | IOMMU_CACHE; in panfrost_mmu_map() 690 IOMMU_WRITE | IOMMU_READ | IOMMU_CACHE | IOMMU_NOEXEC, sgt); in panfrost_mmu_map_fault_addr()
|
| /linux/drivers/gpu/drm/rockchip/ |
| H A D | rockchip_drm_gem.c | 27 int prot = IOMMU_READ | IOMMU_WRITE; in rockchip_gem_iommu_map()
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | ahb.c | 1038 IOMMU_READ | IOMMU_WRITE, GFP_KERNEL); in ath11k_ahb_fw_resources_init() 1046 IOMMU_READ | IOMMU_WRITE, GFP_KERNEL); in ath11k_ahb_fw_resources_init()
|
| /linux/drivers/gpu/host1x/ |
| H A D | cdma.c | 108 IOMMU_READ, GFP_KERNEL); in host1x_pushbuffer_init()
|
| /linux/drivers/infiniband/hw/usnic/ |
| H A D | usnic_uiom.c | 251 int flags = IOMMU_READ | IOMMU_CACHE; in usnic_uiom_map_sorted_intervals()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
| H A D | gk20a.c | 478 PAGE_SIZE, IOMMU_READ | IOMMU_WRITE, in gk20a_instobj_ctor_iommu()
|