Searched refs:q_ctx (Results 1 – 1 of 1) sorted by relevance
85 struct v4l2_m2m_queue_ctx *q_ctx; in v4l2_m2m_get_vq() local87 q_ctx = get_queue_ctx(m2m_ctx, type); in v4l2_m2m_get_vq()88 if (!q_ctx) in v4l2_m2m_get_vq()91 return &q_ctx->q; in v4l2_m2m_get_vq()98 void *v4l2_m2m_next_buf(struct v4l2_m2m_queue_ctx *q_ctx) in v4l2_m2m_next_buf() argument103 spin_lock_irqsave(&q_ctx->rdy_spinlock, flags); in v4l2_m2m_next_buf()105 if (list_empty(&q_ctx->rdy_queue)) { in v4l2_m2m_next_buf()106 spin_unlock_irqrestore(&q_ctx->rdy_spinlock, flags); in v4l2_m2m_next_buf()110 b = list_first_entry(&q_ctx->rdy_queue, struct v4l2_m2m_buffer, list); in v4l2_m2m_next_buf()111 spin_unlock_irqrestore(&q_ctx->rdy_spinlock, flags); in v4l2_m2m_next_buf()[all …]