Lines Matching refs:vb
88 struct vb2_buffer vb; /* common v4l buffer stuff -- must be first */ member
290 ptr = vb2_plane_vaddr(&fbuf->vb, 0); in hackrf_urb_complete()
293 vb2_set_plane_payload(&fbuf->vb, 0, len); in hackrf_urb_complete()
294 v4l2_get_timestamp(&fbuf->vb.v4l2_buf.timestamp); in hackrf_urb_complete()
295 fbuf->vb.v4l2_buf.sequence = dev->sequence++; in hackrf_urb_complete()
296 vb2_buffer_done(&fbuf->vb, VB2_BUF_STATE_DONE); in hackrf_urb_complete()
440 vb2_buffer_done(&buf->vb, VB2_BUF_STATE_ERROR); in hackrf_cleanup_queued_bufs()
484 static void hackrf_buf_queue(struct vb2_buffer *vb) in hackrf_buf_queue() argument
486 struct hackrf_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in hackrf_buf_queue()
488 container_of(vb, struct hackrf_frame_buf, vb); in hackrf_buf_queue()
542 vb2_buffer_done(&buf->vb, VB2_BUF_STATE_QUEUED); in hackrf_start_streaming()