Home
last modified time | relevance | path

Searched refs:IOMMU_READ (Results 1 – 25 of 52) sorted by relevance

123

/linux/drivers/iommu/
H A Dio-pgtable-arm-selftests.c92 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 Dio-pgtable-dart.c211 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 Dio-pgtable-arm-v7s.c518 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 Dsun50i-iommu.c277 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 Dof_iommu.c247 int prot = IOMMU_READ | IOMMU_WRITE; in of_iommu_get_resv_regions()
H A Dio-pgtable-arm.c487 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 Drockchip-iommu.c273 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 Dkunit_generic_pt.h19 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 Dkunit_iommu_pt.h372 IOMMU_READ | IOMMU_WRITE, GFP_KERNEL); in test_random_map()
/linux/drivers/iommu/generic_pt/fmt/
H A Dvtdss.h225 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 Damdv1.h348 if (iommu_prot & IOMMU_READ) in amdv1pt_iommu_set_prot()
/linux/drivers/gpu/drm/msm/adreno/
H A Da2xx_gpummu.c44 if (prot & IOMMU_READ) in a2xx_gpummu_map()
/linux/drivers/media/platform/nvidia/tegra-vde/
H A Diommu.c40 IOMMU_READ | IOMMU_WRITE); in tegra_vde_iommu_map()
/linux/rust/kernel/iommu/
H A Dpgtable.rs30 pub const READ: u32 = bindings::IOMMU_READ;
/linux/drivers/net/ipa/
H A Dipa_mem.c476 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 Drocket_gem.c102 IOMMU_READ | IOMMU_WRITE); in rocket_ioctl_create_bo()
/linux/drivers/iommu/iommufd/
H A Ddriver.c231 IOMMU_WRITE | IOMMU_READ | IOMMU_MMIO, in iommufd_sw_msi_install()
H A Dvfio_compat.c177 iommu_prot |= IOMMU_READ; in iommufd_vfio_map_dma()
/linux/drivers/media/platform/qcom/venus/
H A Dfirmware.c154 IOMMU_READ | IOMMU_WRITE | IOMMU_PRIV, GFP_KERNEL); in venus_boot_no_tz()
/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_mmu.c468 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 Drockchip_drm_gem.c27 int prot = IOMMU_READ | IOMMU_WRITE; in rockchip_gem_iommu_map()
/linux/drivers/net/wireless/ath/ath11k/
H A Dahb.c1038 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 Dcdma.c108 IOMMU_READ, GFP_KERNEL); in host1x_pushbuffer_init()
/linux/drivers/infiniband/hw/usnic/
H A Dusnic_uiom.c251 int flags = IOMMU_READ | IOMMU_CACHE; in usnic_uiom_map_sorted_intervals()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
H A Dgk20a.c478 PAGE_SIZE, IOMMU_READ | IOMMU_WRITE, in gk20a_instobj_ctor_iommu()

123