Searched refs:q_ctx (Results 1 – 1 of 1) sorted by relevance
82 struct v4l2_m2m_queue_ctx *q_ctx; in v4l2_m2m_get_vq() local84 q_ctx = get_queue_ctx(m2m_ctx, type); in v4l2_m2m_get_vq()85 if (!q_ctx) in v4l2_m2m_get_vq()88 return &q_ctx->q; in v4l2_m2m_get_vq()92 void *v4l2_m2m_next_buf(struct v4l2_m2m_queue_ctx *q_ctx) in v4l2_m2m_next_buf() argument97 spin_lock_irqsave(&q_ctx->rdy_spinlock, flags); in v4l2_m2m_next_buf()99 if (list_empty(&q_ctx->rdy_queue)) { in v4l2_m2m_next_buf()100 spin_unlock_irqrestore(&q_ctx->rdy_spinlock, flags); in v4l2_m2m_next_buf()104 b = list_first_entry(&q_ctx->rdy_queue, struct v4l2_m2m_buffer, list); in v4l2_m2m_next_buf()105 spin_unlock_irqrestore(&q_ctx->rdy_spinlock, flags); in v4l2_m2m_next_buf()[all …]