/Linux-v4.19/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 | 77 if (layer->cur_frm == layer->next_frm) in vpbe_isr_even_field() 80 layer->cur_frm->vb.vb2_buf.timestamp = ktime_get_ns(); in vpbe_isr_even_field() 81 vb2_buffer_done(&layer->cur_frm->vb.vb2_buf, VB2_BUF_STATE_DONE); in vpbe_isr_even_field() 83 layer->cur_frm = layer->next_frm; in vpbe_isr_even_field() 94 (layer->cur_frm != layer->next_frm)) { in vpbe_isr_odd_field() 291 layer->next_frm = layer->cur_frm = list_entry(layer->dma_queue.next, in vpbe_start_streaming() 294 list_del(&layer->cur_frm->list); in vpbe_start_streaming() 296 layer->cur_frm->vb.vb2_buf.state = VB2_BUF_STATE_ACTIVE; in vpbe_start_streaming() 305 vb2_buffer_done(&layer->cur_frm->vb.vb2_buf, in vpbe_start_streaming() 339 if (layer->cur_frm == layer->next_frm) { in vpbe_stop_streaming() [all …]
|
D | vpfe_capture.c | 514 addr = videobuf_to_dma_contig(vpfe_dev->cur_frm); in vpfe_schedule_bottom_field() 521 v4l2_get_timestamp(&vpfe_dev->cur_frm->ts); in vpfe_process_buffer_complete() 522 vpfe_dev->cur_frm->state = VIDEOBUF_DONE; in vpfe_process_buffer_complete() 523 vpfe_dev->cur_frm->size = vpfe_dev->fmt.fmt.pix.sizeimage; in vpfe_process_buffer_complete() 524 wake_up_interruptible(&vpfe_dev->cur_frm->done); in vpfe_process_buffer_complete() 525 vpfe_dev->cur_frm = vpfe_dev->next_frm; in vpfe_process_buffer_complete() 550 if (vpfe_dev->cur_frm != vpfe_dev->next_frm) in vpfe_isr() 569 if (vpfe_dev->cur_frm != vpfe_dev->next_frm) in vpfe_isr() 588 vpfe_dev->cur_frm == vpfe_dev->next_frm) in vpfe_isr() 622 vpfe_dev->cur_frm == vpfe_dev->next_frm) in vdint1_isr() [all …]
|
D | vpif_capture.c | 215 common->cur_frm = common->next_frm = list_entry(common->dma_queue.next, in vpif_start_streaming() 218 list_del(&common->cur_frm->list); in vpif_start_streaming() 221 addr = vb2_dma_contig_plane_dma_addr(&common->cur_frm->vb.vb2_buf, 0); in vpif_start_streaming() 292 if (common->cur_frm == common->next_frm) { in vpif_stop_streaming() 293 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in vpif_stop_streaming() 296 if (common->cur_frm) in vpif_stop_streaming() 297 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in vpif_stop_streaming() 335 common->cur_frm->vb.vb2_buf.timestamp = ktime_get_ns(); in vpif_process_buffer_complete() 336 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, VB2_BUF_STATE_DONE); in vpif_process_buffer_complete() 338 common->cur_frm = common->next_frm; in vpif_process_buffer_complete() [all …]
|
D | vpif_capture.h | 57 struct vpif_cap_buffer *cur_frm; member
|
D | vpif_display.h | 70 struct vpif_disp_buffer *cur_frm; /* Pointer pointing to current member
|
/Linux-v4.19/drivers/staging/media/davinci_vpfe/ |
D | vpfe_video.c | 442 video->cur_frm = video->next_frm = in vpfe_video_get_next_buffer() 464 video->cur_frm = video->next_frm; in vpfe_video_schedule_next_buffer() 479 addr = vb2_dma_contig_plane_dma_addr(&video->cur_frm->vb.vb2_buf, 0); in vpfe_video_schedule_bottom_field() 489 video->cur_frm->vb.vb2_buf.timestamp = ktime_get_ns(); in vpfe_video_process_buffer_complete() 490 vb2_buffer_done(&video->cur_frm->vb.vb2_buf, VB2_BUF_STATE_DONE); in vpfe_video_process_buffer_complete() 492 video->cur_frm = video->next_frm; in vpfe_video_process_buffer_complete() 1219 video->cur_frm = video->next_frm = in vpfe_start_streaming() 1222 list_del(&video->cur_frm->list); in vpfe_start_streaming() 1224 video->cur_frm->vb.vb2_buf.state = VB2_BUF_STATE_ACTIVE; in vpfe_start_streaming() 1227 addr = vb2_dma_contig_plane_dma_addr(&video->cur_frm->vb.vb2_buf, 0); in vpfe_start_streaming() [all …]
|
D | vpfe_video.h | 120 struct vpfe_cap_buffer *cur_frm; member
|
D | dm365_isif.c | 332 if (video->cur_frm != video->next_frm) in vpfe_isif_buffer_isr() 352 if (video->cur_frm != video->next_frm) in vpfe_isif_buffer_isr() 371 video->cur_frm == video->next_frm) in vpfe_isif_buffer_isr() 396 !list_empty(&video->dma_queue) && video->cur_frm == video->next_frm) in vpfe_isif_vidint1_isr()
|
D | dm365_resizer.c | 1101 if (video_out->cur_frm != video_out->next_frm) { in vpfe_resizer_buffer_isr() 1130 if (fid == 0 && video_out->cur_frm != video_out->next_frm) { in vpfe_resizer_buffer_isr() 1169 video_out->cur_frm == video_out->next_frm) in vpfe_resizer_dma_isr() 1176 video_out->cur_frm == video_out->next_frm) in vpfe_resizer_dma_isr()
|
/Linux-v4.19/drivers/media/platform/ti-vpe/ |
D | cal.c | 312 struct cal_buffer *cur_frm; member 832 ctx->cur_frm->vb.vb2_buf.timestamp = ktime_get_ns(); in cal_process_buffer_complete() 833 ctx->cur_frm->vb.field = ctx->m_fmt.field; in cal_process_buffer_complete() 834 ctx->cur_frm->vb.sequence = ctx->sequence++; in cal_process_buffer_complete() 836 vb2_buffer_done(&ctx->cur_frm->vb.vb2_buf, VB2_BUF_STATE_DONE); in cal_process_buffer_complete() 837 ctx->cur_frm = ctx->next_frm; in cal_process_buffer_complete() 862 if (ctx->cur_frm != ctx->next_frm) in cal_irq() 869 if (ctx->cur_frm != ctx->next_frm) in cal_irq() 887 ctx->cur_frm == ctx->next_frm) in cal_irq() 898 ctx->cur_frm == ctx->next_frm) in cal_irq() [all …]
|
/Linux-v4.19/drivers/media/platform/atmel/ |
D | atmel-isc.c | 191 struct isc_buffer *cur_frm; member 929 addr0 = vb2_dma_contig_plane_dma_addr(&isc->cur_frm->vb.vb2_buf, 0); in isc_start_dma() 1147 isc->cur_frm = list_first_entry(&isc->dma_queue, in isc_start_streaming() 1149 list_del(&isc->cur_frm->list); in isc_start_streaming() 1182 if (isc->cur_frm && !wait_for_completion_timeout(&isc->comp, 5 * HZ)) in isc_stop_streaming() 1198 if (unlikely(isc->cur_frm)) { in isc_stop_streaming() 1199 vb2_buffer_done(&isc->cur_frm->vb.vb2_buf, in isc_stop_streaming() 1201 isc->cur_frm = NULL; in isc_stop_streaming() 1217 if (!isc->cur_frm && list_empty(&isc->dma_queue) && in isc_buffer_queue() 1219 isc->cur_frm = buf; in isc_buffer_queue() [all …]
|
/Linux-v4.19/drivers/media/platform/omap/ |
D | omap_vout.c | 537 if (vout->cur_frm == vout->next_frm) in omapvid_handle_interlace_display() 540 vout->cur_frm->ts = timevalue; in omapvid_handle_interlace_display() 541 vout->cur_frm->state = VIDEOBUF_DONE; in omapvid_handle_interlace_display() 542 wake_up_interruptible(&vout->cur_frm->done); in omapvid_handle_interlace_display() 543 vout->cur_frm = vout->next_frm; in omapvid_handle_interlace_display() 546 (vout->cur_frm != vout->next_frm)) in omapvid_handle_interlace_display() 610 if (!vout->first_int && (vout->cur_frm != vout->next_frm)) { in omap_vout_isr() 611 vout->cur_frm->ts = timevalue; in omap_vout_isr() 612 vout->cur_frm->state = VIDEOBUF_DONE; in omap_vout_isr() 613 wake_up_interruptible(&vout->cur_frm->done); in omap_vout_isr() [all …]
|
D | omap_voutdef.h | 173 struct videobuf_buffer *cur_frm, *next_frm; member
|
/Linux-v4.19/drivers/media/platform/am437x/ |
D | am437x-vpfe.c | 1285 vpfe->cur_frm->vb.vb2_buf.timestamp = ktime_get_ns(); in vpfe_process_buffer_complete() 1286 vpfe->cur_frm->vb.field = vpfe->fmt.fmt.pix.field; in vpfe_process_buffer_complete() 1287 vpfe->cur_frm->vb.sequence = vpfe->sequence++; in vpfe_process_buffer_complete() 1288 vb2_buffer_done(&vpfe->cur_frm->vb.vb2_buf, VB2_BUF_STATE_DONE); in vpfe_process_buffer_complete() 1289 vpfe->cur_frm = vpfe->next_frm; in vpfe_process_buffer_complete() 1314 if (vpfe->cur_frm != vpfe->next_frm) in vpfe_isr() 1333 if (vpfe->cur_frm != vpfe->next_frm) in vpfe_isr() 1353 vpfe->cur_frm == vpfe->next_frm) in vpfe_isr() 1370 vpfe->cur_frm == vpfe->next_frm) in vpfe_isr() 2009 vpfe->cur_frm = vpfe->next_frm; in vpfe_start_streaming() [all …]
|
D | am437x-vpfe.h | 253 struct vpfe_cap_buffer *cur_frm; member
|
/Linux-v4.19/include/media/davinci/ |
D | vpbe_display.h | 77 struct vpbe_disp_buffer *cur_frm; member
|
D | vpfe_capture.h | 134 struct videobuf_buffer *cur_frm; member
|