Home
last modified time | relevance | path

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

/drivers/media/common/videobuf2/
Dvideobuf2-dma-sg.c47 struct sg_table *dma_sgt; member
122 buf->dma_sgt = &buf->sg_table; in vb2_dma_sg_alloc()
138 ret = sg_alloc_table_from_pages(buf->dma_sgt, buf->pages, in vb2_dma_sg_alloc()
168 sg_free_table(buf->dma_sgt); in vb2_dma_sg_alloc()
193 sg_free_table(buf->dma_sgt); in vb2_dma_sg_put()
205 struct sg_table *sgt = buf->dma_sgt; in vb2_dma_sg_prepare()
213 struct sg_table *sgt = buf->dma_sgt; in vb2_dma_sg_finish()
237 buf->dma_sgt = &buf->sg_table; in vb2_dma_sg_get_userptr()
249 if (sg_alloc_table_from_pages(buf->dma_sgt, buf->pages, in vb2_dma_sg_get_userptr()
288 sg_free_table(buf->dma_sgt); in vb2_dma_sg_put_userptr()
[all …]
Dvideobuf2-dma-contig.c33 struct sg_table *dma_sgt; member
102 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_prepare()
113 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_finish()
440 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_put_userptr()
564 buf->dma_sgt = sgt; in vb2_dc_get_userptr()
603 if (WARN_ON(buf->dma_sgt)) { in vb2_dc_map_dmabuf()
625 buf->dma_sgt = sgt; in vb2_dc_map_dmabuf()
634 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_unmap_dmabuf()
654 buf->dma_sgt = NULL; in vb2_dc_unmap_dmabuf()