Lines Matching refs:dma_sgt
34 struct sg_table *dma_sgt; member
112 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()
543 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_put_userptr()
667 buf->dma_sgt = sgt; in vb2_dc_get_userptr()
708 if (WARN_ON(buf->dma_sgt)) { in vb2_dc_map_dmabuf()
730 buf->dma_sgt = sgt; in vb2_dc_map_dmabuf()
739 struct sg_table *sgt = buf->dma_sgt; in vb2_dc_unmap_dmabuf()
759 buf->dma_sgt = NULL; in vb2_dc_unmap_dmabuf()