Lines Matching refs:curr_buf
151 struct vb2_buffer *vb = &pd->curr_buf->vb2_buf;
198 if (pd->curr_buf) {
199 vb2_buffer_done(&pd->curr_buf->vb2_buf, VB2_BUF_STATE_ERROR);
200 pd->curr_buf = NULL;
218 if (pd->curr_buf)
221 pd->curr_buf = vbuf;
259 if (ipd->curr_buf && !list_empty(&ipd->dmaq)) {
260 ipd->curr_buf->vb2_buf.timestamp = ktime_get_ns();
261 ipd->curr_buf->sequence = ipd->sequence++;
262 ipd->curr_buf->field = V4L2_FIELD_NONE;
263 vb2_buffer_done(&ipd->curr_buf->vb2_buf, VB2_BUF_STATE_DONE);
267 ipd->curr_buf = to_vb2_v4l2_buffer(ivb);