Lines Matching refs:m2m
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()
161 if (gsc->m2m.ctx != ctx) { in gsc_m2m_device_run()
163 gsc->m2m.ctx, ctx); in gsc_m2m_device_run()
165 gsc->m2m.ctx = ctx; in gsc_m2m_device_run()
623 v4l2_fh_init(&ctx->fh, gsc->m2m.vfd); in gsc_m2m_open()
643 ctx->m2m_ctx = v4l2_m2m_ctx_init(gsc->m2m.m2m_dev, ctx, queue_init); in gsc_m2m_open()
650 if (gsc->m2m.refcnt++ == 0) in gsc_m2m_open()
675 task_pid_nr(current), gsc->state, gsc->m2m.refcnt); in gsc_m2m_release()
684 if (--gsc->m2m.refcnt <= 0) in gsc_m2m_release()
760 gsc->m2m.vfd = &gsc->vdev; in gsc_register_m2m_device()
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()