Lines Matching refs:vbuf
330 struct camif_buffer *vbuf;
341 vbuf = camif_active_queue_peek(vp, index);
343 if (!WARN_ON(vbuf == NULL)) {
345 tv = &vbuf->vb.v4l2_buf.timestamp;
348 vbuf->vb.v4l2_buf.sequence = vp->frame_sequence++;
349 vb2_buffer_done(&vbuf->vb, VB2_BUF_STATE_DONE);
352 vbuf = camif_pending_queue_pop(vp);
353 vbuf->index = index;
354 camif_hw_set_output_addr(vp, &vbuf->paddr, index);
355 camif_hw_set_output_addr(vp, &vbuf->paddr, index + 2);
358 camif_active_queue_add(vp, vbuf);