Home
last modified time | relevance | path

Searched refs:src_queue (Results 1 – 6 of 6) sorted by relevance

/drivers/media/platform/s5p-mfc/
Ds5p_mfc.c190 s5p_mfc_cleanup_queue(&ctx->src_queue, &ctx->vq_src); in s5p_mfc_watchdog_worker()
265 src_buf = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in s5p_mfc_handle_frame_copy_time()
422 && !list_empty(&ctx->src_queue)) { in s5p_mfc_handle_frame()
423 src_buf = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, in s5p_mfc_handle_frame()
486 s5p_mfc_cleanup_queue(&ctx->src_queue, &ctx->vq_src); in s5p_mfc_handle_error()
536 !list_empty(&ctx->src_queue)) { in s5p_mfc_handle_seq_done()
538 src_buf = list_entry(ctx->src_queue.next, in s5p_mfc_handle_seq_done()
576 if (!list_empty(&ctx->src_queue)) { in s5p_mfc_handle_init_buffers()
577 src_buf = list_entry(ctx->src_queue.next, in s5p_mfc_handle_init_buffers()
774 INIT_LIST_HEAD(&ctx->src_queue); in s5p_mfc_open()
Ds5p_mfc_opr_v5.c1174 if (list_empty(&ctx->src_queue)) { in s5p_mfc_run_dec_frame()
1179 temp_vb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in s5p_mfc_run_dec_frame()
1202 if (list_empty(&ctx->src_queue) && ctx->state != MFCINST_FINISHING) { in s5p_mfc_run_enc_frame()
1210 if (list_empty(&ctx->src_queue)) { in s5p_mfc_run_enc_frame()
1216 src_mb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, in s5p_mfc_run_enc_frame()
1255 temp_vb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in s5p_mfc_run_init_dec()
1296 if (list_empty(&ctx->src_queue)) { in s5p_mfc_run_init_dec_buffers()
1300 temp_vb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in s5p_mfc_run_init_dec_buffers()
Ds5p_mfc_dec.c838 if (list_empty(&ctx->src_queue)) { in vidioc_decoder_cmd()
847 buf = list_entry(ctx->src_queue.prev, in vidioc_decoder_cmd()
1062 s5p_mfc_cleanup_queue(&ctx->src_queue, &ctx->vq_src); in s5p_mfc_stop_streaming()
1063 INIT_LIST_HEAD(&ctx->src_queue); in s5p_mfc_stop_streaming()
1084 list_add_tail(&mfc_buf->list, &ctx->src_queue); in s5p_mfc_buf_queue()
Ds5p_mfc_enc.c1124 list_add_tail(&mb_entry->list, &ctx->src_queue); in cleanup_ref_queue()
1198 src_mb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in enc_pre_frame_start()
1232 list_for_each_entry(mb_entry, &ctx->src_queue, list) { in enc_post_frame_start()
1263 mb_entry = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, in enc_post_frame_start()
2300 if (list_empty(&ctx->src_queue)) { in vidioc_encoder_cmd()
2309 buf = list_entry(ctx->src_queue.prev, in vidioc_encoder_cmd()
2556 s5p_mfc_cleanup_queue(&ctx->src_queue, &ctx->vq_src); in s5p_mfc_stop_streaming()
2557 INIT_LIST_HEAD(&ctx->src_queue); in s5p_mfc_stop_streaming()
2588 list_add_tail(&mfc_buf->list, &ctx->src_queue); in s5p_mfc_buf_queue()
Ds5p_mfc_opr_v6.c1807 if (list_empty(&ctx->src_queue)) { in s5p_mfc_run_dec_frame()
1812 temp_vb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in s5p_mfc_run_dec_frame()
1841 if (list_empty(&ctx->src_queue) && ctx->state != MFCINST_FINISHING) { in s5p_mfc_run_enc_frame()
1851 if (list_empty(&ctx->src_queue)) { in s5p_mfc_run_enc_frame()
1856 src_mb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in s5p_mfc_run_enc_frame()
1894 temp_vb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in s5p_mfc_run_init_dec()
Ds5p_mfc_common.h642 struct list_head src_queue; member