Searched refs:dma_sgt (Results 1 – 2 of 2) sorted by relevance
47 struct sg_table *dma_sgt; member122 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()167 sg_free_table(buf->dma_sgt); in vb2_dma_sg_alloc()192 sg_free_table(buf->dma_sgt); in vb2_dma_sg_put()204 struct sg_table *sgt = buf->dma_sgt; in vb2_dma_sg_prepare()215 struct sg_table *sgt = buf->dma_sgt; in vb2_dma_sg_finish()242 buf->dma_sgt = &buf->sg_table; in vb2_dma_sg_get_userptr()254 if (sg_alloc_table_from_pages(buf->dma_sgt, buf->pages, in vb2_dma_sg_get_userptr()293 sg_free_table(buf->dma_sgt); in vb2_dma_sg_put_userptr()[all …]
34 struct sg_table *dma_sgt; member112 buf->dma_sgt); in vb2_dc_vaddr()126 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_prepare()146 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_finish()178 buf->dma_sgt, buf->dma_dir); in vb2_dc_put()214 buf->dma_sgt = dma_alloc_noncontiguous(buf->dev, in vb2_dc_alloc_non_coherent()219 if (!buf->dma_sgt) in vb2_dc_alloc_non_coherent()222 buf->dma_addr = sg_dma_address(buf->dma_sgt->sgl); in vb2_dc_alloc_non_coherent()286 buf->dma_sgt); in vb2_dc_mmap()488 return buf->dma_sgt; in vb2_dc_get_base_sgt()[all …]