Lines Matching refs:vbuf
145 static inline struct ceu_buffer *vb2_to_ceu(struct vb2_v4l2_buffer *vbuf)
147 return container_of(vbuf, struct ceu_buffer, vb);
493 struct vb2_v4l2_buffer *vbuf;
508 vbuf = ceudev->active;
509 if (!vbuf) {
524 vbuf->vb2_buf.timestamp = ktime_get_ns();
525 vbuf->sequence = ceudev->sequence++;
526 vbuf->field = ceudev->field;
539 vb2_buffer_done(&vbuf->vb2_buf, VB2_BUF_STATE_DONE);
547 vb2_buffer_done(&vbuf->vb2_buf, VB2_BUF_STATE_ERROR);
648 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb);
649 struct ceu_buffer *buf = vb2_to_ceu(vbuf);