Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/media/platform/s5p-mfc/
Ds5p_mfc.c156 &ctx->src_queue, &ctx->vq_src); in s5p_mfc_watchdog_worker()
235 src_buf = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in s5p_mfc_handle_frame_copy_time()
389 && !list_empty(&ctx->src_queue)) { in s5p_mfc_handle_frame()
390 src_buf = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, in s5p_mfc_handle_frame()
457 &ctx->src_queue, &ctx->vq_src); in s5p_mfc_handle_error()
506 !list_empty(&ctx->src_queue)) { in s5p_mfc_handle_seq_done()
508 src_buf = list_entry(ctx->src_queue.next, in s5p_mfc_handle_seq_done()
548 if (!list_empty(&ctx->src_queue)) { in s5p_mfc_handle_init_buffers()
549 src_buf = list_entry(ctx->src_queue.next, in s5p_mfc_handle_init_buffers()
741 INIT_LIST_HEAD(&ctx->src_queue); in s5p_mfc_open()
Ds5p_mfc_enc.c757 list_add_tail(&mb_entry->list, &ctx->src_queue); in cleanup_ref_queue()
833 src_mb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in enc_pre_frame_start()
871 list_for_each_entry(mb_entry, &ctx->src_queue, list) { in enc_post_frame_start()
897 mb_entry = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, in enc_post_frame_start()
1732 if (list_empty(&ctx->src_queue)) { in vidioc_encoder_cmd()
1741 buf = list_entry(ctx->src_queue.prev, in vidioc_encoder_cmd()
1992 s5p_mfc_hw_call_void(dev->mfc_ops, cleanup_queue, &ctx->src_queue, in s5p_mfc_stop_streaming()
1994 INIT_LIST_HEAD(&ctx->src_queue); in s5p_mfc_stop_streaming()
2025 list_add_tail(&mfc_buf->list, &ctx->src_queue); in s5p_mfc_buf_queue()
Ds5p_mfc_opr_v5.c1200 if (list_empty(&ctx->src_queue)) { in s5p_mfc_run_dec_frame()
1206 temp_vb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in s5p_mfc_run_dec_frame()
1232 if (list_empty(&ctx->src_queue) && ctx->state != MFCINST_FINISHING) { in s5p_mfc_run_enc_frame()
1242 if (list_empty(&ctx->src_queue)) { in s5p_mfc_run_enc_frame()
1247 src_mb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, in s5p_mfc_run_enc_frame()
1288 temp_vb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in s5p_mfc_run_init_dec()
1336 if (list_empty(&ctx->src_queue)) { in s5p_mfc_run_init_dec_buffers()
1342 temp_vb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in s5p_mfc_run_init_dec_buffers()
Ds5p_mfc_dec.c823 if (list_empty(&ctx->src_queue)) { in vidioc_decoder_cmd()
832 buf = list_entry(ctx->src_queue.prev, in vidioc_decoder_cmd()
1049 &ctx->src_queue, &ctx->vq_src); in s5p_mfc_stop_streaming()
1050 INIT_LIST_HEAD(&ctx->src_queue); in s5p_mfc_stop_streaming()
1071 list_add_tail(&mfc_buf->list, &ctx->src_queue); in s5p_mfc_buf_queue()
Ds5p_mfc_opr_v6.c1554 if (list_empty(&ctx->src_queue)) { in s5p_mfc_run_dec_frame()
1560 temp_vb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in s5p_mfc_run_dec_frame()
1593 if (list_empty(&ctx->src_queue)) { in s5p_mfc_run_enc_frame()
1605 src_mb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in s5p_mfc_run_enc_frame()
1639 temp_vb = list_entry(ctx->src_queue.next, struct s5p_mfc_buf, list); in s5p_mfc_run_init_dec()
Ds5p_mfc_common.h580 struct list_head src_queue; member