Lines Matching refs:curr_ctx
93 struct v4l2_m2m_ctx *curr_ctx; member
234 if (m2m_dev->curr_ctx) in v4l2_m2m_get_curr_priv()
235 ret = m2m_dev->curr_ctx->priv; in v4l2_m2m_get_curr_priv()
253 if (NULL != m2m_dev->curr_ctx) { in v4l2_m2m_try_run()
265 m2m_dev->curr_ctx = list_first_entry(&m2m_dev->job_queue, in v4l2_m2m_try_run()
267 m2m_dev->curr_ctx->job_flags |= TRANS_RUNNING; in v4l2_m2m_try_run()
270 dprintk("Running job on m2m_ctx: %p\n", m2m_dev->curr_ctx); in v4l2_m2m_try_run()
271 m2m_dev->m2m_ops->device_run(m2m_dev->curr_ctx->priv); in v4l2_m2m_try_run()
411 if (!m2m_dev->curr_ctx || m2m_dev->curr_ctx != m2m_ctx) { in v4l2_m2m_job_finish()
417 list_del(&m2m_dev->curr_ctx->queue); in v4l2_m2m_job_finish()
418 m2m_dev->curr_ctx->job_flags &= ~(TRANS_QUEUED | TRANS_RUNNING); in v4l2_m2m_job_finish()
419 wake_up(&m2m_dev->curr_ctx->finished); in v4l2_m2m_job_finish()
420 m2m_dev->curr_ctx = NULL; in v4l2_m2m_job_finish()
606 if (m2m_dev->curr_ctx == m2m_ctx) { in v4l2_m2m_streamoff()
607 m2m_dev->curr_ctx = NULL; in v4l2_m2m_streamoff()
890 m2m_dev->curr_ctx = NULL; in v4l2_m2m_init()