Home
last modified time | relevance | path

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

/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc.c194 s5p_mfc_cleanup_queue(&ctx->src_queue, &ctx->vq_src); in s5p_mfc_watchdog_worker()
273 src_buf = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in s5p_mfc_handle_frame_copy_time()
434 && !list_empty(&ctx->src_queue)) { in s5p_mfc_handle_frame()
435 src_buf = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, in s5p_mfc_handle_frame()
500 s5p_mfc_cleanup_queue(&ctx->src_queue, &ctx->vq_src); in s5p_mfc_handle_error()
550 !list_empty(&ctx->src_queue)) { in s5p_mfc_handle_seq_done()
553 src_buf = list_entry(ctx->src_queue.next, in s5p_mfc_handle_seq_done()
591 if (!list_empty(&ctx->src_queue)) { in s5p_mfc_handle_init_buffers()
592 src_buf = list_entry(ctx->src_queue.next, in s5p_mfc_handle_init_buffers()
789 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.c854 if (list_empty(&ctx->src_queue)) { in vidioc_decoder_cmd()
863 buf = list_entry(ctx->src_queue.prev, in vidioc_decoder_cmd()
1078 s5p_mfc_cleanup_queue(&ctx->src_queue, &ctx->vq_src); in s5p_mfc_stop_streaming()
1079 INIT_LIST_HEAD(&ctx->src_queue); in s5p_mfc_stop_streaming()
1100 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()
2298 if (list_empty(&ctx->src_queue)) { in vidioc_encoder_cmd()
2307 buf = list_entry(ctx->src_queue.prev, in vidioc_encoder_cmd()
2554 s5p_mfc_cleanup_queue(&ctx->src_queue, &ctx->vq_src); in s5p_mfc_stop_streaming()
2555 INIT_LIST_HEAD(&ctx->src_queue); in s5p_mfc_stop_streaming()
2586 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