Home
last modified time | relevance | path

Searched refs:vb2_buffer_done (Results 1 – 25 of 113) sorted by relevance

12345

/drivers/media/test-drivers/vivid/
Dvivid-kthread-out.c99 vb2_buffer_done(&vid_out_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_vid_out_tick()
116 vb2_buffer_done(&vbi_out_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_vid_out_tick()
130 vb2_buffer_done(&meta_out_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_vid_out_tick()
309 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in vivid_stop_generating_vid_out()
324 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in vivid_stop_generating_vid_out()
339 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in vivid_stop_generating_vid_out()
Dvivid-kthread-touch.c33 vb2_buffer_done(&tch_cap_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_tch_cap_tick()
174 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in vivid_stop_generating_touch_cap()
Dvivid-kthread-cap.c738 vb2_buffer_done(&vid_cap_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_vid_cap_tick()
759 vb2_buffer_done(&vbi_cap_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_vid_cap_tick()
776 vb2_buffer_done(&meta_cap_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_vid_cap_tick()
963 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in vivid_stop_generating_vid_cap()
978 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in vivid_stop_generating_vid_cap()
993 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in vivid_stop_generating_vid_cap()
Dvivid-sdr-cap.c112 vb2_buffer_done(&sdr_cap_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_sdr_cap_tick()
283 vb2_buffer_done(&buf->vb.vb2_buf, in sdr_cap_start_streaming()
306 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in sdr_cap_stop_streaming()
Dvivid-meta-out.c98 vb2_buffer_done(&buf->vb.vb2_buf, in meta_out_start_streaming()
/drivers/usb/gadget/function/
Duvc_queue.c112 vb2_buffer_done(vb, VB2_BUF_STATE_ERROR); in uvc_buffer_queue()
245 vb2_buffer_done(&buf->buf.vb2_buf, VB2_BUF_STATE_ERROR); in uvcg_queue_cancel()
335 vb2_buffer_done(&buf->buf.vb2_buf, VB2_BUF_STATE_DONE); in uvcg_queue_next_buffer()
/drivers/media/dvb-core/
Ddvb_vb2.c104 vb2_buffer_done(&buf->vb, VB2_BUF_STATE_ERROR); in _stop_streaming()
293 vb2_buffer_done(&ctx->buf->vb, VB2_BUF_STATE_ERROR); in dvb_vb2_fill_buffer()
310 vb2_buffer_done(&ctx->buf->vb, VB2_BUF_STATE_DONE); in dvb_vb2_fill_buffer()
318 vb2_buffer_done(&ctx->buf->vb, VB2_BUF_STATE_DONE); in dvb_vb2_fill_buffer()
/drivers/media/platform/ti-vpe/
Dcal-video.c635 vb2_buffer_done(&ctx->cur_frm->vb.vb2_buf, VB2_BUF_STATE_QUEUED); in cal_start_streaming()
640 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_QUEUED); in cal_start_streaming()
678 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in cal_stop_streaming()
682 vb2_buffer_done(&ctx->cur_frm->vb.vb2_buf, VB2_BUF_STATE_ERROR); in cal_stop_streaming()
684 vb2_buffer_done(&ctx->cur_frm->vb.vb2_buf, VB2_BUF_STATE_ERROR); in cal_stop_streaming()
685 vb2_buffer_done(&ctx->next_frm->vb.vb2_buf, in cal_stop_streaming()
/drivers/media/platform/sunxi/sun4i-csi/
Dsun4i_dma.c173 vb2_buffer_done(&v_buf->vb2_buf, VB2_BUF_STATE_DONE); in sun4i_csi_buffer_mark_done()
211 vb2_buffer_done(&buf->vb.vb2_buf, state); in return_all_buffers()
221 vb2_buffer_done(&v_buf->vb2_buf, state); in return_all_buffers()
/drivers/media/usb/uvc/
Duvc_queue.c64 vb2_buffer_done(&buf->buf.vb2_buf, vb2_state); in uvc_queue_return_buffers()
147 vb2_buffer_done(vb, VB2_BUF_STATE_ERROR); in uvc_buffer_queue()
489 vb2_buffer_done(&buf->buf.vb2_buf, VB2_BUF_STATE_DONE); in uvc_queue_buffer_complete()
/drivers/media/platform/xilinx/
Dxilinx-dma.c312 vb2_buffer_done(&buf->buf.vb2_buf, VB2_BUF_STATE_DONE); in xvip_dma_complete()
374 vb2_buffer_done(&buf->buf.vb2_buf, VB2_BUF_STATE_ERROR); in xvip_dma_buffer_queue()
441 vb2_buffer_done(&buf->buf.vb2_buf, VB2_BUF_STATE_QUEUED); in xvip_dma_start_streaming()
468 vb2_buffer_done(&buf->buf.vb2_buf, VB2_BUF_STATE_ERROR); in xvip_dma_stop_streaming()
/drivers/media/usb/stk1160/
Dstk1160-v4l.c694 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in buffer_queue()
707 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in buffer_queue()
759 vb2_buffer_done(&buf->vb.vb2_buf, vb2_state); in stk1160_clear_queue()
769 vb2_buffer_done(&buf->vb.vb2_buf, vb2_state); in stk1160_clear_queue()
/drivers/media/usb/pwc/
Dpwc-if.c274 vb2_buffer_done(&fbuf->vb.vb2_buf, VB2_BUF_STATE_DONE); in pwc_frame_complete()
323 vb2_buffer_done(&pdev->fill_buf->vb.vb2_buf, in pwc_isoc_handler()
566 vb2_buffer_done(&buf->vb.vb2_buf, state); in pwc_cleanup_queued_bufs()
700 vb2_buffer_done(vb, VB2_BUF_STATE_ERROR); in buffer_queue()
749 vb2_buffer_done(&pdev->fill_buf->vb.vb2_buf, in stop_streaming()
/drivers/media/platform/davinci/
Dvpif_display.c237 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_QUEUED); in vpif_start_streaming()
272 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in vpif_stop_streaming()
276 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in vpif_stop_streaming()
279 vb2_buffer_done(&common->next_frm->vb.vb2_buf, in vpif_stop_streaming()
287 vb2_buffer_done(&common->next_frm->vb.vb2_buf, in vpif_stop_streaming()
336 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in process_interlaced_mode()
392 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in vpif_channel_isr()
Dvpbe_display.c68 vb2_buffer_done(&layer->cur_frm->vb.vb2_buf, VB2_BUF_STATE_DONE); in vpbe_isr_even_field()
292 vb2_buffer_done(&layer->cur_frm->vb.vb2_buf, in vpbe_start_streaming()
296 vb2_buffer_done(&buf->vb.vb2_buf, in vpbe_start_streaming()
327 vb2_buffer_done(&layer->cur_frm->vb.vb2_buf, in vpbe_stop_streaming()
331 vb2_buffer_done(&layer->cur_frm->vb.vb2_buf, in vpbe_stop_streaming()
334 vb2_buffer_done(&layer->next_frm->vb.vb2_buf, in vpbe_stop_streaming()
342 vb2_buffer_done(&layer->next_frm->vb.vb2_buf, in vpbe_stop_streaming()
Dvpif_capture.c242 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_QUEUED); in vpif_start_streaming()
284 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in vpif_stop_streaming()
288 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in vpif_stop_streaming()
291 vb2_buffer_done(&common->next_frm->vb.vb2_buf, in vpif_stop_streaming()
300 vb2_buffer_done(&common->next_frm->vb.vb2_buf, in vpif_stop_streaming()
327 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, VB2_BUF_STATE_DONE); in vpif_process_buffer_complete()
/drivers/media/pci/saa7134/
Dsaa7134-ts.c139 vb2_buffer_done(&buf->vb2.vb2_buf, in saa7134_ts_start_streaming()
143 vb2_buffer_done(&dmaq->curr->vb2.vb2_buf, in saa7134_ts_start_streaming()
/drivers/media/platform/
Drenesas-ceu.c540 vb2_buffer_done(&vbuf->vb2_buf, VB2_BUF_STATE_DONE); in ceu_irq()
548 vb2_buffer_done(&vbuf->vb2_buf, VB2_BUF_STATE_ERROR); in ceu_irq()
551 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in ceu_irq()
731 vb2_buffer_done(&ceudev->active->vb2_buf, in ceu_start_streaming()
755 vb2_buffer_done(&ceudev->active->vb2_buf, in ceu_stop_streaming()
762 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in ceu_stop_streaming()
/drivers/media/platform/sunxi/sun6i-csi/
Dsun6i_video.c214 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_QUEUED); in sun6i_video_start_streaming()
239 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in sun6i_video_stop_streaming()
290 vb2_buffer_done(&vbuf->vb2_buf, VB2_BUF_STATE_DONE); in sun6i_video_frame_done()
/drivers/media/platform/omap/
Domap_vout.c466 vb2_buffer_done(&vout->cur_frm->vbuf.vb2_buf, VB2_BUF_STATE_DONE); in omapvid_handle_interlace_display()
534 vb2_buffer_done(&vout->cur_frm->vbuf.vb2_buf, VB2_BUF_STATE_DONE); in omap_vout_isr()
1073 vb2_buffer_done(&vout->cur_frm->vbuf.vb2_buf, VB2_BUF_STATE_QUEUED); in omap_vout_vb2_start_streaming()
1076 vb2_buffer_done(&buf->vbuf.vb2_buf, VB2_BUF_STATE_QUEUED); in omap_vout_vb2_start_streaming()
1107 vb2_buffer_done(&vout->next_frm->vbuf.vb2_buf, VB2_BUF_STATE_ERROR); in omap_vout_vb2_stop_streaming()
1108 vb2_buffer_done(&vout->cur_frm->vbuf.vb2_buf, VB2_BUF_STATE_ERROR); in omap_vout_vb2_stop_streaming()
1111 vb2_buffer_done(&buf->vbuf.vb2_buf, VB2_BUF_STATE_ERROR); in omap_vout_vb2_stop_streaming()
/drivers/media/platform/s5p-mfc/
Ds5p_mfc.c139 vb2_buffer_done(&b->b->vb2_buf, VB2_BUF_STATE_ERROR); in s5p_mfc_cleanup_queue()
246 vb2_buffer_done(&dst_buf->b->vb2_buf, VB2_BUF_STATE_DONE); in s5p_mfc_handle_frame_all_extracted()
350 vb2_buffer_done(&dst_buf->b->vb2_buf, err ? in s5p_mfc_handle_frame_new()
442 vb2_buffer_done(&src_buf->b->vb2_buf, in s5p_mfc_handle_frame()
445 vb2_buffer_done(&src_buf->b->vb2_buf, in s5p_mfc_handle_frame()
581 vb2_buffer_done(&src_buf->b->vb2_buf, in s5p_mfc_handle_init_buffers()
617 vb2_buffer_done(&mb_entry->b->vb2_buf, VB2_BUF_STATE_DONE); in s5p_mfc_handle_stream_complete()
/drivers/media/pci/dt3155/
Ddt3155.c199 vb2_buffer_done(&pd->curr_buf->vb2_buf, VB2_BUF_STATE_ERROR); in dt3155_stop_streaming()
206 vb2_buffer_done(vb, VB2_BUF_STATE_ERROR); in dt3155_stop_streaming()
263 vb2_buffer_done(&ipd->curr_buf->vb2_buf, VB2_BUF_STATE_DONE); in dt3155_irq_handler_even()
/drivers/media/pci/tw686x/
Dtw686x-video.c68 vb2_buffer_done(vb2_buf, VB2_BUF_STATE_DONE); in tw686x_buf_done()
242 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in tw686x_sg_buf_refill()
463 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in tw686x_buf_queue()
483 vb2_buffer_done(&buf->vb.vb2_buf, state); in tw686x_clear_queue()
488 vb2_buffer_done(&vc->curr_bufs[pb]->vb.vb2_buf, state); in tw686x_clear_queue()
/drivers/media/usb/airspy/
Dairspy.c309 vb2_buffer_done(&fbuf->vb.vb2_buf, VB2_BUF_STATE_DONE); in airspy_urb_complete()
451 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in airspy_cleanup_queued_bufs()
505 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in airspy_buf_queue()
564 vb2_buffer_done(&buf->vb.vb2_buf, in airspy_start_streaming()
/drivers/media/usb/usbtv/
Dusbtv-video.c445 vb2_buffer_done(&buf->vb.vb2_buf, state); in usbtv_image_chunk()
549 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in usbtv_stop()
745 vb2_buffer_done(vb, VB2_BUF_STATE_ERROR); in usbtv_buf_queue()

12345