/linux-6.3-rc2/drivers/media/v4l2-core/ |
A D | v4l2-mem2mem.c | 278 m2m_dev->curr_ctx = list_first_entry(&m2m_dev->job_queue, in v4l2_m2m_try_run() 284 m2m_dev->m2m_ops->device_run(m2m_dev->curr_ctx->priv); in v4l2_m2m_try_run() 388 struct v4l2_m2m_dev *m2m_dev = m2m_ctx->m2m_dev; in v4l2_m2m_try_schedule() local 421 m2m_dev = m2m_ctx->m2m_dev; in v4l2_m2m_cancel_job() 472 if (!m2m_dev->curr_ctx || m2m_dev->curr_ctx != m2m_ctx) { in _v4l2_m2m_job_finish() 885 m2m_dev = m2m_ctx->m2m_dev; in v4l2_m2m_streamoff() 1195 m2m_dev = kzalloc(sizeof *m2m_dev, GFP_KERNEL); in v4l2_m2m_init() 1196 if (!m2m_dev) in v4l2_m2m_init() 1205 return m2m_dev; in v4l2_m2m_init() 1228 m2m_ctx->m2m_dev = m2m_dev; in v4l2_m2m_ctx_init() [all …]
|
/linux-6.3-rc2/include/media/ |
A D | v4l2-mem2mem.h | 111 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); 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 539 void v4l2_m2m_release(struct v4l2_m2m_dev *m2m_dev); [all …]
|
/linux-6.3-rc2/drivers/media/test-drivers/visl/ |
A D | visl-core.c | 248 v4l2_m2m_release(dev->m2m_dev); in visl_device_release() 313 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(dev->m2m_dev, ctx, &visl_queue_init); in visl_open() 422 dev->m2m_dev = v4l2_m2m_init(&visl_m2m_ops); in visl_probe() 423 if (IS_ERR(dev->m2m_dev)) { in visl_probe() 425 ret = PTR_ERR(dev->m2m_dev); in visl_probe() 426 dev->m2m_dev = NULL; in visl_probe() 447 ret = v4l2_m2m_register_media_controller(dev->m2m_dev, vfd, in visl_probe() 468 v4l2_m2m_unregister_media_controller(dev->m2m_dev); in visl_probe() 474 v4l2_m2m_release(dev->m2m_dev); in visl_probe() 492 v4l2_m2m_unregister_media_controller(dev->m2m_dev); in visl_remove()
|
/linux-6.3-rc2/drivers/staging/media/sunxi/cedrus/ |
A D | cedrus.c | 373 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(dev->m2m_dev, ctx, in cedrus_open() 491 dev->m2m_dev = v4l2_m2m_init(&cedrus_m2m_ops); in cedrus_probe() 492 if (IS_ERR(dev->m2m_dev)) { in cedrus_probe() 495 ret = PTR_ERR(dev->m2m_dev); in cedrus_probe() 518 ret = v4l2_m2m_register_media_controller(dev->m2m_dev, vfd, in cedrus_probe() 535 v4l2_m2m_unregister_media_controller(dev->m2m_dev); in cedrus_probe() 539 v4l2_m2m_release(dev->m2m_dev); in cedrus_probe() 552 v4l2_m2m_unregister_media_controller(dev->m2m_dev); in cedrus_remove() 556 v4l2_m2m_release(dev->m2m_dev); in cedrus_remove()
|
A D | cedrus_hw.c | 128 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.3-rc2/drivers/media/platform/amphion/ |
A D | vpu_v4l2.c | 453 v4l2_m2m_job_finish(m2m_ctx->m2m_dev, m2m_ctx); in vpu_m2m_job_abort() 795 func->m2m_dev = v4l2_m2m_init(&vpu_m2m_ops); in vpu_add_func() 796 if (IS_ERR(func->m2m_dev)) { in vpu_add_func() 799 return PTR_ERR(func->m2m_dev); in vpu_add_func() 804 v4l2_m2m_release(func->m2m_dev); in vpu_add_func() 825 v4l2_m2m_release(func->m2m_dev); in vpu_add_func() 833 v4l2_m2m_release(func->m2m_dev); in vpu_add_func() 834 func->m2m_dev = NULL; in vpu_add_func() 848 if (func->m2m_dev) { in vpu_remove_func() 850 v4l2_m2m_release(func->m2m_dev); in vpu_remove_func() [all …]
|
/linux-6.3-rc2/drivers/media/platform/nxp/ |
A D | mx2_emmaprp.c | 206 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()
|
A D | imx-pxp.c | 226 struct v4l2_m2m_dev *m2m_dev; member 1044 curr_ctx = v4l2_m2m_get_curr_priv(dev->m2m_dev); in pxp_job_finish() 1060 v4l2_m2m_job_finish(dev->m2m_dev, curr_ctx->fh.m2m_ctx); in pxp_job_finish() 1856 dev->m2m_dev = v4l2_m2m_init(&m2m_ops); in pxp_probe() 1857 if (IS_ERR(dev->m2m_dev)) { in pxp_probe() 1859 ret = PTR_ERR(dev->m2m_dev); in pxp_probe() 1875 ret = v4l2_m2m_register_media_controller(dev->m2m_dev, vfd, in pxp_probe() 1893 v4l2_m2m_unregister_media_controller(dev->m2m_dev); in pxp_probe() 1898 v4l2_m2m_release(dev->m2m_dev); in pxp_probe() 1920 v4l2_m2m_unregister_media_controller(dev->m2m_dev); in pxp_remove() [all …]
|
/linux-6.3-rc2/drivers/media/platform/mediatek/jpeg/ |
A D | mtk_jpeg_core.c | 1065 v4l2_m2m_job_finish(jpeg->m2m_dev, ctx->fh.m2m_ctx); in mtk_jpegenc_worker() 1078 v4l2_m2m_job_finish(jpeg->m2m_dev, ctx->fh.m2m_ctx); in mtk_jpegenc_worker() 1440 ctx = v4l2_m2m_get_curr_priv(jpeg->m2m_dev); in mtk_jpeg_enc_done() 1496 ctx = v4l2_m2m_get_curr_priv(jpeg->m2m_dev); in mtk_jpeg_dec_irq() 1661 ctx = v4l2_m2m_get_curr_priv(jpeg->m2m_dev); in mtk_jpeg_job_timeout_work() 1737 if (IS_ERR(jpeg->m2m_dev)) { in mtk_jpeg_probe() 1739 ret = PTR_ERR(jpeg->m2m_dev); in mtk_jpeg_probe() 1785 v4l2_m2m_release(jpeg->m2m_dev); in mtk_jpeg_probe() 1799 v4l2_m2m_release(jpeg->m2m_dev); in mtk_jpeg_remove() 1827 v4l2_m2m_suspend(jpeg->m2m_dev); in mtk_jpeg_suspend() [all …]
|
/linux-6.3-rc2/drivers/media/test-drivers/vicodec/ |
A D | vicodec-core.c | 101 struct v4l2_m2m_dev *m2m_dev; member 455 v4l2_m2m_job_finish(dev->stateless_dec.m2m_dev, in device_run() 2036 if (IS_ERR(dev_instance->m2m_dev)) { in register_instance() 2038 return PTR_ERR(dev_instance->m2m_dev); in register_instance() 2060 v4l2_m2m_release(dev_instance->m2m_dev); in register_instance() 2073 v4l2_m2m_release(dev->stateful_enc.m2m_dev); in vicodec_v4l2_dev_release() 2074 v4l2_m2m_release(dev->stateful_dec.m2m_dev); in vicodec_v4l2_dev_release() 2075 v4l2_m2m_release(dev->stateless_dec.m2m_dev); in vicodec_v4l2_dev_release() 2166 v4l2_m2m_release(dev->stateless_dec.m2m_dev); in vicodec_probe() 2170 v4l2_m2m_release(dev->stateful_dec.m2m_dev); in vicodec_probe() [all …]
|
/linux-6.3-rc2/drivers/staging/media/rkvdec/ |
A D | rkvdec.c | 650 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() 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() 964 ctx = v4l2_m2m_get_curr_priv(rkvdec->m2m_dev); in rkvdec_irq_handler() [all …]
|
/linux-6.3-rc2/drivers/media/platform/samsung/exynos4-is/ |
A D | fimc-m2m.c | 54 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.3-rc2/drivers/media/platform/samsung/exynos-gsc/ |
A D | gsc-m2m.c | 33 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.3-rc2/drivers/media/test-drivers/ |
A D | vim2m.c | 195 struct v4l2_m2m_dev *m2m_dev; member 636 v4l2_m2m_job_finish(vim2m_dev->m2m_dev, curr_ctx->fh.m2m_ctx); in device_work() 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() 1373 v4l2_m2m_release(dev->m2m_dev); in vim2m_probe() [all …]
|
/linux-6.3-rc2/drivers/media/platform/st/stm32/dma2d/ |
A D | dma2d.c | 297 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.3-rc2/drivers/media/platform/verisilicon/ |
A D | hantro_drv.c | 84 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() 1083 v4l2_m2m_release(vpu->m2m_dev); in hantro_probe() 1106 v4l2_m2m_release(vpu->m2m_dev); in hantro_remove()
|
/linux-6.3-rc2/drivers/media/platform/st/sti/bdisp/ |
A D | bdisp-v4l2.c | 203 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.3-rc2/drivers/media/platform/samsung/s5p-g2d/ |
A D | g2d.c | 251 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.3-rc2/drivers/staging/media/imx/ |
A D | imx-media-csc-scaler.c | 38 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.3-rc2/drivers/media/platform/sunxi/sun8i-rotate/ |
A D | sun8i_rotate.c | 146 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.3-rc2/drivers/media/platform/rockchip/rga/ |
A D | rga.c | 86 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.3-rc2/drivers/media/platform/ |
A D | m2m-deinterlace.c | 131 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.3-rc2/drivers/media/platform/nxp/dw100/ |
A D | dw100.c | 67 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() 1622 v4l2_m2m_unregister_media_controller(dw_dev->m2m_dev); in dw100_probe() 1627 v4l2_m2m_release(dw_dev->m2m_dev); in dw100_probe() 1645 v4l2_m2m_unregister_media_controller(dw_dev->m2m_dev); in dw100_remove() [all …]
|
/linux-6.3-rc2/drivers/media/platform/amlogic/meson-ge2d/ |
A D | ge2d.c | 87 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.3-rc2/drivers/media/platform/sunxi/sun8i-di/ |
A D | sun8i-di.c | 204 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()
|