Home
last modified time | relevance | path

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

/Linux-v4.19/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.c77 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 …]
Dvpfe_capture.c514 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 …]
Dvpif_capture.c215 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 …]
Dvpif_capture.h57 struct vpif_cap_buffer *cur_frm; member
Dvpif_display.h70 struct vpif_disp_buffer *cur_frm; /* Pointer pointing to current member
/Linux-v4.19/drivers/staging/media/davinci_vpfe/
Dvpfe_video.c442 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 …]
Dvpfe_video.h120 struct vpfe_cap_buffer *cur_frm; member
Ddm365_isif.c332 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()
Ddm365_resizer.c1101 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/
Dcal.c312 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/
Datmel-isc.c191 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/
Domap_vout.c537 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 …]
Domap_voutdef.h173 struct videobuf_buffer *cur_frm, *next_frm; member
/Linux-v4.19/drivers/media/platform/am437x/
Dam437x-vpfe.c1285 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 …]
Dam437x-vpfe.h253 struct vpfe_cap_buffer *cur_frm; member
/Linux-v4.19/include/media/davinci/
Dvpbe_display.h77 struct vpbe_disp_buffer *cur_frm; member
Dvpfe_capture.h134 struct videobuf_buffer *cur_frm; member