Lines Matching refs:rdy_queue
137 if (list_empty(&q_ctx->rdy_queue)) { in v4l2_m2m_next_buf()
142 b = list_first_entry(&q_ctx->rdy_queue, struct v4l2_m2m_buffer, list); in v4l2_m2m_next_buf()
155 if (list_empty(&q_ctx->rdy_queue)) { in v4l2_m2m_last_buf()
160 b = list_last_entry(&q_ctx->rdy_queue, struct v4l2_m2m_buffer, list); in v4l2_m2m_last_buf()
172 if (list_empty(&q_ctx->rdy_queue)) { in v4l2_m2m_buf_remove()
176 b = list_first_entry(&q_ctx->rdy_queue, struct v4l2_m2m_buffer, list); in v4l2_m2m_buf_remove()
208 list_for_each_entry_safe(b, tmp, &q_ctx->rdy_queue, list) { in v4l2_m2m_buf_remove_by_idx()
311 if (list_empty(&m2m_ctx->out_q_ctx.rdy_queue) in __v4l2_m2m_try_queue()
317 if (list_empty(&m2m_ctx->cap_q_ctx.rdy_queue) in __v4l2_m2m_try_queue()
592 INIT_LIST_HEAD(&q_ctx->rdy_queue); in v4l2_m2m_streamoff()
919 INIT_LIST_HEAD(&out_q_ctx->rdy_queue); in v4l2_m2m_ctx_init()
920 INIT_LIST_HEAD(&cap_q_ctx->rdy_queue); in v4l2_m2m_ctx_init()
972 list_add_tail(&b->list, &q_ctx->rdy_queue); in v4l2_m2m_buf_queue()