Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/iommu/
Dio-pgtable-dart.c221 if (!(prot & IOMMU_READ)) in dart_prot_to_pte()
227 if (!(prot & IOMMU_READ)) in dart_prot_to_pte()
254 if (!(iommu_prot & (IOMMU_READ | IOMMU_WRITE))) in dart_map_pages()
Dio-pgtable-arm-v7s.c368 int prot = IOMMU_READ; in arm_v7s_pte_to_prot()
556 if (!(prot & (IOMMU_READ | IOMMU_WRITE))) in arm_v7s_map_pages()
987 if (ops->map(ops, iova, iova, size, IOMMU_READ | in arm_v7s_do_selftests()
995 IOMMU_READ | IOMMU_NOEXEC, GFP_KERNEL)) in arm_v7s_do_selftests()
1014 if (ops->map(ops, iova_start + size, size, size, IOMMU_READ, GFP_KERNEL)) in arm_v7s_do_selftests()
Dio-pgtable-arm.c408 if (!(prot & IOMMU_WRITE) && (prot & IOMMU_READ)) in arm_lpae_prot_to_pte()
414 if (prot & IOMMU_READ) in arm_lpae_prot_to_pte()
484 if (!(iommu_prot & (IOMMU_READ | IOMMU_WRITE))) in arm_lpae_map_pages()
1212 if (ops->map(ops, iova, iova, size, IOMMU_READ | in arm_lpae_run_tests()
1220 IOMMU_READ | IOMMU_NOEXEC, GFP_KERNEL)) in arm_lpae_run_tests()
1235 if (ops->map(ops, SZ_1G + size, size, size, IOMMU_READ, GFP_KERNEL)) in arm_lpae_run_tests()
Dsun50i-iommu.c273 if (prot & (IOMMU_READ | IOMMU_WRITE)) in sun50i_mk_pte()
275 else if (prot & IOMMU_READ) in sun50i_mk_pte()
Ds390-iommu.c285 if (!(prot & IOMMU_READ)) in s390_iommu_map()
Drockchip-iommu.c271 flags |= (prot & IOMMU_READ) ? RK_PTE_PAGE_READABLE : 0; in rk_mk_pte()
294 flags |= (prot & IOMMU_READ) ? RK_PTE_PAGE_READABLE_V2 : 0; in rk_mk_pte_v2()
Ddma-iommu.c615 return prot | IOMMU_READ | IOMMU_WRITE; in dma_info_to_prot()
617 return prot | IOMMU_READ; in dma_info_to_prot()
Dvirtio-iommu.c803 flags = (prot & IOMMU_READ ? VIRTIO_IOMMU_MAP_F_READ : 0) | in viommu_map_pages()
/Linux-v6.1/drivers/gpu/drm/msm/
Dmsm_gpummu.c38 if (prot & IOMMU_READ) in msm_gpummu_map()
/Linux-v6.1/drivers/media/platform/nvidia/tegra-vde/
Diommu.c40 IOMMU_READ | IOMMU_WRITE); in tegra_vde_iommu_map()
/Linux-v6.1/drivers/net/ipa/
Dipa_mem.c474 ret = iommu_map(domain, iova, phys, size, IOMMU_READ | IOMMU_WRITE); in ipa_imem_init()
582 ret = iommu_map(domain, iova, phys, size, IOMMU_READ | IOMMU_WRITE); in ipa_smem_init()
/Linux-v6.1/drivers/media/platform/qcom/venus/
Dfirmware.c159 IOMMU_READ | IOMMU_WRITE | IOMMU_PRIV); in venus_boot_no_tz()
/Linux-v6.1/drivers/gpu/drm/panfrost/
Dpanfrost_mmu.c328 int prot = IOMMU_READ | IOMMU_WRITE; in panfrost_mmu_map()
524 IOMMU_WRITE | IOMMU_READ | IOMMU_NOEXEC, sgt); in panfrost_mmu_map_fault_addr()
/Linux-v6.1/drivers/gpu/drm/rockchip/
Drockchip_drm_gem.c24 int prot = IOMMU_READ | IOMMU_WRITE; in rockchip_gem_iommu_map()
/Linux-v6.1/drivers/gpu/host1x/
Dcdma.c108 IOMMU_READ); in host1x_pushbuffer_init()
Djob.c246 map->sgt, IOMMU_READ); in pin_job()
/Linux-v6.1/drivers/infiniband/hw/usnic/
Dusnic_uiom.c253 int flags = IOMMU_READ | IOMMU_CACHE; in usnic_uiom_map_sorted_intervals()
/Linux-v6.1/drivers/net/wireless/ath/ath11k/
Dahb.c1024 IOMMU_READ | IOMMU_WRITE); in ath11k_ahb_fw_resources_init()
1032 IOMMU_READ | IOMMU_WRITE); in ath11k_ahb_fw_resources_init()
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dgk20a.c478 PAGE_SIZE, IOMMU_READ | IOMMU_WRITE); in gk20a_instobj_ctor_iommu()
/Linux-v6.1/drivers/s390/cio/
Dvfio_ccw_cp.c146 IOMMU_READ | IOMMU_WRITE, in page_array_pin()
/Linux-v6.1/include/linux/
Diommu.h19 #define IOMMU_READ (1 << 0) macro
/Linux-v6.1/drivers/vhost/
Dvdpa.c746 flags |= IOMMU_READ; in perm_to_iommu_flags()
749 flags |= (IOMMU_WRITE | IOMMU_READ); in perm_to_iommu_flags()
/Linux-v6.1/drivers/gpu/drm/tegra/
Dgem.c225 int prot = IOMMU_READ | IOMMU_WRITE; in tegra_bo_iommu_map()
/Linux-v6.1/arch/arm/mm/
Ddma-mapping.c746 return prot | IOMMU_READ | IOMMU_WRITE; in __dma_info_to_prot()
748 return prot | IOMMU_READ; in __dma_info_to_prot()
/Linux-v6.1/drivers/vfio/
Dvfio_iommu_type1.c1588 prot |= IOMMU_READ; in vfio_dma_do_map()
1869 IOMMU_READ | IOMMU_WRITE | IOMMU_CACHE); in vfio_test_domain_fgsp()
3090 !(dma->prot & IOMMU_READ)) in vfio_iommu_type1_dma_rw_chunk()

12