Lines Matching refs:rdy_queue
139 if (list_empty(&q_ctx->rdy_queue)) { in v4l2_m2m_next_buf()
144 b = list_first_entry(&q_ctx->rdy_queue, struct v4l2_m2m_buffer, list); in v4l2_m2m_next_buf()
157 if (list_empty(&q_ctx->rdy_queue)) { in v4l2_m2m_last_buf()
162 b = list_last_entry(&q_ctx->rdy_queue, struct v4l2_m2m_buffer, list); in v4l2_m2m_last_buf()
174 if (list_empty(&q_ctx->rdy_queue)) { in v4l2_m2m_buf_remove()
178 b = list_first_entry(&q_ctx->rdy_queue, struct v4l2_m2m_buffer, list); in v4l2_m2m_buf_remove()
210 list_for_each_entry_safe(b, tmp, &q_ctx->rdy_queue, list) { in v4l2_m2m_buf_remove_by_idx()
312 if (list_empty(&m2m_ctx->out_q_ctx.rdy_queue) in __v4l2_m2m_try_queue()
321 if (list_empty(&m2m_ctx->cap_q_ctx.rdy_queue) in __v4l2_m2m_try_queue()
602 INIT_LIST_HEAD(&q_ctx->rdy_queue); in v4l2_m2m_streamoff()
924 INIT_LIST_HEAD(&out_q_ctx->rdy_queue); in v4l2_m2m_ctx_init()
925 INIT_LIST_HEAD(&cap_q_ctx->rdy_queue); in v4l2_m2m_ctx_init()
975 list_add_tail(&b->list, &q_ctx->rdy_queue); in v4l2_m2m_buf_queue()