/Linux-v5.10/drivers/media/platform/davinci/ |
D | vpif_display.c | 198 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 …]
|
D | vpbe_display.c | 64 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 …]
|
D | vpfe_capture.c | 475 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 …]
|
D | vpif_capture.c | 206 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 …]
|
D | vpif_capture.h | 48 struct vpif_cap_buffer *cur_frm; member
|
D | vpif_display.h | 70 struct vpif_disp_buffer *cur_frm; /* Pointer pointing to current member
|
/Linux-v5.10/drivers/media/platform/omap/ |
D | omap_vout.c | 461 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 …]
|
D | omap_voutdef.h | 170 struct omap_vout_buffer *cur_frm, *next_frm; member
|
/Linux-v5.10/drivers/media/platform/ti-vpe/ |
D | cal.c | 316 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()
|
D | cal-video.c | 604 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()
|
D | cal.h | 174 struct cal_buffer *cur_frm; member
|
/Linux-v5.10/drivers/media/platform/am437x/ |
D | am437x-vpfe.c | 1146 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 …]
|
D | am437x-vpfe.h | 255 struct vpfe_cap_buffer *cur_frm; member
|
/Linux-v5.10/drivers/media/platform/atmel/ |
D | atmel-isc-base.c | 637 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 …]
|
D | atmel-isc.h | 203 struct isc_buffer *cur_frm; member
|
/Linux-v5.10/include/media/davinci/ |
D | vpbe_display.h | 69 struct vpbe_disp_buffer *cur_frm; member
|
D | vpfe_capture.h | 125 struct videobuf_buffer *cur_frm; member
|