Home
last modified time | relevance | path

Searched refs:iommu_prot (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/iommu/generic_pt/fmt/
H A Dvtdss.h217 unsigned int iommu_prot) in vtdss_pt_iommu_set_prot() argument
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()
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.h342 unsigned int iommu_prot) in amdv1pt_iommu_set_prot() argument
348 if (iommu_prot & IOMMU_READ) in amdv1pt_iommu_set_prot()
350 if (iommu_prot & IOMMU_WRITE) in amdv1pt_iommu_set_prot()
358 !(iommu_prot & IOMMU_MMIO)) in amdv1pt_iommu_set_prot()
/linux/drivers/iommu/iommufd/
H A Dioas.c195 int iommu_prot = IOMMU_CACHE; in conv_iommu_prot() local
198 iommu_prot |= IOMMU_WRITE; in conv_iommu_prot()
200 iommu_prot |= IOMMU_READ; in conv_iommu_prot()
201 return iommu_prot; in conv_iommu_prot()
/linux/drivers/iommu/
H A Dio-pgtable-dart.c228 int iommu_prot, gfp_t gfp, size_t *mapped) in dart_map_pages() argument
244 if (!(iommu_prot & (IOMMU_READ | IOMMU_WRITE))) in dart_map_pages()
275 prot = dart_prot_to_pte(data, iommu_prot); in dart_map_pages()
H A Dio-pgtable-arm.c551 int iommu_prot, gfp_t gfp, size_t *mapped) in arm_lpae_map_pages() argument
568 if (!(iommu_prot & (IOMMU_READ | IOMMU_WRITE))) in arm_lpae_map_pages()
571 prot = arm_lpae_prot_to_pte(data, iommu_prot); in arm_lpae_map_pages()