Lines Matching refs:vb2_buf
55 struct vb2_buffer *vb2_buf; in tw686x_buf_done() local
62 vb2_buf = &vb->vb2_buf; in tw686x_buf_done()
65 memcpy(vb2_plane_vaddr(vb2_buf, 0), desc->virt, in tw686x_buf_done()
67 vb2_buf->timestamp = ktime_get_ns(); in tw686x_buf_done()
68 vb2_buffer_done(vb2_buf, VB2_BUF_STATE_DONE); in tw686x_buf_done()
167 phys = vb2_dma_contig_plane_dma_addr(&buf->vb.vb2_buf, 0); in tw686x_contig_buf_refill()
170 buf->vb.vb2_buf.state = VB2_BUF_STATE_ACTIVE; in tw686x_contig_buf_refill()
188 struct sg_table *vbuf = vb2_dma_sg_plane_desc(&buf->vb.vb2_buf, 0); in tw686x_sg_desc_fill()
242 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in tw686x_sg_buf_refill()
246 buf->vb.vb2_buf.state = VB2_BUF_STATE_ACTIVE; in tw686x_sg_buf_refill()
462 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in tw686x_buf_queue()
482 vb2_buffer_done(&buf->vb.vb2_buf, state); in tw686x_clear_queue()
487 vb2_buffer_done(&vc->curr_bufs[pb]->vb.vb2_buf, state); in tw686x_clear_queue()