Searched refs:s5p_mfc_ctx (Results 1 – 16 of 16) sorted by relevance
/linux-4.1.27/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_opr.h | 274 int (*alloc_dec_temp_buffers)(struct s5p_mfc_ctx *ctx); 275 void (*release_dec_desc_buffer)(struct s5p_mfc_ctx *ctx); 276 int (*alloc_codec_buffers)(struct s5p_mfc_ctx *ctx); 277 void (*release_codec_buffers)(struct s5p_mfc_ctx *ctx); 278 int (*alloc_instance_buffer)(struct s5p_mfc_ctx *ctx); 279 void (*release_instance_buffer)(struct s5p_mfc_ctx *ctx); 282 void (*dec_calc_dpb_size)(struct s5p_mfc_ctx *ctx); 283 void (*enc_calc_src_size)(struct s5p_mfc_ctx *ctx); 284 int (*set_dec_stream_buffer)(struct s5p_mfc_ctx *ctx, 287 int (*set_dec_frame_buffer)(struct s5p_mfc_ctx *ctx); [all …]
|
D | s5p_mfc_common.h | 176 struct s5p_mfc_ctx; 324 struct s5p_mfc_ctx *ctx[MFC_NUM_CONTEXTS]; 477 int (*pre_seq_start) (struct s5p_mfc_ctx *ctx); 478 int (*post_seq_start) (struct s5p_mfc_ctx *ctx); 480 int (*pre_frame_start) (struct s5p_mfc_ctx *ctx); 481 int (*post_frame_start) (struct s5p_mfc_ctx *ctx); 563 struct s5p_mfc_ctx { struct 705 #define fh_to_ctx(__fh) container_of(__fh, struct s5p_mfc_ctx, fh) 707 container_of((__ctrl)->handler, struct s5p_mfc_ctx, ctrl_handler) 709 void clear_work_bit(struct s5p_mfc_ctx *ctx); [all …]
|
D | s5p_mfc_enc.h | 20 int s5p_mfc_enc_ctrls_setup(struct s5p_mfc_ctx *ctx); 21 void s5p_mfc_enc_ctrls_delete(struct s5p_mfc_ctx *ctx); 22 void s5p_mfc_enc_init(struct s5p_mfc_ctx *ctx);
|
D | s5p_mfc_dec.h | 20 int s5p_mfc_dec_ctrls_setup(struct s5p_mfc_ctx *ctx); 21 void s5p_mfc_dec_ctrls_delete(struct s5p_mfc_ctx *ctx); 22 void s5p_mfc_dec_init(struct s5p_mfc_ctx *ctx);
|
D | s5p_mfc_opr_v5.c | 37 static int s5p_mfc_alloc_dec_temp_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_dec_temp_buffers_v5() 58 static void s5p_mfc_release_dec_desc_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_dec_desc_buffer_v5() 64 static int s5p_mfc_alloc_codec_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_codec_buffers_v5() 196 static void s5p_mfc_release_codec_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_codec_buffers_v5() 203 static int s5p_mfc_alloc_instance_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_instance_buffer_v5() 245 static void s5p_mfc_release_instance_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_instance_buffer_v5() 263 static void s5p_mfc_write_info_v5(struct s5p_mfc_ctx *ctx, unsigned int data, in s5p_mfc_write_info_v5() 270 static unsigned int s5p_mfc_read_info_v5(struct s5p_mfc_ctx *ctx, in s5p_mfc_read_info_v5() 277 static void s5p_mfc_dec_calc_dpb_size_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_dec_calc_dpb_size_v5() 319 static void s5p_mfc_enc_calc_src_size_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_enc_calc_src_size_v5() [all …]
|
D | s5p_mfc_dec.c | 224 static int s5p_mfc_ctx_ready(struct s5p_mfc_ctx *ctx) in s5p_mfc_ctx_ready() 324 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt() 416 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt() 465 static int reqbufs_output(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx, in reqbufs_output() 514 static int reqbufs_capture(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx, in reqbufs_capture() 573 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs() 594 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf() 622 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_qbuf() 641 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_dqbuf() 665 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_expbuf() [all …]
|
D | s5p_mfc_opr_v6.c | 49 static int s5p_mfc_alloc_dec_temp_buffers_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_dec_temp_buffers_v6() 57 static void s5p_mfc_release_dec_desc_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_dec_desc_buffer_v6() 63 static int s5p_mfc_alloc_codec_buffers_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_codec_buffers_v6() 253 static void s5p_mfc_release_codec_buffers_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_codec_buffers_v6() 259 static int s5p_mfc_alloc_instance_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_instance_buffer_v6() 309 static void s5p_mfc_release_instance_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_instance_buffer_v6() 357 static void s5p_mfc_dec_calc_dpb_size_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_dec_calc_dpb_size_v6() 383 static void s5p_mfc_enc_calc_src_size_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_enc_calc_src_size_v6() 402 static int s5p_mfc_set_dec_stream_buffer_v6(struct s5p_mfc_ctx *ctx, in s5p_mfc_set_dec_stream_buffer_v6() 424 static int s5p_mfc_set_dec_frame_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_set_dec_frame_buffer_v6() [all …]
|
D | s5p_mfc_intr.h | 20 int s5p_mfc_wait_for_done_ctx(struct s5p_mfc_ctx *ctx, 23 void s5p_mfc_clean_ctx_int_flags(struct s5p_mfc_ctx *ctx);
|
D | s5p_mfc_cmd.h | 30 int (*open_inst_cmd)(struct s5p_mfc_ctx *ctx); 31 int (*close_inst_cmd)(struct s5p_mfc_ctx *ctx);
|
D | s5p_mfc_ctrl.h | 31 int s5p_mfc_open_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx); 32 void s5p_mfc_close_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx);
|
D | s5p_mfc_enc.c | 727 static int s5p_mfc_ctx_ready(struct s5p_mfc_ctx *ctx) in s5p_mfc_ctx_ready() 747 static void cleanup_ref_queue(struct s5p_mfc_ctx *ctx) in cleanup_ref_queue() 766 static int enc_pre_seq_start(struct s5p_mfc_ctx *ctx) in enc_pre_seq_start() 784 static int enc_post_seq_start(struct s5p_mfc_ctx *ctx) in enc_post_seq_start() 823 static int enc_pre_frame_start(struct s5p_mfc_ctx *ctx) in enc_pre_frame_start() 851 static int enc_post_frame_start(struct s5p_mfc_ctx *ctx) in enc_post_frame_start() 1000 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt() 1085 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt() 1138 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs() 1214 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf() [all …]
|
D | s5p_mfc.c | 47 void clear_work_bit(struct s5p_mfc_ctx *ctx) in clear_work_bit() 57 void set_work_bit(struct s5p_mfc_ctx *ctx) in set_work_bit() 67 void clear_work_bit_irqsave(struct s5p_mfc_ctx *ctx) in clear_work_bit_irqsave() 78 void set_work_bit_irqsave(struct s5p_mfc_ctx *ctx) in set_work_bit_irqsave() 89 static void wake_up_ctx(struct s5p_mfc_ctx *ctx, unsigned int reason, in wake_up_ctx() 131 struct s5p_mfc_ctx *ctx; in s5p_mfc_watchdog_worker() 191 static void s5p_mfc_handle_frame_all_extracted(struct s5p_mfc_ctx *ctx) in s5p_mfc_handle_frame_all_extracted() 220 static void s5p_mfc_handle_frame_copy_time(struct s5p_mfc_ctx *ctx) in s5p_mfc_handle_frame_copy_time() 271 static void s5p_mfc_handle_frame_new(struct s5p_mfc_ctx *ctx, unsigned int err) in s5p_mfc_handle_frame_new() 324 static void s5p_mfc_handle_frame(struct s5p_mfc_ctx *ctx, in s5p_mfc_handle_frame() [all …]
|
D | s5p_mfc_intr.c | 54 int s5p_mfc_wait_for_done_ctx(struct s5p_mfc_ctx *ctx, in s5p_mfc_wait_for_done_ctx() 85 void s5p_mfc_clean_ctx_int_flags(struct s5p_mfc_ctx *ctx) in s5p_mfc_clean_ctx_int_flags()
|
D | s5p_mfc_cmd_v6.c | 67 static int s5p_mfc_open_inst_cmd_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_open_inst_cmd_v6() 128 static int s5p_mfc_close_inst_cmd_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_close_inst_cmd_v6()
|
D | s5p_mfc_cmd_v5.c | 75 static int s5p_mfc_open_inst_cmd_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_open_inst_cmd_v5() 128 static int s5p_mfc_close_inst_cmd_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_close_inst_cmd_v5()
|
D | s5p_mfc_ctrl.c | 451 int s5p_mfc_open_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx) in s5p_mfc_open_mfc_inst() 492 void s5p_mfc_close_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx) in s5p_mfc_close_mfc_inst()
|