Lines Matching refs:out_q_ctx
72 return &m2m_ctx->out_q_ctx;
225 if (!m2m_ctx->out_q_ctx.q.streaming
238 spin_lock_irqsave(m2m_ctx->out_q_ctx.q.irqlock, flags);
239 if (list_empty(&m2m_ctx->out_q_ctx.rdy_queue)) {
240 spin_unlock_irqrestore(m2m_ctx->out_q_ctx.q.irqlock, flags);
246 spin_unlock_irqrestore(m2m_ctx->out_q_ctx.q.irqlock, flags);
251 spin_unlock_irqrestore(m2m_ctx->out_q_ctx.q.irqlock, flags);
539 struct v4l2_m2m_queue_ctx *out_q_ctx, *cap_q_ctx;
551 out_q_ctx = get_queue_ctx(m2m_ctx, V4L2_BUF_TYPE_VIDEO_OUTPUT);
554 INIT_LIST_HEAD(&out_q_ctx->rdy_queue);
559 vq_init(priv, &out_q_ctx->q, V4L2_BUF_TYPE_VIDEO_OUTPUT);
561 out_q_ctx->q.priv_data = cap_q_ctx->q.priv_data = priv;
601 videobuf_stop(&m2m_ctx->out_q_ctx.q);
604 videobuf_mmap_free(&m2m_ctx->out_q_ctx.q);