Searched refs:dma_sgt (Results 1 – 3 of 3) sorted by relevance
47 struct sg_table *dma_sgt; member121 buf->dma_sgt = &buf->sg_table; in vb2_dma_sg_alloc()137 ret = sg_alloc_table_from_pages(buf->dma_sgt, buf->pages, in vb2_dma_sg_alloc()166 sg_free_table(buf->dma_sgt); in vb2_dma_sg_alloc()191 sg_free_table(buf->dma_sgt); in vb2_dma_sg_put()203 struct sg_table *sgt = buf->dma_sgt; in vb2_dma_sg_prepare()211 struct sg_table *sgt = buf->dma_sgt; in vb2_dma_sg_finish()236 buf->dma_sgt = &buf->sg_table; in vb2_dma_sg_get_userptr()247 if (sg_alloc_table_from_pages(buf->dma_sgt, buf->pages, in vb2_dma_sg_get_userptr()286 sg_free_table(buf->dma_sgt); in vb2_dma_sg_put_userptr()[all …]
36 struct sg_table *dma_sgt; member163 buf->dma_sgt = &buf->sg_table; in vb2_cma_sg_alloc()179 ret = sg_alloc_table_from_pages(buf->dma_sgt, buf->pages, in vb2_cma_sg_alloc()202 sg_free_table(buf->dma_sgt); in vb2_cma_sg_alloc()226 sg_free_table(buf->dma_sgt); in vb2_cma_sg_put()241 struct sg_table *sgt = buf->dma_sgt; in vb2_cma_sg_prepare()249 struct sg_table *sgt = buf->dma_sgt; in vb2_cma_sg_finish()274 buf->dma_sgt = &buf->sg_table; in vb2_cma_sg_get_userptr()285 if (sg_alloc_table_from_pages(buf->dma_sgt, buf->pages, in vb2_cma_sg_get_userptr()322 sg_free_table(buf->dma_sgt); in vb2_cma_sg_put_userptr()[all …]
33 struct sg_table *dma_sgt; member96 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_prepare()107 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_finish()428 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_put_userptr()551 buf->dma_sgt = sgt; in vb2_dc_get_userptr()590 if (WARN_ON(buf->dma_sgt)) { in vb2_dc_map_dmabuf()612 buf->dma_sgt = sgt; in vb2_dc_map_dmabuf()621 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_unmap_dmabuf()640 buf->dma_sgt = NULL; in vb2_dc_unmap_dmabuf()