Lines Matching refs:vbuf
330 struct camif_buffer *vbuf; in s3c_camif_irq_handler() local
337 vbuf = camif_active_queue_peek(vp, index); in s3c_camif_irq_handler()
339 if (!WARN_ON(vbuf == NULL)) { in s3c_camif_irq_handler()
341 v4l2_get_timestamp(&vbuf->vb.timestamp); in s3c_camif_irq_handler()
342 vbuf->vb.sequence = vp->frame_sequence++; in s3c_camif_irq_handler()
343 vb2_buffer_done(&vbuf->vb.vb2_buf, VB2_BUF_STATE_DONE); in s3c_camif_irq_handler()
346 vbuf = camif_pending_queue_pop(vp); in s3c_camif_irq_handler()
347 vbuf->index = index; in s3c_camif_irq_handler()
348 camif_hw_set_output_addr(vp, &vbuf->paddr, index); in s3c_camif_irq_handler()
349 camif_hw_set_output_addr(vp, &vbuf->paddr, index + 2); in s3c_camif_irq_handler()
352 camif_active_queue_add(vp, vbuf); in s3c_camif_irq_handler()
494 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_queue() local
495 struct camif_buffer *buf = container_of(vbuf, struct camif_buffer, vb); in buffer_queue()