• Home
  • Raw
  • Download

Lines Matching refs:prot

335 static arm_v7s_iopte arm_v7s_prot_to_pte(int prot, int lvl,  in arm_v7s_prot_to_pte()  argument
341 if (!(prot & IOMMU_MMIO)) in arm_v7s_prot_to_pte()
345 if (!(prot & IOMMU_PRIV)) in arm_v7s_prot_to_pte()
347 if (!(prot & IOMMU_WRITE)) in arm_v7s_prot_to_pte()
352 if ((prot & IOMMU_NOEXEC) && ap) in arm_v7s_prot_to_pte()
354 if (prot & IOMMU_MMIO) in arm_v7s_prot_to_pte()
356 else if (prot & IOMMU_CACHE) in arm_v7s_prot_to_pte()
368 int prot = IOMMU_READ; in arm_v7s_pte_to_prot() local
372 prot |= IOMMU_WRITE; in arm_v7s_pte_to_prot()
374 prot |= IOMMU_PRIV; in arm_v7s_pte_to_prot()
376 prot |= IOMMU_MMIO; in arm_v7s_pte_to_prot()
378 prot |= IOMMU_CACHE; in arm_v7s_pte_to_prot()
380 prot |= IOMMU_NOEXEC; in arm_v7s_pte_to_prot()
382 return prot; in arm_v7s_pte_to_prot()
432 unsigned long iova, phys_addr_t paddr, int prot, in arm_v7s_init_pte() argument
458 pte = arm_v7s_prot_to_pte(prot, lvl, cfg); in arm_v7s_init_pte()
498 phys_addr_t paddr, size_t size, int prot, in __arm_v7s_map() argument
510 return arm_v7s_init_pte(data, iova, paddr, prot, in __arm_v7s_map()
541 return __arm_v7s_map(data, iova, paddr, size, prot, lvl + 1, cptep, gfp); in __arm_v7s_map()
546 int prot, gfp_t gfp, size_t *mapped) in arm_v7s_map_pages() argument
556 if (!(prot & (IOMMU_READ | IOMMU_WRITE))) in arm_v7s_map_pages()
560 ret = __arm_v7s_map(data, iova, paddr, pgsize, prot, 1, data->pgd, in arm_v7s_map_pages()
580 phys_addr_t paddr, size_t size, int prot, gfp_t gfp) in arm_v7s_map() argument
582 return arm_v7s_map_pages(ops, iova, paddr, size, 1, prot, gfp, NULL); in arm_v7s_map()