| /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() 862 IOMMU_READ | IOMMU_WRITE | in arm_v7s_do_selftests() 869 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 | dma-iommu.c | 750 return prot | IOMMU_READ | IOMMU_WRITE; in dma_info_to_prot() 752 return prot | IOMMU_READ; in dma_info_to_prot()
|
| H A D | virtio-iommu.c | 853 flags = (prot & IOMMU_READ ? VIRTIO_IOMMU_MAP_F_READ : 0) | in viommu_map_pages()
|
| H A D | tegra-smmu.c | 745 if (prot & IOMMU_READ) in __tegra_smmu_map()
|
| H A D | exynos-iommu.c | 97 #define SYSMMU_SUPPORTED_PROT_BITS (IOMMU_READ | IOMMU_WRITE)
|
| /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()
|
| /linux/drivers/accel/amdxdna/ |
| H A D | amdxdna_iommu.c | 75 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 D | a2xx_gpummu.c | 44 if (prot & IOMMU_READ) in a2xx_gpummu_map()
|
| /linux/drivers/accel/rocket/ |
| H A D | rocket_gem.c | 99 IOMMU_READ | IOMMU_WRITE); in rocket_ioctl_create_bo()
|
| /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/net/wireless/ath/ath11k/ |
| H A D | ahb.c | 1068 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 D | gk20a.c | 478 PAGE_SIZE, IOMMU_READ | IOMMU_WRITE, in gk20a_instobj_ctor_iommu()
|
| /linux/drivers/s390/cio/ |
| H A D | vfio_ccw_cp.c | 148 IOMMU_READ | IOMMU_WRITE, in page_array_pin()
|
| /linux/arch/arm/mm/ |
| H A D | dma-mapping.c | 740 return prot | IOMMU_READ | IOMMU_WRITE; in __dma_info_to_prot() 742 return prot | IOMMU_READ; in __dma_info_to_prot()
|
| /linux/sound/usb/qcom/ |
| H A D | qc_audio_offload.c | 543 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 D | vdpa.c | 986 flags |= IOMMU_READ; in perm_to_iommu_flags() 989 flags |= (IOMMU_WRITE | IOMMU_READ); in perm_to_iommu_flags()
|
| /linux/include/linux/ |
| H A D | iommu.h | 19 #define IOMMU_READ (1 << 0) macro
|
| /linux/drivers/gpu/drm/panthor/ |
| H A D | panthor_mmu.c | 1088 prot |= IOMMU_READ; in flags_to_prot() 1090 prot |= IOMMU_READ | IOMMU_WRITE; in flags_to_prot()
|
| /linux/drivers/iommu/iommufd/ |
| H A D | device.c | 1463 return area->iommu_prot & IOMMU_READ; in check_area_prot()
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | snoc.c | 1675 IOMMU_READ | IOMMU_WRITE, GFP_KERNEL); in ath10k_fw_init()
|
| /linux/drivers/gpu/drm/i915/gvt/ |
| H A D | kvmgt.c | 154 IOMMU_READ | IOMMU_WRITE, &cur_page); in gvt_pin_guest_page()
|
| /linux/drivers/iommu/amd/ |
| H A D | iommu.c | 3129 prot |= IOMMU_READ; in amd_iommu_get_resv_regions()
|