Lines Matching refs:m2m
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()
319 if (bdisp->m2m.ctx != ctx) { in bdisp_device_run()
321 bdisp->m2m.ctx, ctx); in bdisp_device_run()
323 bdisp->m2m.ctx = ctx; in bdisp_device_run()
598 v4l2_fh_init(&ctx->fh, bdisp->m2m.vdev); in bdisp_open()
616 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(bdisp->m2m.m2m_dev, ctx, in bdisp_open()
624 bdisp->m2m.refcnt++; in bdisp_open()
663 if (--bdisp->m2m.refcnt <= 0) in bdisp_release()
1062 bdisp->m2m.vdev = &bdisp->vdev; in bdisp_register_device()
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()
1088 video_unregister_device(bdisp->m2m.vdev); in bdisp_unregister_device()
1111 ctx = v4l2_m2m_get_curr_priv(bdisp->m2m.m2m_dev); in bdisp_irq_thread()
1147 ctx = v4l2_m2m_get_curr_priv(bdisp->m2m.m2m_dev); in bdisp_irq_timeout()
1194 ctx = bdisp->m2m.ctx; in bdisp_m2m_resume()
1195 bdisp->m2m.ctx = NULL; in bdisp_m2m_resume()