Home
last modified time | relevance | path

Searched refs:iopte (Results 1 – 2 of 2) sorted by relevance

/drivers/iommu/
Domap-iommu.c468 static void iopte_free(struct omap_iommu *obj, u32 *iopte, bool dma_valid) in iopte_free() argument
473 if (iopte) { in iopte_free()
475 pt_dma = virt_to_phys(iopte); in iopte_free()
480 kmem_cache_free(iopte_cachep, iopte); in iopte_free()
487 u32 *iopte; in iopte_alloc() local
498 iopte = kmem_cache_zalloc(iopte_cachep, GFP_KERNEL); in iopte_alloc()
502 if (!iopte) in iopte_alloc()
505 *pt_dma = dma_map_single(obj->dev, iopte, IOPTE_TABLE_SIZE, in iopte_alloc()
509 iopte_free(obj, iopte, false); in iopte_alloc()
517 if (WARN_ON(*pt_dma != virt_to_phys(iopte))) { in iopte_alloc()
[all …]
Domap-iommu-debug.c184 u32 *iopgd, *iopte; in dump_ioptable() local
200 iopte = iopte_offset(iopgd, 0); in dump_ioptable()
201 for (j = 0; j < PTRS_PER_IOPTE; j++, iopte++) { in dump_ioptable()
202 if (!*iopte) in dump_ioptable()
206 seq_printf(s, "2: 0x%08x 0x%08x\n", da, *iopte); in dump_ioptable()