Home
last modified time | relevance | path

Searched refs:m2m_dev (Results 1 – 25 of 67) sorted by relevance

123

/linux-6.1.9/drivers/media/v4l2-core/
Dv4l2-mem2mem.c232 void *v4l2_m2m_get_curr_priv(struct v4l2_m2m_dev *m2m_dev) in v4l2_m2m_get_curr_priv() argument
237 spin_lock_irqsave(&m2m_dev->job_spinlock, flags); in v4l2_m2m_get_curr_priv()
238 if (m2m_dev->curr_ctx) in v4l2_m2m_get_curr_priv()
239 ret = m2m_dev->curr_ctx->priv; in v4l2_m2m_get_curr_priv()
240 spin_unlock_irqrestore(&m2m_dev->job_spinlock, flags); in v4l2_m2m_get_curr_priv()
255 static void v4l2_m2m_try_run(struct v4l2_m2m_dev *m2m_dev) in v4l2_m2m_try_run() argument
259 spin_lock_irqsave(&m2m_dev->job_spinlock, flags); in v4l2_m2m_try_run()
260 if (NULL != m2m_dev->curr_ctx) { in v4l2_m2m_try_run()
261 spin_unlock_irqrestore(&m2m_dev->job_spinlock, flags); in v4l2_m2m_try_run()
266 if (list_empty(&m2m_dev->job_queue)) { in v4l2_m2m_try_run()
[all …]
/linux-6.1.9/include/media/
Dv4l2-mem2mem.h111 struct v4l2_m2m_dev *m2m_dev; member
142 void *v4l2_m2m_get_curr_priv(struct v4l2_m2m_dev *m2m_dev);
191 void v4l2_m2m_job_finish(struct v4l2_m2m_dev *m2m_dev,
217 void v4l2_m2m_buf_done_and_job_finish(struct v4l2_m2m_dev *m2m_dev,
316 void v4l2_m2m_suspend(struct v4l2_m2m_dev *m2m_dev);
327 void v4l2_m2m_resume(struct v4l2_m2m_dev *m2m_dev);
515 void v4l2_m2m_unregister_media_controller(struct v4l2_m2m_dev *m2m_dev);
516 int v4l2_m2m_register_media_controller(struct v4l2_m2m_dev *m2m_dev,
520 v4l2_m2m_unregister_media_controller(struct v4l2_m2m_dev *m2m_dev) in v4l2_m2m_unregister_media_controller() argument
525 v4l2_m2m_register_media_controller(struct v4l2_m2m_dev *m2m_dev, in v4l2_m2m_register_media_controller() argument
[all …]
/linux-6.1.9/drivers/media/platform/amphion/
Dvpu_v4l2.c368 v4l2_m2m_job_finish(m2m_ctx->m2m_dev, m2m_ctx); in vpu_m2m_job_abort()
648 inst->fh.m2m_ctx = v4l2_m2m_ctx_init(func->m2m_dev, inst, vpu_m2m_queue_init); in vpu_v4l2_open()
710 func->m2m_dev = v4l2_m2m_init(&vpu_m2m_ops); in vpu_add_func()
711 if (IS_ERR(func->m2m_dev)) { in vpu_add_func()
714 return PTR_ERR(func->m2m_dev); in vpu_add_func()
719 v4l2_m2m_release(func->m2m_dev); in vpu_add_func()
740 v4l2_m2m_release(func->m2m_dev); in vpu_add_func()
746 ret = v4l2_m2m_register_media_controller(func->m2m_dev, func->vfd, func->function); in vpu_add_func()
748 v4l2_m2m_release(func->m2m_dev); in vpu_add_func()
749 func->m2m_dev = NULL; in vpu_add_func()
[all …]
/linux-6.1.9/drivers/staging/media/sunxi/cedrus/
Dcedrus.c358 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(dev->m2m_dev, ctx, in cedrus_open()
485 dev->m2m_dev = v4l2_m2m_init(&cedrus_m2m_ops); in cedrus_probe()
486 if (IS_ERR(dev->m2m_dev)) { in cedrus_probe()
489 ret = PTR_ERR(dev->m2m_dev); in cedrus_probe()
512 ret = v4l2_m2m_register_media_controller(dev->m2m_dev, vfd, in cedrus_probe()
529 v4l2_m2m_unregister_media_controller(dev->m2m_dev); in cedrus_probe()
533 v4l2_m2m_release(dev->m2m_dev); in cedrus_probe()
546 v4l2_m2m_unregister_media_controller(dev->m2m_dev); in cedrus_remove()
550 v4l2_m2m_release(dev->m2m_dev); in cedrus_remove()
Dcedrus_hw.c128 ctx = v4l2_m2m_get_curr_priv(dev->m2m_dev); in cedrus_irq()
147 v4l2_m2m_buf_done_and_job_finish(ctx->dev->m2m_dev, ctx->fh.m2m_ctx, in cedrus_irq()
161 ctx = v4l2_m2m_get_curr_priv(dev->m2m_dev); in cedrus_watchdog()
167 v4l2_m2m_buf_done_and_job_finish(ctx->dev->m2m_dev, ctx->fh.m2m_ctx, in cedrus_watchdog()
/linux-6.1.9/drivers/media/platform/nxp/
Dmx2_emmaprp.c206 struct v4l2_m2m_dev *m2m_dev; member
243 v4l2_m2m_job_finish(pcdev->m2m_dev, ctx->fh.m2m_ctx); in emmaprp_job_abort()
341 curr_ctx = v4l2_m2m_get_curr_priv(pcdev->m2m_dev); in emmaprp_irq()
371 v4l2_m2m_job_finish(pcdev->m2m_dev, curr_ctx->fh.m2m_ctx); in emmaprp_irq()
738 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(pcdev->m2m_dev, ctx, &queue_init); in emmaprp_open()
863 pcdev->m2m_dev = v4l2_m2m_init(&m2m_ops); in emmaprp_probe()
864 if (IS_ERR(pcdev->m2m_dev)) { in emmaprp_probe()
866 ret = PTR_ERR(pcdev->m2m_dev); in emmaprp_probe()
880 v4l2_m2m_release(pcdev->m2m_dev); in emmaprp_probe()
898 v4l2_m2m_release(pcdev->m2m_dev); in emmaprp_remove()
/linux-6.1.9/drivers/media/test-drivers/vicodec/
Dvicodec-core.c101 struct v4l2_m2m_dev *m2m_dev; member
453 v4l2_m2m_job_finish(dev->stateful_enc.m2m_dev, ctx->fh.m2m_ctx); in device_run()
455 v4l2_m2m_job_finish(dev->stateless_dec.m2m_dev, in device_run()
458 v4l2_m2m_job_finish(dev->stateful_dec.m2m_dev, ctx->fh.m2m_ctx); in device_run()
1898 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(dev->stateful_enc.m2m_dev, in vicodec_open()
1902 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(dev->stateless_dec.m2m_dev, in vicodec_open()
1906 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(dev->stateful_dec.m2m_dev, in vicodec_open()
2035 dev_instance->m2m_dev = v4l2_m2m_init(&m2m_ops); in register_instance()
2036 if (IS_ERR(dev_instance->m2m_dev)) { in register_instance()
2038 return PTR_ERR(dev_instance->m2m_dev); in register_instance()
[all …]
/linux-6.1.9/drivers/media/platform/mediatek/jpeg/
Dmtk_jpeg_core.c947 v4l2_m2m_job_finish(jpeg->m2m_dev, ctx->fh.m2m_ctx); in mtk_jpeg_enc_device_run()
969 v4l2_m2m_job_finish(jpeg->m2m_dev, ctx->fh.m2m_ctx); in mtk_jpeg_dec_device_run()
998 v4l2_m2m_job_finish(jpeg->m2m_dev, ctx->fh.m2m_ctx); in mtk_jpeg_dec_device_run()
1074 ctx = v4l2_m2m_get_curr_priv(jpeg->m2m_dev); in mtk_jpeg_enc_done()
1090 v4l2_m2m_job_finish(jpeg->m2m_dev, ctx->fh.m2m_ctx); in mtk_jpeg_enc_done()
1130 ctx = v4l2_m2m_get_curr_priv(jpeg->m2m_dev); in mtk_jpeg_dec_irq()
1157 v4l2_m2m_job_finish(jpeg->m2m_dev, ctx->fh.m2m_ctx); in mtk_jpeg_dec_irq()
1217 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(jpeg->m2m_dev, ctx, in mtk_jpeg_open()
1286 ctx = v4l2_m2m_get_curr_priv(jpeg->m2m_dev); in mtk_jpeg_job_timeout_work()
1296 v4l2_m2m_job_finish(jpeg->m2m_dev, ctx->fh.m2m_ctx); in mtk_jpeg_job_timeout_work()
[all …]
/linux-6.1.9/drivers/staging/media/rkvdec/
Drkvdec.c650 v4l2_m2m_buf_done_and_job_finish(ctx->dev->m2m_dev, ctx->fh.m2m_ctx, in rkvdec_job_finish_no_pm()
825 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(rkvdec->m2m_dev, ctx, in rkvdec_open()
877 rkvdec->m2m_dev = v4l2_m2m_init(&rkvdec_m2m_ops); in rkvdec_v4l2_init()
878 if (IS_ERR(rkvdec->m2m_dev)) { in rkvdec_v4l2_init()
880 ret = PTR_ERR(rkvdec->m2m_dev); in rkvdec_v4l2_init()
909 ret = v4l2_m2m_register_media_controller(rkvdec->m2m_dev, &rkvdec->vdev, in rkvdec_v4l2_init()
926 v4l2_m2m_unregister_media_controller(rkvdec->m2m_dev); in rkvdec_v4l2_init()
933 v4l2_m2m_release(rkvdec->m2m_dev); in rkvdec_v4l2_init()
943 v4l2_m2m_unregister_media_controller(rkvdec->m2m_dev); in rkvdec_v4l2_cleanup()
946 v4l2_m2m_release(rkvdec->m2m_dev); in rkvdec_v4l2_cleanup()
[all …]
/linux-6.1.9/drivers/media/platform/samsung/exynos-gsc/
Dgsc-m2m.c33 curr_ctx = v4l2_m2m_get_curr_priv(gsc->m2m.m2m_dev); in gsc_m2m_ctx_stop_req()
110 v4l2_m2m_job_finish(ctx->gsc_dev->m2m.m2m_dev, in gsc_m2m_job_finish()
643 ctx->m2m_ctx = v4l2_m2m_ctx_init(gsc->m2m.m2m_dev, ctx, queue_init); in gsc_m2m_open()
761 gsc->m2m.m2m_dev = v4l2_m2m_init(&gsc_m2m_ops); in gsc_register_m2m_device()
762 if (IS_ERR(gsc->m2m.m2m_dev)) { in gsc_register_m2m_device()
764 return PTR_ERR(gsc->m2m.m2m_dev); in gsc_register_m2m_device()
778 v4l2_m2m_release(gsc->m2m.m2m_dev); in gsc_register_m2m_device()
786 v4l2_m2m_release(gsc->m2m.m2m_dev); in gsc_unregister_m2m_device()
/linux-6.1.9/drivers/media/platform/samsung/exynos4-is/
Dfimc-m2m.c54 v4l2_m2m_job_finish(ctx->fimc_dev->m2m.m2m_dev, in fimc_m2m_job_finish()
648 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(fimc->m2m.m2m_dev, ctx, queue_init); in fimc_m2m_open()
736 fimc->m2m.m2m_dev = v4l2_m2m_init(&m2m_ops); in fimc_register_m2m_device()
737 if (IS_ERR(fimc->m2m.m2m_dev)) { in fimc_register_m2m_device()
739 return PTR_ERR(fimc->m2m.m2m_dev); in fimc_register_m2m_device()
757 v4l2_m2m_release(fimc->m2m.m2m_dev); in fimc_register_m2m_device()
766 if (fimc->m2m.m2m_dev) in fimc_unregister_m2m_device()
767 v4l2_m2m_release(fimc->m2m.m2m_dev); in fimc_unregister_m2m_device()
/linux-6.1.9/drivers/media/test-drivers/
Dvim2m.c195 struct v4l2_m2m_dev *m2m_dev; member
636 v4l2_m2m_job_finish(vim2m_dev->m2m_dev, curr_ctx->fh.m2m_ctx); in device_work()
1209 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(dev->m2m_dev, ctx, &queue_init); in vim2m_open()
1259 v4l2_m2m_release(dev->m2m_dev); in vim2m_device_release()
1324 dev->m2m_dev = v4l2_m2m_init(&m2m_ops); in vim2m_probe()
1325 if (IS_ERR(dev->m2m_dev)) { in vim2m_probe()
1327 ret = PTR_ERR(dev->m2m_dev); in vim2m_probe()
1328 dev->m2m_dev = NULL; in vim2m_probe()
1349 ret = v4l2_m2m_register_media_controller(dev->m2m_dev, vfd, in vim2m_probe()
1366 v4l2_m2m_unregister_media_controller(dev->m2m_dev); in vim2m_probe()
[all …]
/linux-6.1.9/drivers/media/platform/st/stm32/dma2d/
Ddma2d.c297 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(dev->m2m_dev, ctx, &queue_init); in dma2d_open()
539 v4l2_m2m_job_finish(dev->m2m_dev, ctx->fh.m2m_ctx); in dma2d_isr()
666 dev->m2m_dev = v4l2_m2m_init(&dma2d_m2m_ops); in dma2d_probe()
667 if (IS_ERR(dev->m2m_dev)) { in dma2d_probe()
669 ret = PTR_ERR(dev->m2m_dev); in dma2d_probe()
686 v4l2_m2m_release(dev->m2m_dev); in dma2d_probe()
704 v4l2_m2m_release(dev->m2m_dev); in dma2d_remove()
/linux-6.1.9/drivers/media/platform/verisilicon/
Dhantro_drv.c84 v4l2_m2m_buf_done_and_job_finish(ctx->dev->m2m_dev, ctx->fh.m2m_ctx, in hantro_job_finish_no_pm()
104 v4l2_m2m_get_curr_priv(vpu->m2m_dev); in hantro_irq_done()
125 ctx = v4l2_m2m_get_curr_priv(vpu->m2m_dev); in hantro_watchdog()
566 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(vpu->m2m_dev, ctx, queue_init); in hantro_open()
1044 vpu->m2m_dev = v4l2_m2m_init(&vpu_m2m_ops); in hantro_probe()
1045 if (IS_ERR(vpu->m2m_dev)) { in hantro_probe()
1047 ret = PTR_ERR(vpu->m2m_dev); in hantro_probe()
1085 v4l2_m2m_release(vpu->m2m_dev); in hantro_probe()
1108 v4l2_m2m_release(vpu->m2m_dev); in hantro_remove()
/linux-6.1.9/drivers/media/platform/st/sti/bdisp/
Dbdisp-v4l2.c203 v4l2_m2m_job_finish(ctx->bdisp_dev->m2m.m2m_dev, in bdisp_job_finish()
218 curr_ctx = v4l2_m2m_get_curr_priv(bdisp->m2m.m2m_dev); in bdisp_ctx_stop_req()
616 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(bdisp->m2m.m2m_dev, ctx, in bdisp_open()
1063 bdisp->m2m.m2m_dev = v4l2_m2m_init(&bdisp_m2m_ops); in bdisp_register_device()
1064 if (IS_ERR(bdisp->m2m.m2m_dev)) { in bdisp_register_device()
1066 return PTR_ERR(bdisp->m2m.m2m_dev); in bdisp_register_device()
1073 v4l2_m2m_release(bdisp->m2m.m2m_dev); in bdisp_register_device()
1085 if (bdisp->m2m.m2m_dev) in bdisp_unregister_device()
1086 v4l2_m2m_release(bdisp->m2m.m2m_dev); in bdisp_unregister_device()
1111 ctx = v4l2_m2m_get_curr_priv(bdisp->m2m.m2m_dev); in bdisp_irq_thread()
[all …]
/linux-6.1.9/drivers/media/platform/samsung/s5p-g2d/
Dg2d.c251 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(dev->m2m_dev, ctx, &queue_init); in g2d_open()
567 v4l2_m2m_job_finish(dev->m2m_dev, ctx->fh.m2m_ctx); in g2d_isr()
697 dev->m2m_dev = v4l2_m2m_init(&g2d_m2m_ops); in g2d_probe()
698 if (IS_ERR(dev->m2m_dev)) { in g2d_probe()
700 ret = PTR_ERR(dev->m2m_dev); in g2d_probe()
726 v4l2_m2m_release(dev->m2m_dev); in g2d_probe()
748 v4l2_m2m_release(dev->m2m_dev); in g2d_remove()
/linux-6.1.9/drivers/staging/media/imx/
Dimx-media-csc-scaler.c38 struct v4l2_m2m_dev *m2m_dev; member
109 v4l2_m2m_job_finish(priv->m2m_dev, ctx->fh.m2m_ctx); in ipu_ic_pp_complete()
146 v4l2_m2m_job_finish(priv->m2m_dev, ctx->fh.m2m_ctx); in device_run()
769 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(priv->m2m_dev, ctx, in ipu_csc_scaler_open()
832 v4l2_m2m_release(priv->m2m_dev); in ipu_csc_scaler_video_device_release()
905 priv->m2m_dev = v4l2_m2m_init(&m2m_ops); in imx_media_csc_scaler_device_init()
906 if (IS_ERR(priv->m2m_dev)) { in imx_media_csc_scaler_device_init()
907 ret = PTR_ERR(priv->m2m_dev); in imx_media_csc_scaler_device_init()
/linux-6.1.9/drivers/media/platform/sunxi/sun8i-rotate/
Dsun8i_rotate.c146 ctx = v4l2_m2m_get_curr_priv(dev->m2m_dev); in rotate_irq()
166 v4l2_m2m_job_finish(ctx->dev->m2m_dev, ctx->fh.m2m_ctx); in rotate_irq()
667 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(dev->m2m_dev, ctx, in rotate_open()
813 dev->m2m_dev = v4l2_m2m_init(&rotate_m2m_ops); in rotate_probe()
814 if (IS_ERR(dev->m2m_dev)) { in rotate_probe()
817 ret = PTR_ERR(dev->m2m_dev); in rotate_probe()
840 v4l2_m2m_release(dev->m2m_dev); in rotate_remove()
/linux-6.1.9/drivers/media/platform/rockchip/rga/
Drga.c86 v4l2_m2m_job_finish(rga->m2m_dev, ctx->fh.m2m_ctx); in rga_isr()
388 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(rga->m2m_dev, ctx, &queue_init); in rga_open()
859 rga->m2m_dev = v4l2_m2m_init(&rga_m2m_ops); in rga_probe()
860 if (IS_ERR(rga->m2m_dev)) { in rga_probe()
862 ret = PTR_ERR(rga->m2m_dev); in rga_probe()
922 v4l2_m2m_release(rga->m2m_dev); in rga_probe()
945 v4l2_m2m_release(rga->m2m_dev); in rga_remove()
/linux-6.1.9/drivers/media/platform/
Dm2m-deinterlace.c131 struct v4l2_m2m_dev *m2m_dev; member
174 v4l2_m2m_job_finish(pcdev->m2m_dev, ctx->fh.m2m_ctx); in deinterlace_job_abort()
197 v4l2_m2m_job_finish(pcdev->m2m_dev, curr_ctx->fh.m2m_ctx); in dma_callback()
854 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(pcdev->m2m_dev, ctx, &queue_init); in deinterlace_open()
968 pcdev->m2m_dev = v4l2_m2m_init(&m2m_ops); in deinterlace_probe()
969 if (IS_ERR(pcdev->m2m_dev)) { in deinterlace_probe()
971 ret = PTR_ERR(pcdev->m2m_dev); in deinterlace_probe()
992 v4l2_m2m_release(pcdev->m2m_dev); in deinterlace_remove()
/linux-6.1.9/drivers/media/platform/nxp/dw100/
Ddw100.c67 struct v4l2_m2m_dev *m2m_dev; member
648 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(dw_dev->m2m_dev, in dw100_open()
1074 curr_ctx = v4l2_m2m_get_curr_priv(dw_dev->m2m_dev); in dw100_job_finish()
1096 v4l2_m2m_job_finish(dw_dev->m2m_dev, curr_ctx->fh.m2m_ctx); in dw100_job_finish()
1583 dw_dev->m2m_dev = v4l2_m2m_init(&dw100_m2m_ops); in dw100_probe()
1584 if (IS_ERR(dw_dev->m2m_dev)) { in dw100_probe()
1586 ret = PTR_ERR(dw_dev->m2m_dev); in dw100_probe()
1601 ret = v4l2_m2m_register_media_controller(dw_dev->m2m_dev, vfd, in dw100_probe()
1622 v4l2_m2m_unregister_media_controller(dw_dev->m2m_dev); in dw100_probe()
1627 v4l2_m2m_release(dw_dev->m2m_dev); in dw100_probe()
[all …]
/linux-6.1.9/drivers/media/platform/amlogic/meson-ge2d/
Dge2d.c87 struct v4l2_m2m_dev *m2m_dev; member
313 v4l2_m2m_job_finish(ge2d->m2m_dev, ctx->fh.m2m_ctx); in ge2d_isr()
852 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(ge2d->m2m_dev, ctx, &queue_init); in ge2d_open()
997 ge2d->m2m_dev = v4l2_m2m_init(&ge2d_m2m_ops); in ge2d_probe()
998 if (IS_ERR(ge2d->m2m_dev)) { in ge2d_probe()
1000 ret = PTR_ERR(ge2d->m2m_dev); in ge2d_probe()
1016 v4l2_m2m_release(ge2d->m2m_dev); in ge2d_probe()
1032 v4l2_m2m_release(ge2d->m2m_dev); in ge2d_remove()
/linux-6.1.9/drivers/media/platform/sunxi/sun8i-di/
Dsun8i-di.c204 ctx = v4l2_m2m_get_curr_priv(dev->m2m_dev); in deinterlace_irq()
239 v4l2_m2m_job_finish(ctx->dev->m2m_dev, ctx->fh.m2m_ctx); in deinterlace_irq()
738 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(dev->m2m_dev, ctx, in deinterlace_open()
886 dev->m2m_dev = v4l2_m2m_init(&deinterlace_m2m_ops); in deinterlace_probe()
887 if (IS_ERR(dev->m2m_dev)) { in deinterlace_probe()
890 ret = PTR_ERR(dev->m2m_dev); in deinterlace_probe()
913 v4l2_m2m_release(dev->m2m_dev); in deinterlace_remove()
/linux-6.1.9/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-m2m.c58 v4l2_m2m_job_finish(ctx->mdp_dev->m2m_dev, ctx->m2m_ctx); in mdp_m2m_process_done()
583 ctx->m2m_ctx = v4l2_m2m_ctx_init(mdp->m2m_dev, ctx, mdp_m2m_queue_init); in mdp_m2m_open()
688 mdp->m2m_dev = v4l2_m2m_init(&mdp_m2m_ops); in mdp_m2m_device_register()
689 if (IS_ERR(mdp->m2m_dev)) { in mdp_m2m_device_register()
691 ret = PTR_ERR(mdp->m2m_dev); in mdp_m2m_device_register()
706 v4l2_m2m_release(mdp->m2m_dev); in mdp_m2m_device_register()
/linux-6.1.9/drivers/media/platform/renesas/
Drcar_jpu.c210 struct v4l2_m2m_dev *m2m_dev; member
1248 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(jpu->m2m_dev, ctx, jpu_queue_init); in jpu_open()
1342 v4l2_m2m_job_finish(ctx->jpu->m2m_dev, ctx->fh.m2m_ctx); in jpu_cleanup()
1518 curr_ctx = v4l2_m2m_get_curr_priv(jpu->m2m_dev); in jpu_irq_handler()
1564 v4l2_m2m_job_finish(jpu->m2m_dev, curr_ctx->fh.m2m_ctx); in jpu_irq_handler()
1636 jpu->m2m_dev = v4l2_m2m_init(&jpu_m2m_ops); in jpu_probe()
1637 if (IS_ERR(jpu->m2m_dev)) { in jpu_probe()
1639 ret = PTR_ERR(jpu->m2m_dev); in jpu_probe()
1697 v4l2_m2m_release(jpu->m2m_dev); in jpu_probe()
1711 v4l2_m2m_release(jpu->m2m_dev); in jpu_remove()

123