/openbmc/linux/drivers/media/v4l2-core/ |
H 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() 1201 m2m_dev = kzalloc(sizeof *m2m_dev, GFP_KERNEL); in v4l2_m2m_init() 1202 if (!m2m_dev) in v4l2_m2m_init() 1211 return m2m_dev; in v4l2_m2m_init() 1234 m2m_ctx->m2m_dev = m2m_dev; in v4l2_m2m_ctx_init() [all …]
|
/openbmc/linux/include/media/ |
H 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 …]
|
/openbmc/linux/drivers/media/test-drivers/visl/ |
H 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()
|
/openbmc/linux/drivers/staging/media/sunxi/cedrus/ |
H 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() 553 v4l2_m2m_unregister_media_controller(dev->m2m_dev); in cedrus_remove() 557 v4l2_m2m_release(dev->m2m_dev); in cedrus_remove()
|
H 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()
|
/openbmc/linux/drivers/media/platform/amphion/ |
H A D | vpu_v4l2.c | 454 v4l2_m2m_job_finish(m2m_ctx->m2m_dev, m2m_ctx); in vpu_m2m_job_abort() 802 func->m2m_dev = v4l2_m2m_init(&vpu_m2m_ops); in vpu_add_func() 803 if (IS_ERR(func->m2m_dev)) { in vpu_add_func() 806 return PTR_ERR(func->m2m_dev); in vpu_add_func() 811 v4l2_m2m_release(func->m2m_dev); in vpu_add_func() 832 v4l2_m2m_release(func->m2m_dev); in vpu_add_func() 840 v4l2_m2m_release(func->m2m_dev); in vpu_add_func() 841 func->m2m_dev = NULL; in vpu_add_func() 855 if (func->m2m_dev) { in vpu_remove_func() 857 v4l2_m2m_release(func->m2m_dev); in vpu_remove_func() [all …]
|
/openbmc/linux/drivers/media/platform/nxp/ |
H 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()
|
H A D | imx-pxp.c | 225 struct v4l2_m2m_dev *m2m_dev; member 1043 curr_ctx = v4l2_m2m_get_curr_priv(dev->m2m_dev); in pxp_job_finish() 1059 v4l2_m2m_job_finish(dev->m2m_dev, curr_ctx->fh.m2m_ctx); in pxp_job_finish() 1858 dev->m2m_dev = v4l2_m2m_init(&m2m_ops); in pxp_probe() 1859 if (IS_ERR(dev->m2m_dev)) { in pxp_probe() 1861 ret = PTR_ERR(dev->m2m_dev); in pxp_probe() 1877 ret = v4l2_m2m_register_media_controller(dev->m2m_dev, vfd, in pxp_probe() 1895 v4l2_m2m_unregister_media_controller(dev->m2m_dev); in pxp_probe() 1900 v4l2_m2m_release(dev->m2m_dev); in pxp_probe() 1922 v4l2_m2m_unregister_media_controller(dev->m2m_dev); in pxp_remove() [all …]
|
/openbmc/linux/drivers/media/platform/mediatek/jpeg/ |
H A D | mtk_jpeg_core.c | 978 v4l2_m2m_job_finish(jpeg->m2m_dev, ctx->fh.m2m_ctx); in mtk_jpeg_enc_device_run() 1047 v4l2_m2m_job_finish(jpeg->m2m_dev, ctx->fh.m2m_ctx); in mtk_jpeg_dec_device_run() 1243 ctx = v4l2_m2m_get_curr_priv(jpeg->m2m_dev); in mtk_jpeg_job_timeout_work() 1351 if (IS_ERR(jpeg->m2m_dev)) { in mtk_jpeg_probe() 1353 ret = PTR_ERR(jpeg->m2m_dev); in mtk_jpeg_probe() 1394 v4l2_m2m_release(jpeg->m2m_dev); in mtk_jpeg_probe() 1408 v4l2_m2m_release(jpeg->m2m_dev); in mtk_jpeg_remove() 1434 v4l2_m2m_suspend(jpeg->m2m_dev); in mtk_jpeg_suspend() 1447 v4l2_m2m_resume(jpeg->m2m_dev); in mtk_jpeg_resume() 1559 ctx = v4l2_m2m_get_curr_priv(jpeg->m2m_dev); in mtk_jpeg_enc_done() [all …]
|
/openbmc/linux/drivers/media/test-drivers/vicodec/ |
H 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 …]
|
/openbmc/linux/drivers/staging/media/rkvdec/ |
H A D | rkvdec.c | 653 v4l2_m2m_buf_done_and_job_finish(ctx->dev->m2m_dev, ctx->fh.m2m_ctx, in rkvdec_job_finish_no_pm() 828 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(rkvdec->m2m_dev, ctx, in rkvdec_open() 880 rkvdec->m2m_dev = v4l2_m2m_init(&rkvdec_m2m_ops); in rkvdec_v4l2_init() 881 if (IS_ERR(rkvdec->m2m_dev)) { in rkvdec_v4l2_init() 883 ret = PTR_ERR(rkvdec->m2m_dev); in rkvdec_v4l2_init() 929 v4l2_m2m_unregister_media_controller(rkvdec->m2m_dev); in rkvdec_v4l2_init() 936 v4l2_m2m_release(rkvdec->m2m_dev); in rkvdec_v4l2_init() 946 v4l2_m2m_unregister_media_controller(rkvdec->m2m_dev); in rkvdec_v4l2_cleanup() 949 v4l2_m2m_release(rkvdec->m2m_dev); in rkvdec_v4l2_cleanup() 967 ctx = v4l2_m2m_get_curr_priv(rkvdec->m2m_dev); in rkvdec_irq_handler() [all …]
|
/openbmc/linux/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-m2m.c | 100 ctx = v4l2_m2m_get_curr_priv(m2m->m2m_dev); in mxc_isi_m2m_frame_write_done() 118 v4l2_m2m_job_finish(m2m->m2m_dev, ctx->fh.m2m_ctx); in mxc_isi_m2m_frame_write_done() 663 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(m2m->m2m_dev, ctx, in mxc_isi_m2m_open() 755 m2m->m2m_dev = v4l2_m2m_init(&mxc_isi_m2m_ops); in mxc_isi_m2m_register() 756 if (IS_ERR(m2m->m2m_dev)) { in mxc_isi_m2m_register() 758 ret = PTR_ERR(m2m->m2m_dev); in mxc_isi_m2m_register() 839 v4l2_m2m_release(m2m->m2m_dev); in mxc_isi_m2m_register() 852 v4l2_m2m_release(m2m->m2m_dev); in mxc_isi_m2m_unregister()
|
/openbmc/linux/drivers/media/platform/samsung/exynos4-is/ |
H 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()
|
/openbmc/linux/drivers/media/platform/samsung/exynos-gsc/ |
H 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()
|
/openbmc/linux/drivers/media/test-drivers/ |
H 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 …]
|
/openbmc/linux/drivers/media/platform/st/stm32/dma2d/ |
H 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() 663 dev->m2m_dev = v4l2_m2m_init(&dma2d_m2m_ops); in dma2d_probe() 664 if (IS_ERR(dev->m2m_dev)) { in dma2d_probe() 666 ret = PTR_ERR(dev->m2m_dev); in dma2d_probe() 683 v4l2_m2m_release(dev->m2m_dev); in dma2d_probe() 701 v4l2_m2m_release(dev->m2m_dev); in dma2d_remove()
|
/openbmc/linux/drivers/media/platform/st/sti/bdisp/ |
H 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 …]
|
/openbmc/linux/drivers/media/platform/samsung/s5p-g2d/ |
H 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()
|
/openbmc/linux/drivers/staging/media/imx/ |
H 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() 833 v4l2_m2m_release(priv->m2m_dev); in ipu_csc_scaler_video_device_release() 906 priv->m2m_dev = v4l2_m2m_init(&m2m_ops); in imx_media_csc_scaler_device_init() 907 if (IS_ERR(priv->m2m_dev)) { in imx_media_csc_scaler_device_init() 908 ret = PTR_ERR(priv->m2m_dev); in imx_media_csc_scaler_device_init()
|
/openbmc/linux/drivers/media/platform/verisilicon/ |
H 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() 657 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(vpu->m2m_dev, ctx, queue_init); in hantro_open() 1135 vpu->m2m_dev = v4l2_m2m_init(&vpu_m2m_ops); in hantro_probe() 1136 if (IS_ERR(vpu->m2m_dev)) { in hantro_probe() 1138 ret = PTR_ERR(vpu->m2m_dev); in hantro_probe() 1174 v4l2_m2m_release(vpu->m2m_dev); in hantro_probe() 1197 v4l2_m2m_release(vpu->m2m_dev); in hantro_remove()
|
/openbmc/linux/drivers/media/platform/sunxi/sun8i-rotate/ |
H 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()
|
/openbmc/linux/drivers/media/platform/rockchip/rga/ |
H A D | rga.c | 83 v4l2_m2m_job_finish(rga->m2m_dev, ctx->fh.m2m_ctx); in rga_isr() 376 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(rga->m2m_dev, ctx, &queue_init); in rga_open() 847 rga->m2m_dev = v4l2_m2m_init(&rga_m2m_ops); in rga_probe() 848 if (IS_ERR(rga->m2m_dev)) { in rga_probe() 850 ret = PTR_ERR(rga->m2m_dev); in rga_probe() 910 v4l2_m2m_release(rga->m2m_dev); in rga_probe() 933 v4l2_m2m_release(rga->m2m_dev); in rga_remove()
|
/openbmc/linux/drivers/media/platform/ |
H 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()
|
/openbmc/linux/drivers/media/platform/nxp/dw100/ |
H 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() 1581 dw_dev->m2m_dev = v4l2_m2m_init(&dw100_m2m_ops); in dw100_probe() 1582 if (IS_ERR(dw_dev->m2m_dev)) { in dw100_probe() 1584 ret = PTR_ERR(dw_dev->m2m_dev); in dw100_probe() 1620 v4l2_m2m_unregister_media_controller(dw_dev->m2m_dev); in dw100_probe() 1625 v4l2_m2m_release(dw_dev->m2m_dev); in dw100_probe() 1643 v4l2_m2m_unregister_media_controller(dw_dev->m2m_dev); in dw100_remove() [all …]
|
/openbmc/linux/drivers/media/platform/amlogic/meson-ge2d/ |
H 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()
|