Searched refs:iopgd (Results 1 – 4 of 4) sorted by relevance
/drivers/iommu/ |
D | omap-iommu.c | 158 if (!obj->iopgd || !IS_ALIGNED((unsigned long)obj->iopgd, SZ_16K)) in omap2_iommu_enable() 161 pa = virt_to_phys(obj->iopgd); in omap2_iommu_enable() 484 static u32 *iopte_alloc(struct omap_iommu *obj, u32 *iopgd, in iopte_alloc() argument 491 if (*iopgd) in iopte_alloc() 501 if (!*iopgd) { in iopte_alloc() 525 *iopgd = virt_to_phys(iopte) | IOPGD_TABLE; in iopte_alloc() 535 iopte = iopte_offset(iopgd, da); in iopte_alloc() 536 *pt_dma = iopgd_page_paddr(iopgd); in iopte_alloc() 539 __func__, da, iopgd, *iopgd, iopte, *iopte); in iopte_alloc() 546 u32 *iopgd = iopgd_offset(obj, da); in iopgd_alloc_section() local [all …]
|
D | omap-iopgtable.h | 91 #define iopgd_offset(obj, da) ((obj)->iopgd + iopgd_index(da)) 93 #define iopgd_page_paddr(iopgd) (*iopgd & ~((1 << 10) - 1)) argument 94 #define iopgd_page_vaddr(iopgd) ((u32 *)phys_to_virt(iopgd_page_paddr(iopgd))) argument 98 #define iopte_offset(iopgd, da) (iopgd_page_vaddr(iopgd) + iopte_index(da)) argument
|
D | omap-iommu-debug.c | 184 u32 *iopgd, *iopte; in dump_ioptable() local 189 iopgd = iopgd_offset(obj, 0); in dump_ioptable() 190 for (i = 0; i < PTRS_PER_IOPGD; i++, iopgd++) { in dump_ioptable() 191 if (!*iopgd) in dump_ioptable() 194 if (!(*iopgd & IOPGD_TABLE)) { in dump_ioptable() 196 seq_printf(s, "1: 0x%08x 0x%08x\n", da, *iopgd); in dump_ioptable() 200 iopte = iopte_offset(iopgd, 0); in dump_ioptable()
|
D | omap-iommu.h | 68 u32 *iopgd; member
|