Home
last modified time | relevance | path

Searched refs:IOMMU_WRITE (Results 1 – 25 of 42) sorted by relevance

12

/linux/drivers/iommu/
H A Dio-pgtable-arm-selftests.c92 IOMMU_READ | IOMMU_WRITE | in arm_lpae_run_tests()
122 IOMMU_WRITE, GFP_KERNEL, &mapped)) in arm_lpae_run_tests()
139 IOMMU_READ | IOMMU_WRITE | in arm_lpae_run_tests()
H A Dio-pgtable-dart.c209 if (!(prot & IOMMU_WRITE)) in dart_prot_to_pte()
215 if (!(prot & IOMMU_WRITE)) in dart_prot_to_pte()
244 if (!(iommu_prot & (IOMMU_READ | IOMMU_WRITE))) in dart_map_pages()
H A Dio-pgtable-arm-v7s.c346 if (!(prot & IOMMU_WRITE)) in arm_v7s_prot_to_pte()
518 if (!(prot & (IOMMU_READ | IOMMU_WRITE))) in arm_v7s_map_pages()
862 IOMMU_READ | IOMMU_WRITE | in arm_v7s_do_selftests()
891 if (ops->map_pages(ops, iova, iova, size, 1, IOMMU_WRITE, in arm_v7s_do_selftests()
H A Dof_iommu.c245 int prot = IOMMU_READ | IOMMU_WRITE; in of_iommu_get_resv_regions()
H A Dsun50i-iommu.c277 if ((prot & (IOMMU_READ | IOMMU_WRITE)) == (IOMMU_READ | IOMMU_WRITE)) in sun50i_mk_pte()
281 else if (prot & IOMMU_WRITE) in sun50i_mk_pte()
H A Dvirtio-iommu.c490 unsigned long prot = IOMMU_WRITE | IOMMU_NOEXEC | IOMMU_MMIO; in viommu_add_resv_mem()
854 (prot & IOMMU_WRITE ? VIRTIO_IOMMU_MAP_F_WRITE : 0) | in viommu_map_pages()
974 int prot = IOMMU_WRITE | IOMMU_NOEXEC | IOMMU_MMIO; in viommu_get_resv_regions()
H A Dio-pgtable-arm.c521 if (!(prot & IOMMU_WRITE) && (prot & IOMMU_READ)) in arm_lpae_prot_to_pte()
531 if (prot & IOMMU_WRITE) in arm_lpae_prot_to_pte()
602 if (!(iommu_prot & (IOMMU_READ | IOMMU_WRITE))) in __arm_lpae_free_pgtable()
H A Drockchip-iommu.c276 flags |= (prot & IOMMU_WRITE) ? RK_PTE_PAGE_WRITABLE : 0; in rk_mk_pte()
297 flags |= (prot & IOMMU_WRITE) ? RK_PTE_PAGE_WRITABLE : 0; in rk_mk_pte_v2()
H A Ddma-iommu.c750 return prot | IOMMU_READ | IOMMU_WRITE; in dma_info_to_prot()
754 return prot | IOMMU_WRITE; in dma_info_to_prot()
2205 int prot = IOMMU_WRITE | IOMMU_NOEXEC | IOMMU_MMIO; in iommu_dma_get_msi_page()
/linux/drivers/iommu/generic_pt/fmt/
H A Dvtdss.h225 if (!(iommu_prot & (IOMMU_READ | IOMMU_WRITE))) in vtdss_pt_iommu_set_prot()
230 if (iommu_prot & IOMMU_WRITE) in vtdss_pt_iommu_set_prot()
236 !(iommu_prot & IOMMU_WRITE)) { in vtdss_pt_iommu_set_prot()
H A Damdv1.h350 if (iommu_prot & IOMMU_WRITE) in amdv1pt_iommu_set_prot()
/linux/drivers/infiniband/hw/usnic/
H A Dusnic_uiom.c228 if (interval->flags & IOMMU_WRITE) in __usnic_uiom_reg_release()
253 flags |= (uiomr->writable) ? IOMMU_WRITE : 0; in usnic_uiom_map_sorted_intervals()
373 (writable) ? IOMMU_WRITE : 0, in usnic_uiom_reg_get()
374 IOMMU_WRITE, in usnic_uiom_reg_get()
392 (writable) ? IOMMU_WRITE : 0); in usnic_uiom_reg_get()
/linux/drivers/gpu/drm/msm/adreno/
H A Da2xx_gpummu.c42 if (prot & IOMMU_WRITE) in a2xx_gpummu_map()
/linux/drivers/accel/rocket/
H A Drocket_gem.c99 IOMMU_READ | IOMMU_WRITE); in rocket_ioctl_create_bo()
/linux/drivers/iommu/iommufd/
H A Ddriver.c234 IOMMU_WRITE | IOMMU_READ | IOMMU_MMIO, in iommufd_sw_msi_install()
H A Dioas.c198 iommu_prot |= IOMMU_WRITE; in conv_iommu_prot()
/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/iommu/generic_pt/
H A Dkunit_iommu_pt.h373 IOMMU_READ | IOMMU_WRITE, GFP_KERNEL); in test_random_map()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
H A Dgk20a.c478 PAGE_SIZE, IOMMU_READ | IOMMU_WRITE, in gk20a_instobj_ctor_iommu()
/linux/arch/arm/mm/
H A Ddma-mapping.c740 return prot | IOMMU_READ | IOMMU_WRITE; in __dma_info_to_prot()
744 return prot | IOMMU_WRITE; in __dma_info_to_prot()
/linux/drivers/remoteproc/
H A Dqcom_q6v5_adsp.c363 adsp->mem_size, IOMMU_READ | IOMMU_WRITE, in adsp_map_carveout()
/linux/drivers/s390/cio/
H A Dvfio_ccw_cp.c148 IOMMU_READ | IOMMU_WRITE, in page_array_pin()
/linux/drivers/vhost/
H A Dvdpa.c976 flags |= IOMMU_WRITE; in perm_to_iommu_flags()
982 flags |= (IOMMU_WRITE | IOMMU_READ); in perm_to_iommu_flags()
/linux/drivers/acpi/arm64/
H A Diort.c1025 int prot = IOMMU_READ | IOMMU_WRITE; in iort_get_rmrs()
1270 int prot = IOMMU_WRITE | IOMMU_NOEXEC | IOMMU_MMIO; in iort_iommu_msi_get_resv_regions()

12