/Linux-v6.6/drivers/media/platform/samsung/exynos-gsc/ |
D | gsc-m2m.c | 65 struct vb2_v4l2_buffer *src_vb, *dst_vb; in __gsc_m2m_cleanup_queue() local 73 dst_vb = v4l2_m2m_dst_buf_remove(ctx->m2m_ctx); in __gsc_m2m_cleanup_queue() 74 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_ERROR); in __gsc_m2m_cleanup_queue() 91 struct vb2_v4l2_buffer *src_vb, *dst_vb; in gsc_m2m_job_finish() local 97 dst_vb = v4l2_m2m_dst_buf_remove(ctx->m2m_ctx); in gsc_m2m_job_finish() 99 if (src_vb && dst_vb) { in gsc_m2m_job_finish() 100 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in gsc_m2m_job_finish() 101 dst_vb->timecode = src_vb->timecode; in gsc_m2m_job_finish() 102 dst_vb->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in gsc_m2m_job_finish() 103 dst_vb->flags |= in gsc_m2m_job_finish() [all …]
|
/Linux-v6.6/drivers/media/platform/samsung/exynos4-is/ |
D | fimc-m2m.c | 41 struct vb2_v4l2_buffer *src_vb, *dst_vb; in fimc_m2m_job_finish() local 47 dst_vb = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in fimc_m2m_job_finish() 51 if (dst_vb) in fimc_m2m_job_finish() 52 v4l2_m2m_buf_done(dst_vb, vb_state); in fimc_m2m_job_finish() 53 if (src_vb && dst_vb) in fimc_m2m_job_finish() 91 struct vb2_v4l2_buffer *src_vb, *dst_vb; in fimc_device_run() local 119 dst_vb = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in fimc_device_run() 120 ret = fimc_prepare_addr(ctx, &dst_vb->vb2_buf, df, &df->addr); in fimc_device_run() 124 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in fimc_device_run() 125 dst_vb->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in fimc_device_run() [all …]
|
/Linux-v6.6/drivers/media/platform/st/sti/bdisp/ |
D | bdisp-v4l2.c | 183 struct vb2_v4l2_buffer *src_vb, *dst_vb; in bdisp_job_finish() local 191 dst_vb = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in bdisp_job_finish() 193 if (src_vb && dst_vb) { in bdisp_job_finish() 194 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in bdisp_job_finish() 195 dst_vb->timecode = src_vb->timecode; in bdisp_job_finish() 196 dst_vb->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in bdisp_job_finish() 197 dst_vb->flags |= src_vb->flags & in bdisp_job_finish() 201 v4l2_m2m_buf_done(dst_vb, vb_state); in bdisp_job_finish() 284 struct vb2_v4l2_buffer *src_vb, *dst_vb; in bdisp_get_bufs() local 295 dst_vb = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in bdisp_get_bufs() [all …]
|
/Linux-v6.6/drivers/media/platform/nxp/ |
D | mx2_emmaprp.c | 332 struct vb2_v4l2_buffer *src_vb, *dst_vb; in emmaprp_irq() local 354 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in emmaprp_irq() 356 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in emmaprp_irq() 357 dst_vb->flags &= in emmaprp_irq() 359 dst_vb->flags |= in emmaprp_irq() 362 dst_vb->timecode = src_vb->timecode; in emmaprp_irq() 366 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in emmaprp_irq()
|
D | imx-pxp.c | 1040 struct vb2_v4l2_buffer *src_vb, *dst_vb; in pxp_job_finish() local 1051 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in pxp_job_finish() 1055 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in pxp_job_finish()
|
/Linux-v6.6/drivers/media/platform/ |
D | m2m-deinterlace.c | 181 struct vb2_v4l2_buffer *src_vb, *dst_vb; in dma_callback() local 186 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in dma_callback() 188 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in dma_callback() 189 dst_vb->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in dma_callback() 190 dst_vb->flags |= in dma_callback() 192 dst_vb->timecode = src_vb->timecode; in dma_callback() 195 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in dma_callback()
|
/Linux-v6.6/drivers/media/platform/ti/vpe/ |
D | vpe.c | 409 struct vb2_v4l2_buffer *dst_vb; member 1020 struct vb2_buffer *vb = &ctx->dst_vb->vb2_buf; in add_out_dtd() 1236 ctx->dst_vb = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in device_run() 1237 WARN_ON(ctx->dst_vb == NULL); in device_run() 1437 d_vb = ctx->dst_vb; in vpe_irq() 1498 ctx->dst_vb = NULL; in vpe_irq() 2167 if (ctx->dst_vb) { in vpe_return_all_buffers() 2170 v4l2_m2m_buf_done(ctx->dst_vb, state); in vpe_return_all_buffers() 2171 ctx->dst_vb = NULL; in vpe_return_all_buffers()
|
/Linux-v6.6/drivers/media/platform/mediatek/mdp3/ |
D | mtk-mdp3-m2m.c | 65 struct vb2_v4l2_buffer *src_vb, *dst_vb; in mdp_m2m_device_run() local 87 dst_vb = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); in mdp_m2m_device_run() 88 mdp_set_dst_config(¶m.outputs[0], frame, &dst_vb->vb2_buf); in mdp_m2m_device_run()
|
/Linux-v6.6/drivers/media/platform/samsung/s5p-mfc/ |
D | s5p_mfc.c | 1012 struct vb2_buffer *src_vb = NULL, *dst_vb = NULL; in s5p_mfc_poll() local 1046 dst_vb = list_first_entry(&dst_q->done_list, struct vb2_buffer, in s5p_mfc_poll() 1048 if (dst_vb && (dst_vb->state == VB2_BUF_STATE_DONE in s5p_mfc_poll() 1049 || dst_vb->state == VB2_BUF_STATE_ERROR)) in s5p_mfc_poll()
|
/Linux-v6.6/drivers/media/test-drivers/vicodec/ |
D | vicodec-core.c | 255 struct vb2_v4l2_buffer *dst_vb) in device_process() argument 298 p_dst = vb2_plane_vaddr(&dst_vb->vb2_buf, 0); in device_process() 314 vb2_set_plane_payload(&dst_vb->vb2_buf, 0, comp_sz_or_errcode); in device_process() 329 vb2_set_plane_payload(&dst_vb->vb2_buf, 0, q_dst->sizeimage); in device_process() 331 dst_vb->flags |= V4L2_BUF_FLAG_KEYFRAME; in device_process() 333 dst_vb->flags |= V4L2_BUF_FLAG_PFRAME; in device_process()
|
/Linux-v6.6/drivers/media/test-drivers/ |
D | vim2m.c | 618 struct vb2_v4l2_buffer *src_vb, *dst_vb; in device_work() local 625 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in device_work() 630 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in device_work()
|
/Linux-v6.6/drivers/media/platform/samsung/s5p-jpeg/ |
D | jpeg-core.c | 2699 struct vb2_v4l2_buffer *src_vb, *dst_vb; in exynos4_jpeg_irq() local 2711 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in exynos4_jpeg_irq() 2743 vb2_set_plane_payload(&dst_vb->vb2_buf, in exynos4_jpeg_irq() 2747 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in exynos4_jpeg_irq() 2750 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_ERROR); in exynos4_jpeg_irq()
|
/Linux-v6.6/drivers/media/platform/nxp/dw100/ |
D | dw100.c | 1071 struct vb2_v4l2_buffer *src_vb, *dst_vb; in dw100_job_finish() local 1083 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in dw100_job_finish() 1091 v4l2_m2m_buf_done(dst_vb, buf_state); in dw100_job_finish()
|
/Linux-v6.6/drivers/media/platform/chips-media/ |
D | coda-common.c | 1180 struct vb2_buffer *dst_vb; in coda_mark_last_dst_buf() local 1193 dst_vb = list_last_entry(&dst_vq->done_list, struct vb2_buffer, in coda_mark_last_dst_buf() 1195 buf = to_vb2_v4l2_buffer(dst_vb); in coda_mark_last_dst_buf()
|