Lines Matching refs:dma_addrs
90 dma_addr_t *dma_addrs; member
280 omap_obj->dma_addrs = addrs; in omap_gem_attach_pages()
303 if (omap_obj->dma_addrs[i]) in omap_gem_detach_pages()
304 dma_unmap_page(obj->dev->dev, omap_obj->dma_addrs[i], in omap_gem_detach_pages()
308 kfree(omap_obj->dma_addrs); in omap_gem_detach_pages()
309 omap_obj->dma_addrs = NULL; in omap_gem_detach_pages()
710 if (omap_obj->dma_addrs[pgoff]) { in omap_gem_cpu_sync_page()
711 dma_unmap_page(dev->dev, omap_obj->dma_addrs[pgoff], in omap_gem_cpu_sync_page()
713 omap_obj->dma_addrs[pgoff] = 0; in omap_gem_cpu_sync_page()
731 if (!omap_obj->dma_addrs[i]) { in omap_gem_dma_sync_buffer()
743 omap_obj->dma_addrs[i] = addr; in omap_gem_dma_sync_buffer()
1043 sg_dma_address(sg) = omap_obj->dma_addrs[i]; in omap_gem_get_sg()