Searched refs:iommu_prot (Results 1 – 5 of 5) sorted by relevance
217 unsigned int iommu_prot) in vtdss_pt_iommu_set_prot() argument225 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()
342 unsigned int iommu_prot) in amdv1pt_iommu_set_prot() argument348 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()
195 int iommu_prot = IOMMU_CACHE; in conv_iommu_prot() local198 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()
228 int iommu_prot, gfp_t gfp, size_t *mapped) in dart_map_pages() argument244 if (!(iommu_prot & (IOMMU_READ | IOMMU_WRITE))) in dart_map_pages()275 prot = dart_prot_to_pte(data, iommu_prot); in dart_map_pages()
551 int iommu_prot, gfp_t gfp, size_t *mapped) in arm_lpae_map_pages() argument568 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()