Lines Matching refs:vb
102 struct vb2_v4l2_buffer vb; member
315 ptr = vb2_plane_vaddr(&fbuf->vb.vb2_buf, 0); in airspy_urb_complete()
318 vb2_set_plane_payload(&fbuf->vb.vb2_buf, 0, len); in airspy_urb_complete()
319 v4l2_get_timestamp(&fbuf->vb.timestamp); in airspy_urb_complete()
320 fbuf->vb.sequence = s->sequence++; in airspy_urb_complete()
321 vb2_buffer_done(&fbuf->vb.vb2_buf, VB2_BUF_STATE_DONE); in airspy_urb_complete()
464 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in airspy_cleanup_queued_bufs()
508 static void airspy_buf_queue(struct vb2_buffer *vb) in airspy_buf_queue() argument
510 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in airspy_buf_queue()
511 struct airspy *s = vb2_get_drv_priv(vb->vb2_queue); in airspy_buf_queue()
513 container_of(vbuf, struct airspy_frame_buf, vb); in airspy_buf_queue()
518 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in airspy_buf_queue()
577 vb2_buffer_done(&buf->vb.vb2_buf, in airspy_start_streaming()