Lines Matching defs:prot
530 static int iopgd_alloc_section(struct iommu *obj, u32 da, u32 pa, u32 prot)
540 *iopgd = (pa & IOSECTION_MASK) | prot | IOPGD_SECTION;
545 static int iopgd_alloc_super(struct iommu *obj, u32 da, u32 pa, u32 prot)
557 *(iopgd + i) = (pa & IOSUPER_MASK) | prot | IOPGD_SUPER;
562 static int iopte_alloc_page(struct iommu *obj, u32 da, u32 pa, u32 prot)
570 *iopte = (pa & IOPAGE_MASK) | prot | IOPTE_SMALL;
579 static int iopte_alloc_large(struct iommu *obj, u32 da, u32 pa, u32 prot)
595 *(iopte + i) = (pa & IOLARGE_MASK) | prot | IOPTE_LARGE;
603 u32 prot;
628 prot = get_iopte_attr(e);
631 err = fn(obj, e->da, e->pa, prot);