Home
last modified time | relevance | path

Searched refs:next_frm (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/drivers/media/platform/davinci/
Dvpif_display.c198 common->next_frm = common->cur_frm = in vpif_start_streaming()
271 if (common->cur_frm == common->next_frm) { in vpif_stop_streaming()
278 if (common->next_frm) in vpif_stop_streaming()
279 vb2_buffer_done(&common->next_frm->vb.vb2_buf, in vpif_stop_streaming()
284 common->next_frm = list_entry(common->dma_queue.next, in vpif_stop_streaming()
286 list_del(&common->next_frm->list); in vpif_stop_streaming()
287 vb2_buffer_done(&common->next_frm->vb.vb2_buf, in vpif_stop_streaming()
309 common->next_frm = list_entry(common->dma_queue.next, in process_progressive_mode()
312 list_del(&common->next_frm->list); in process_progressive_mode()
316 addr = vb2_dma_contig_plane_dma_addr(&common->next_frm->vb.vb2_buf, 0); in process_progressive_mode()
[all …]
Dvpbe_display.c65 if (layer->cur_frm == layer->next_frm) in vpbe_isr_even_field()
71 layer->cur_frm = layer->next_frm; in vpbe_isr_even_field()
82 (layer->cur_frm != layer->next_frm)) { in vpbe_isr_odd_field()
92 layer->next_frm = list_entry(layer->dma_queue.next, in vpbe_isr_odd_field()
95 list_del(&layer->next_frm->list); in vpbe_isr_odd_field()
98 layer->next_frm->vb.vb2_buf.state = VB2_BUF_STATE_ACTIVE; in vpbe_isr_odd_field()
99 addr = vb2_dma_contig_plane_dma_addr(&layer->next_frm->vb.vb2_buf, 0); in vpbe_isr_odd_field()
279 layer->next_frm = layer->cur_frm = list_entry(layer->dma_queue.next, in vpbe_start_streaming()
327 if (layer->cur_frm == layer->next_frm) { in vpbe_stop_streaming()
334 if (layer->next_frm) in vpbe_stop_streaming()
[all …]
Dvpif_capture.c206 common->cur_frm = common->next_frm = list_entry(common->dma_queue.next, in vpif_start_streaming()
283 if (common->cur_frm == common->next_frm) { in vpif_stop_streaming()
290 if (common->next_frm) in vpif_stop_streaming()
291 vb2_buffer_done(&common->next_frm->vb.vb2_buf, in vpif_stop_streaming()
297 common->next_frm = list_entry(common->dma_queue.next, in vpif_stop_streaming()
299 list_del(&common->next_frm->list); in vpif_stop_streaming()
300 vb2_buffer_done(&common->next_frm->vb.vb2_buf, in vpif_stop_streaming()
329 common->cur_frm = common->next_frm; in vpif_process_buffer_complete()
345 common->next_frm = list_entry(common->dma_queue.next, in vpif_schedule_next_buffer()
348 list_del(&common->next_frm->list); in vpif_schedule_next_buffer()
[all …]
Dvpfe_capture.c461 vpfe_dev->next_frm = list_entry(vpfe_dev->dma_queue.next, in vpfe_schedule_next_buffer()
463 list_del(&vpfe_dev->next_frm->queue); in vpfe_schedule_next_buffer()
464 vpfe_dev->next_frm->state = VIDEOBUF_ACTIVE; in vpfe_schedule_next_buffer()
465 addr = videobuf_to_dma_contig(vpfe_dev->next_frm); in vpfe_schedule_next_buffer()
485 vpfe_dev->cur_frm = vpfe_dev->next_frm; in vpfe_process_buffer_complete()
510 if (vpfe_dev->cur_frm != vpfe_dev->next_frm) in vpfe_isr()
529 if (vpfe_dev->cur_frm != vpfe_dev->next_frm) in vpfe_isr()
548 vpfe_dev->cur_frm == vpfe_dev->next_frm) in vpfe_isr()
582 vpfe_dev->cur_frm == vpfe_dev->next_frm) in vdint1_isr()
1434 vpfe_dev->next_frm = list_entry(vpfe_dev->dma_queue.next, in vpfe_streamon()
[all …]
Dvpif_capture.h50 struct vpif_cap_buffer *next_frm; member
Dvpif_display.h72 struct vpif_disp_buffer *next_frm; /* Pointer pointing to next member
/Linux-v5.4/drivers/media/platform/am437x/
Dam437x-vpfe.c1245 vpfe->next_frm = list_entry(vpfe->dma_queue.next, in vpfe_schedule_next_buffer()
1247 list_del(&vpfe->next_frm->list); in vpfe_schedule_next_buffer()
1250 vb2_dma_contig_plane_dma_addr(&vpfe->next_frm->vb.vb2_buf, 0)); in vpfe_schedule_next_buffer()
1257 addr = vb2_dma_contig_plane_dma_addr(&vpfe->next_frm->vb.vb2_buf, 0) + in vpfe_schedule_bottom_field()
1277 vpfe->cur_frm = vpfe->next_frm; in vpfe_process_buffer_complete()
1302 if (vpfe->cur_frm != vpfe->next_frm) in vpfe_isr()
1321 if (vpfe->cur_frm != vpfe->next_frm) in vpfe_isr()
1341 vpfe->cur_frm == vpfe->next_frm) in vpfe_isr()
1358 vpfe->cur_frm == vpfe->next_frm) in vpfe_isr()
1989 vpfe->next_frm = list_entry(vpfe->dma_queue.next, in vpfe_start_streaming()
[all …]
Dam437x-vpfe.h249 struct vpfe_cap_buffer *next_frm; member
/Linux-v5.4/drivers/media/platform/omap/
Domap_vout.c461 if (vout->cur_frm == vout->next_frm) 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()
535 vout->cur_frm = vout->next_frm; in omap_vout_isr()
542 vout->next_frm = list_entry(vout->dma_queue.next, in omap_vout_isr()
544 list_del(&vout->next_frm->queue); in omap_vout_isr()
546 addr = (unsigned long)vout->queued_buf_addr[vout->next_frm->vbuf.vb2_buf.index] in omap_vout_isr()
1002 vout->next_frm = vout->cur_frm = list_entry(vout->dma_queue.next, in omap_vout_vb2_start_streaming()
1106 if (vout->next_frm != vout->cur_frm) in omap_vout_vb2_stop_streaming()
[all …]
Domap_voutdef.h170 struct omap_vout_buffer *cur_frm, *next_frm; member
/Linux-v5.4/include/media/davinci/
Dvpbe_display.h71 struct vpbe_disp_buffer *next_frm; member
Dvpfe_capture.h127 struct videobuf_buffer *next_frm; member
/Linux-v5.4/drivers/media/platform/ti-vpe/
Dcal.c310 struct cal_buffer *next_frm; member
819 ctx->next_frm = buf; in cal_schedule_next_buffer()
833 ctx->cur_frm = ctx->next_frm; in cal_process_buffer_complete()
858 if (ctx->cur_frm != ctx->next_frm) in cal_irq()
865 if (ctx->cur_frm != ctx->next_frm) in cal_irq()
883 ctx->cur_frm == ctx->next_frm) in cal_irq()
894 ctx->cur_frm == ctx->next_frm) in cal_irq()
1291 ctx->next_frm = buf; in cal_start_streaming()
1355 if (ctx->cur_frm == ctx->next_frm) { in cal_stop_streaming()
1359 vb2_buffer_done(&ctx->next_frm->vb.vb2_buf, in cal_stop_streaming()
[all …]