Lines Matching refs:vb2_buf
388 vb2_buffer_done(&buf->vb.vb2_buf, state);
432 vcap->next->vb.vb2_buf.index, vcap->next, &vcap->next->addr);
548 buf->addr = vb2_dma_contig_plane_dma_addr(&buf->vb.vb2_buf, 0);
549 buf->size = vb2_plane_size(&buf->vb.vb2_buf, 0);
552 vb2_set_plane_payload(&buf->vb.vb2_buf, 0, buf->size);
561 static void dcmipp_bytecap_buf_queue(struct vb2_buffer *vb2_buf)
564 vb2_get_drv_priv(vb2_buf->vb2_queue);
565 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb2_buf);
568 dev_dbg(vcap->dev, "Queue [%d] %p phy=%pad\n", buf->vb.vb2_buf.index,
577 buf->vb.vb2_buf.index, buf, &buf->addr);
669 vbuf->vb2_buf.timestamp = ktime_get_ns();
670 vb2_set_plane_payload(&vbuf->vb2_buf, 0, bytesused);
671 vb2_buffer_done(&vbuf->vb2_buf,
673 dev_dbg(vcap->dev, "Done [%d] %p phy=%pad\n", buf->vb.vb2_buf.index,
708 vcap->next->vb.vb2_buf.index, vcap->next, &vcap->next->addr);