Lines Matching refs:pt_dma
470 dma_addr_t pt_dma; in iopte_free() local
475 pt_dma = virt_to_phys(iopte); in iopte_free()
476 dma_unmap_single(obj->dev, pt_dma, IOPTE_TABLE_SIZE, in iopte_free()
485 dma_addr_t *pt_dma, u32 da) in iopte_alloc() argument
505 *pt_dma = dma_map_single(obj->dev, iopte, IOPTE_TABLE_SIZE, in iopte_alloc()
507 if (dma_mapping_error(obj->dev, *pt_dma)) { in iopte_alloc()
517 if (WARN_ON(*pt_dma != virt_to_phys(iopte))) { in iopte_alloc()
519 dma_unmap_single(obj->dev, *pt_dma, IOPTE_TABLE_SIZE, in iopte_alloc()
536 *pt_dma = iopgd_page_paddr(iopgd); in iopte_alloc()
581 dma_addr_t pt_dma; in iopte_alloc_page() local
582 u32 *iopte = iopte_alloc(obj, iopgd, &pt_dma, da); in iopte_alloc_page()
589 flush_iopte_range(obj->dev, pt_dma, offset, 1); in iopte_alloc_page()
600 dma_addr_t pt_dma; in iopte_alloc_large() local
601 u32 *iopte = iopte_alloc(obj, iopgd, &pt_dma, da); in iopte_alloc_large()
616 flush_iopte_range(obj->dev, pt_dma, offset, 16); in iopte_alloc_large()
705 dma_addr_t pt_dma; in iopgtable_clear_entry_core() local
724 pt_dma = iopgd_page_paddr(iopgd); in iopgtable_clear_entry_core()
725 flush_iopte_range(obj->dev, pt_dma, pt_offset, nent); in iopgtable_clear_entry_core()