Searched refs:iopte (Results 1 – 2 of 2) sorted by relevance
/drivers/iommu/ |
D | omap-iommu.c | 480 static void iopte_free(struct omap_iommu *obj, u32 *iopte, bool dma_valid) in iopte_free() argument 485 if (iopte) { in iopte_free() 487 pt_dma = virt_to_phys(iopte); in iopte_free() 492 kmem_cache_free(iopte_cachep, iopte); in iopte_free() 499 u32 *iopte; in iopte_alloc() local 510 iopte = kmem_cache_zalloc(iopte_cachep, GFP_KERNEL); in iopte_alloc() 514 if (!iopte) in iopte_alloc() 517 *pt_dma = dma_map_single(obj->dev, iopte, IOPTE_TABLE_SIZE, in iopte_alloc() 521 iopte_free(obj, iopte, false); in iopte_alloc() 529 if (WARN_ON(*pt_dma != virt_to_phys(iopte))) { in iopte_alloc() [all …]
|
D | omap-iommu-debug.c | 181 u32 *iopgd, *iopte; in dump_ioptable() local 197 iopte = iopte_offset(iopgd, 0); in dump_ioptable() 198 for (j = 0; j < PTRS_PER_IOPTE; j++, iopte++) { in dump_ioptable() 199 if (!*iopte) in dump_ioptable() 203 seq_printf(s, "2: 0x%08x 0x%08x\n", da, *iopte); in dump_ioptable()
|