Home
last modified time | relevance | path

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

123456

/linux-6.12.1/drivers/media/test-drivers/vivid/
Dvivid-kthread-out.c100 vb2_buffer_done(&vid_out_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_vid_out_tick()
117 vb2_buffer_done(&vbi_out_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_vid_out_tick()
131 vb2_buffer_done(&meta_out_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_vid_out_tick()
313 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in vivid_stop_generating_vid_out()
328 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in vivid_stop_generating_vid_out()
343 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in vivid_stop_generating_vid_out()
Dvivid-kthread-touch.c34 vb2_buffer_done(&tch_cap_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_tch_cap_tick()
184 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in vivid_stop_generating_touch_cap()
Dvivid-kthread-cap.c635 vb2_buffer_done(&vid_cap_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_vid_cap_tick()
656 vb2_buffer_done(&vbi_cap_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_vid_cap_tick()
673 vb2_buffer_done(&meta_cap_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_vid_cap_tick()
866 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in vivid_stop_generating_vid_cap()
881 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in vivid_stop_generating_vid_cap()
896 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in vivid_stop_generating_vid_cap()
Dvivid-sdr-cap.c113 vb2_buffer_done(&sdr_cap_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_sdr_cap_tick()
295 vb2_buffer_done(&buf->vb.vb2_buf, in sdr_cap_start_streaming()
318 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in sdr_cap_stop_streaming()
Dvivid-meta-out.c95 vb2_buffer_done(&buf->vb.vb2_buf, in meta_out_start_streaming()
/linux-6.12.1/drivers/usb/gadget/function/
Duvc_queue.c119 vb2_buffer_done(vb, VB2_BUF_STATE_ERROR); in uvc_buffer_queue()
262 vb2_buffer_done(&buf->buf.vb2_buf, VB2_BUF_STATE_ERROR); in uvcg_queue_cancel()
337 vb2_buffer_done(&buf->buf.vb2_buf, VB2_BUF_STATE_ERROR); in uvcg_complete_buffer()
346 vb2_buffer_done(&buf->buf.vb2_buf, VB2_BUF_STATE_DONE); in uvcg_complete_buffer()
/linux-6.12.1/drivers/staging/media/starfive/camss/
Dstf-capture.c364 vb2_buffer_done(&buf->vb.vb2_buf, state); in stf_buf_flush()
368 vb2_buffer_done(&buf->vb.vb2_buf, state); in stf_buf_flush()
389 vb2_buffer_done(&ready_buf->vb.vb2_buf, VB2_BUF_STATE_DONE); in stf_buf_done()
542 vb2_buffer_done(&v_bufs->buf[i]->vb.vb2_buf, state); in stf_flush_buffers()
548 vb2_buffer_done(&v_bufs->last_buffer->vb.vb2_buf, state); in stf_flush_buffers()
/linux-6.12.1/drivers/media/dvb-core/
Ddvb_vb2.c100 vb2_buffer_done(&buf->vb, VB2_BUF_STATE_ERROR); in _stop_streaming()
286 vb2_buffer_done(&ctx->buf->vb, VB2_BUF_STATE_ERROR); in dvb_vb2_fill_buffer()
303 vb2_buffer_done(&ctx->buf->vb, VB2_BUF_STATE_DONE); in dvb_vb2_fill_buffer()
311 vb2_buffer_done(&ctx->buf->vb, VB2_BUF_STATE_DONE); in dvb_vb2_fill_buffer()
/linux-6.12.1/drivers/media/pci/intel/ipu6/
Dipu6-isys-queue.c104 vb2_buffer_done(vb, state); in ipu6_isys_buffer_list_queue()
153 vb2_buffer_done(ipu6_isys_buffer_to_vb2_buffer(ib), in flush_firmware_streamon_fail()
464 vb2_buffer_done(vb, state); in return_buffers()
484 vb2_buffer_done(vb, state); in return_buffers()
696 vb2_buffer_done(vb, VB2_BUF_STATE_ERROR); in ipu6_isys_queue_buf_done()
703 vb2_buffer_done(vb, VB2_BUF_STATE_DONE); in ipu6_isys_queue_buf_done()
/linux-6.12.1/drivers/media/usb/uvc/
Duvc_queue.c58 vb2_buffer_done(&buf->buf.vb2_buf, vb2_state); in uvc_queue_return_buffers()
143 vb2_buffer_done(vb, VB2_BUF_STATE_ERROR); in uvc_buffer_queue()
486 vb2_buffer_done(&buf->buf.vb2_buf, VB2_BUF_STATE_DONE); in uvc_queue_buffer_complete()
/linux-6.12.1/drivers/media/pci/mgb4/
Dmgb4_vout.c99 vb2_buffer_done(&buf->vb.vb2_buf, state); in return_all_buffers()
216 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in start_streaming()
218 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_DONE); in start_streaming()
604 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in dma_transfer()
613 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in dma_transfer()
615 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_DONE); in dma_transfer()
/linux-6.12.1/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()
/linux-6.12.1/drivers/media/usb/stk1160/
Dstk1160-v4l.c698 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in buffer_queue()
711 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in buffer_queue()
763 vb2_buffer_done(&buf->vb.vb2_buf, vb2_state); in stk1160_clear_queue()
773 vb2_buffer_done(&buf->vb.vb2_buf, vb2_state); in stk1160_clear_queue()
/linux-6.12.1/drivers/media/platform/xilinx/
Dxilinx-dma.c296 vb2_buffer_done(&buf->buf.vb2_buf, VB2_BUF_STATE_DONE); in xvip_dma_complete()
358 vb2_buffer_done(&buf->buf.vb2_buf, VB2_BUF_STATE_ERROR); in xvip_dma_buffer_queue()
424 vb2_buffer_done(&buf->buf.vb2_buf, VB2_BUF_STATE_QUEUED); in xvip_dma_start_streaming()
451 vb2_buffer_done(&buf->buf.vb2_buf, VB2_BUF_STATE_ERROR); in xvip_dma_stop_streaming()
/linux-6.12.1/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()
/linux-6.12.1/drivers/staging/media/sunxi/sun6i-isp/
Dsun6i_isp_params.c209 vb2_buffer_done(vb2_buffer, error ? VB2_BUF_STATE_ERROR : in sun6i_isp_params_state_cleanup()
217 vb2_buffer_done(vb2_buffer, error ? VB2_BUF_STATE_ERROR : in sun6i_isp_params_state_cleanup()
282 vb2_buffer_done(vb2_buffer, VB2_BUF_STATE_DONE); in sun6i_isp_params_state_complete()
Dsun6i_isp_capture.c169 vb2_buffer_done(vb2_buffer, error ? VB2_BUF_STATE_ERROR : in sun6i_isp_capture_state_cleanup()
177 vb2_buffer_done(vb2_buffer, error ? VB2_BUF_STATE_ERROR : in sun6i_isp_capture_state_cleanup()
239 vb2_buffer_done(vb2_buffer, VB2_BUF_STATE_DONE); in sun6i_isp_capture_state_complete()
/linux-6.12.1/drivers/media/platform/ti/davinci/
Dvpif_display.c238 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_QUEUED); in vpif_start_streaming()
273 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in vpif_stop_streaming()
277 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in vpif_stop_streaming()
280 vb2_buffer_done(&common->next_frm->vb.vb2_buf, in vpif_stop_streaming()
288 vb2_buffer_done(&common->next_frm->vb.vb2_buf, in vpif_stop_streaming()
337 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in process_interlaced_mode()
393 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in vpif_channel_isr()
/linux-6.12.1/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()
/linux-6.12.1/drivers/media/platform/renesas/
Drenesas-ceu.c539 vb2_buffer_done(&vbuf->vb2_buf, VB2_BUF_STATE_DONE); in ceu_irq()
547 vb2_buffer_done(&vbuf->vb2_buf, VB2_BUF_STATE_ERROR); in ceu_irq()
550 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in ceu_irq()
721 vb2_buffer_done(&ceudev->active->vb2_buf, in ceu_start_streaming()
745 vb2_buffer_done(&ceudev->active->vb2_buf, in ceu_stop_streaming()
752 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in ceu_stop_streaming()
/linux-6.12.1/drivers/media/platform/ti/j721e-csi2rx/
Dj721e-csi2rx.c613 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_DONE); in ti_csi2rx_dma_callback()
622 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in ti_csi2rx_dma_callback()
703 vb2_buffer_done(&buf->vb.vb2_buf, state); in ti_csi2rx_cleanup_buffers()
707 vb2_buffer_done(&buf->vb.vb2_buf, state); in ti_csi2rx_cleanup_buffers()
792 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in ti_csi2rx_buffer_queue()
/linux-6.12.1/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc.c139 vb2_buffer_done(&b->b->vb2_buf, VB2_BUF_STATE_ERROR); in s5p_mfc_cleanup_queue()
252 vb2_buffer_done(&dst_buf->b->vb2_buf, VB2_BUF_STATE_DONE); in s5p_mfc_handle_frame_all_extracted()
362 vb2_buffer_done(&dst_buf->b->vb2_buf, err ? in s5p_mfc_handle_frame_new()
454 vb2_buffer_done(&src_buf->b->vb2_buf, in s5p_mfc_handle_frame()
457 vb2_buffer_done(&src_buf->b->vb2_buf, in s5p_mfc_handle_frame()
596 vb2_buffer_done(&src_buf->b->vb2_buf, in s5p_mfc_handle_init_buffers()
634 vb2_buffer_done(&mb_entry->b->vb2_buf, VB2_BUF_STATE_DONE); in s5p_mfc_handle_stream_complete()
/linux-6.12.1/drivers/media/platform/ti/omap/
Domap_vout.c466 vb2_buffer_done(&vout->cur_frm->vbuf.vb2_buf, VB2_BUF_STATE_DONE); in omapvid_handle_interlace_display()
535 vb2_buffer_done(&vout->cur_frm->vbuf.vb2_buf, VB2_BUF_STATE_DONE); in omap_vout_isr()
1076 vb2_buffer_done(&vout->cur_frm->vbuf.vb2_buf, VB2_BUF_STATE_QUEUED); in omap_vout_vb2_start_streaming()
1079 vb2_buffer_done(&buf->vbuf.vb2_buf, VB2_BUF_STATE_QUEUED); in omap_vout_vb2_start_streaming()
1110 vb2_buffer_done(&vout->next_frm->vbuf.vb2_buf, VB2_BUF_STATE_ERROR); in omap_vout_vb2_stop_streaming()
1111 vb2_buffer_done(&vout->cur_frm->vbuf.vb2_buf, VB2_BUF_STATE_ERROR); in omap_vout_vb2_stop_streaming()
1114 vb2_buffer_done(&buf->vbuf.vb2_buf, VB2_BUF_STATE_ERROR); in omap_vout_vb2_stop_streaming()
/linux-6.12.1/drivers/media/pci/dt3155/
Ddt3155.c197 vb2_buffer_done(&pd->curr_buf->vb2_buf, VB2_BUF_STATE_ERROR); in dt3155_stop_streaming()
204 vb2_buffer_done(vb, VB2_BUF_STATE_ERROR); in dt3155_stop_streaming()
261 vb2_buffer_done(&ipd->curr_buf->vb2_buf, VB2_BUF_STATE_DONE); in dt3155_irq_handler_even()
/linux-6.12.1/drivers/media/common/saa7146/
Dsaa7146_vbi.c299 vb2_buffer_done(&buf->vb.vb2_buf, state); in return_buffers()
304 vb2_buffer_done(&buf->vb.vb2_buf, state); in return_buffers()

123456