Home
last modified time | relevance | path

Searched refs:cur_frm (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.10/drivers/media/platform/davinci/
Dvpif_display.c198 common->next_frm = common->cur_frm = in vpif_start_streaming()
202 list_del(&common->cur_frm->list); in vpif_start_streaming()
205 addr = vb2_dma_contig_plane_dma_addr(&common->cur_frm->vb.vb2_buf, 0); in vpif_start_streaming()
271 if (common->cur_frm == common->next_frm) { in vpif_stop_streaming()
272 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in vpif_stop_streaming()
275 if (common->cur_frm) in vpif_stop_streaming()
276 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in vpif_stop_streaming()
328 if (common->cur_frm == common->next_frm) in process_interlaced_mode()
334 common->cur_frm->vb.vb2_buf.timestamp = ktime_get_ns(); in process_interlaced_mode()
336 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in process_interlaced_mode()
[all …]
Dvpbe_display.c64 if (layer->cur_frm == layer->next_frm) in vpbe_isr_even_field()
67 layer->cur_frm->vb.vb2_buf.timestamp = ktime_get_ns(); in vpbe_isr_even_field()
68 vb2_buffer_done(&layer->cur_frm->vb.vb2_buf, VB2_BUF_STATE_DONE); in vpbe_isr_even_field()
70 layer->cur_frm = layer->next_frm; in vpbe_isr_even_field()
81 (layer->cur_frm != layer->next_frm)) { in vpbe_isr_odd_field()
278 layer->next_frm = layer->cur_frm = list_entry(layer->dma_queue.next, in vpbe_start_streaming()
281 list_del(&layer->cur_frm->list); in vpbe_start_streaming()
283 layer->cur_frm->vb.vb2_buf.state = VB2_BUF_STATE_ACTIVE; in vpbe_start_streaming()
292 vb2_buffer_done(&layer->cur_frm->vb.vb2_buf, in vpbe_start_streaming()
326 if (layer->cur_frm == layer->next_frm) { in vpbe_stop_streaming()
[all …]
Dvpfe_capture.c475 addr = videobuf_to_dma_contig(vpfe_dev->cur_frm); in vpfe_schedule_bottom_field()
482 vpfe_dev->cur_frm->ts = ktime_get_ns(); in vpfe_process_buffer_complete()
483 vpfe_dev->cur_frm->state = VIDEOBUF_DONE; in vpfe_process_buffer_complete()
484 vpfe_dev->cur_frm->size = vpfe_dev->fmt.fmt.pix.sizeimage; in vpfe_process_buffer_complete()
485 wake_up_interruptible(&vpfe_dev->cur_frm->done); in vpfe_process_buffer_complete()
486 vpfe_dev->cur_frm = vpfe_dev->next_frm; in vpfe_process_buffer_complete()
511 if (vpfe_dev->cur_frm != vpfe_dev->next_frm) in vpfe_isr()
530 if (vpfe_dev->cur_frm != vpfe_dev->next_frm) in vpfe_isr()
549 vpfe_dev->cur_frm == vpfe_dev->next_frm) in vpfe_isr()
583 vpfe_dev->cur_frm == vpfe_dev->next_frm) in vdint1_isr()
[all …]
Dvpif_capture.c206 common->cur_frm = common->next_frm = list_entry(common->dma_queue.next, in vpif_start_streaming()
209 list_del(&common->cur_frm->list); in vpif_start_streaming()
212 addr = vb2_dma_contig_plane_dma_addr(&common->cur_frm->vb.vb2_buf, 0); in vpif_start_streaming()
283 if (common->cur_frm == common->next_frm) { in vpif_stop_streaming()
284 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in vpif_stop_streaming()
287 if (common->cur_frm) in vpif_stop_streaming()
288 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in vpif_stop_streaming()
326 common->cur_frm->vb.vb2_buf.timestamp = ktime_get_ns(); in vpif_process_buffer_complete()
327 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, VB2_BUF_STATE_DONE); in vpif_process_buffer_complete()
329 common->cur_frm = common->next_frm; in vpif_process_buffer_complete()
[all …]
Dvpif_capture.h48 struct vpif_cap_buffer *cur_frm; member
Dvpif_display.h70 struct vpif_disp_buffer *cur_frm; /* Pointer pointing to current member
/Linux-v5.10/drivers/media/platform/omap/
Domap_vout.c461 if (vout->cur_frm == vout->next_frm) in omapvid_handle_interlace_display()
464 vout->cur_frm->vbuf.vb2_buf.timestamp = ts; in omapvid_handle_interlace_display()
465 vout->cur_frm->vbuf.sequence = vout->sequence++; in omapvid_handle_interlace_display()
466 vb2_buffer_done(&vout->cur_frm->vbuf.vb2_buf, VB2_BUF_STATE_DONE); in omapvid_handle_interlace_display()
467 vout->cur_frm = vout->next_frm; in omapvid_handle_interlace_display()
470 (vout->cur_frm != vout->next_frm)) in omapvid_handle_interlace_display()
531 if (!vout->first_int && (vout->cur_frm != vout->next_frm)) { in omap_vout_isr()
532 vout->cur_frm->vbuf.vb2_buf.timestamp = ts; in omap_vout_isr()
533 vout->cur_frm->vbuf.sequence = vout->sequence++; in omap_vout_isr()
534 vb2_buffer_done(&vout->cur_frm->vbuf.vb2_buf, VB2_BUF_STATE_DONE); in omap_vout_isr()
[all …]
Domap_voutdef.h170 struct omap_vout_buffer *cur_frm, *next_frm; member
/Linux-v5.10/drivers/media/platform/ti-vpe/
Dcal.c316 ctx->cur_frm->vb.vb2_buf.timestamp = ktime_get_ns(); in cal_process_buffer_complete()
317 ctx->cur_frm->vb.field = ctx->m_fmt.field; in cal_process_buffer_complete()
318 ctx->cur_frm->vb.sequence = ctx->sequence++; in cal_process_buffer_complete()
320 vb2_buffer_done(&ctx->cur_frm->vb.vb2_buf, VB2_BUF_STATE_DONE); in cal_process_buffer_complete()
321 ctx->cur_frm = ctx->next_frm; in cal_process_buffer_complete()
369 if (ctx->cur_frm != ctx->next_frm) in cal_irq()
393 ctx->cur_frm == ctx->next_frm) in cal_irq()
Dcal-video.c604 ctx->cur_frm = buf; in cal_start_streaming()
609 addr = vb2_dma_contig_plane_dma_addr(&ctx->cur_frm->vb.vb2_buf, 0); in cal_start_streaming()
635 vb2_buffer_done(&ctx->cur_frm->vb.vb2_buf, VB2_BUF_STATE_QUEUED); in cal_start_streaming()
636 ctx->cur_frm = NULL; in cal_start_streaming()
681 if (ctx->cur_frm == ctx->next_frm) { 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()
688 ctx->cur_frm = NULL; in cal_stop_streaming()
Dcal.h174 struct cal_buffer *cur_frm; member
/Linux-v5.10/drivers/media/platform/am437x/
Dam437x-vpfe.c1146 vpfe->cur_frm->vb.vb2_buf.timestamp = ktime_get_ns(); in vpfe_process_buffer_complete()
1147 vpfe->cur_frm->vb.field = vpfe->fmt.fmt.pix.field; in vpfe_process_buffer_complete()
1148 vpfe->cur_frm->vb.sequence = vpfe->sequence++; in vpfe_process_buffer_complete()
1149 vb2_buffer_done(&vpfe->cur_frm->vb.vb2_buf, VB2_BUF_STATE_DONE); in vpfe_process_buffer_complete()
1150 vpfe->cur_frm = vpfe->next_frm; in vpfe_process_buffer_complete()
1173 if (vpfe->cur_frm != vpfe->next_frm) in vpfe_handle_interlaced_irq()
1193 if (vpfe->cur_frm == vpfe->next_frm) in vpfe_handle_interlaced_irq()
1223 if (vpfe->cur_frm != vpfe->next_frm) in vpfe_isr()
1236 vpfe->cur_frm == vpfe->next_frm) in vpfe_isr()
1848 if (vpfe->cur_frm) in vpfe_return_all_buffers()
[all …]
Dam437x-vpfe.h255 struct vpfe_cap_buffer *cur_frm; member
/Linux-v5.10/drivers/media/platform/atmel/
Datmel-isc-base.c637 addr0 = vb2_dma_contig_plane_dma_addr(&isc->cur_frm->vb.vb2_buf, 0); in isc_start_dma()
825 isc->cur_frm = list_first_entry(&isc->dma_queue, in isc_start_streaming()
827 list_del(&isc->cur_frm->list); in isc_start_streaming()
866 if (isc->cur_frm && !wait_for_completion_timeout(&isc->comp, 5 * HZ)) in isc_stop_streaming()
882 if (unlikely(isc->cur_frm)) { in isc_stop_streaming()
883 vb2_buffer_done(&isc->cur_frm->vb.vb2_buf, in isc_stop_streaming()
885 isc->cur_frm = NULL; in isc_stop_streaming()
901 if (!isc->cur_frm && list_empty(&isc->dma_queue) && in isc_buffer_queue()
903 isc->cur_frm = buf; in isc_buffer_queue()
1663 if (isc->cur_frm) { in isc_interrupt()
[all …]
Datmel-isc.h203 struct isc_buffer *cur_frm; member
/Linux-v5.10/include/media/davinci/
Dvpbe_display.h69 struct vpbe_disp_buffer *cur_frm; member
Dvpfe_capture.h125 struct videobuf_buffer *cur_frm; member