Home
last modified time | relevance | path

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

/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()
862 IOMMU_READ | IOMMU_WRITE | in arm_v7s_do_selftests()
869 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 Ddma-iommu.c750 return prot | IOMMU_READ | IOMMU_WRITE; in dma_info_to_prot()
752 return prot | IOMMU_READ; in dma_info_to_prot()
H A Dvirtio-iommu.c853 flags = (prot & IOMMU_READ ? VIRTIO_IOMMU_MAP_F_READ : 0) | in viommu_map_pages()
H A Dtegra-smmu.c745 if (prot & IOMMU_READ) 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()
228 if (iommu_prot & IOMMU_READ) 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.c44 if (prot & IOMMU_READ) 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()
742 return prot | IOMMU_READ; 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.c986 flags |= IOMMU_READ; in perm_to_iommu_flags()
989 flags |= (IOMMU_WRITE | IOMMU_READ); in perm_to_iommu_flags()
/linux/include/linux/
H A Diommu.h19 #define IOMMU_READ (1 << 0) macro
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c1088 prot |= IOMMU_READ; in flags_to_prot()
1090 prot |= IOMMU_READ | IOMMU_WRITE; in flags_to_prot()
/linux/drivers/iommu/iommufd/
H A Ddevice.c1463 return area->iommu_prot & IOMMU_READ; 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()
/linux/drivers/iommu/amd/
H A Diommu.c3129 prot |= IOMMU_READ; in amd_iommu_get_resv_regions()