Home
last modified time | relevance | path

Searched refs:IOMMU_WRITE (Results 1 – 25 of 27) 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 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 Ddma-iommu.c750 return prot | IOMMU_READ | IOMMU_WRITE; in dma_info_to_prot()
754 return prot | IOMMU_WRITE; in dma_info_to_prot()
2200 int prot = IOMMU_WRITE | IOMMU_NOEXEC | IOMMU_MMIO; in iommu_dma_get_msi_page()
H A Ds390-iommu.c931 if (!(prot & IOMMU_WRITE)) in s390_iommu_map_pages()
H A Dtegra-smmu.c748 if (prot & IOMMU_WRITE) in __tegra_smmu_map()
H A Dexynos-iommu.c97 #define SYSMMU_SUPPORTED_PROT_BITS (IOMMU_READ | IOMMU_WRITE)
/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()
/linux/drivers/accel/amdxdna/
H A Damdxdna_iommu.c75 IOMMU_READ | IOMMU_WRITE); in amdxdna_dma_map_bo()
136 IOMMU_READ | IOMMU_WRITE, GFP_KERNEL); in amdxdna_iommu_alloc()
/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/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/net/wireless/ath/ath11k/
H A Dahb.c1068 IOMMU_READ | IOMMU_WRITE, GFP_KERNEL); in ath11k_ahb_fw_resources_init()
1076 IOMMU_READ | IOMMU_WRITE, GFP_KERNEL); in ath11k_ahb_fw_resources_init()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
H A Dgk20a.c478 PAGE_SIZE, IOMMU_READ | IOMMU_WRITE, in gk20a_instobj_ctor_iommu()
/linux/drivers/s390/cio/
H A Dvfio_ccw_cp.c148 IOMMU_READ | IOMMU_WRITE, in page_array_pin()
/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/sound/usb/qcom/
H A Dqc_audio_offload.c543 int prot = IOMMU_READ | IOMMU_WRITE; in uaudio_iommu_map_prot()
621 prot = IOMMU_READ | IOMMU_WRITE; in uaudio_iommu_map_xfer_buf()
/linux/drivers/vhost/
H A Dvdpa.c983 flags |= IOMMU_WRITE; in perm_to_iommu_flags()
989 flags |= (IOMMU_WRITE | IOMMU_READ); in perm_to_iommu_flags()
/linux/include/linux/
H A Diommu.h20 #define IOMMU_WRITE (1 << 1) macro
/linux/drivers/vfio/
H A Dvfio_main.c1746 (prot & IOMMU_WRITE) ? IOMMUFD_ACCESS_RW_WRITE : 0); in vfio_pin_pages()
/linux/drivers/iommu/iommufd/
H A Ddevice.c1462 return area->iommu_prot & IOMMU_WRITE; in check_area_prot()
/linux/drivers/net/wireless/ath/ath10k/
H A Dsnoc.c1675 IOMMU_READ | IOMMU_WRITE, GFP_KERNEL); in ath10k_fw_init()
/linux/drivers/gpu/drm/i915/gvt/
H A Dkvmgt.c154 IOMMU_READ | IOMMU_WRITE, &cur_page); in gvt_pin_guest_page()

12