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