Searched refs:s5p_mfc_ctx (Results 1 – 16 of 16) sorted by relevance
/Linux-v4.19/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_opr.h | 286 int (*alloc_dec_temp_buffers)(struct s5p_mfc_ctx *ctx); 287 void (*release_dec_desc_buffer)(struct s5p_mfc_ctx *ctx); 288 int (*alloc_codec_buffers)(struct s5p_mfc_ctx *ctx); 289 void (*release_codec_buffers)(struct s5p_mfc_ctx *ctx); 290 int (*alloc_instance_buffer)(struct s5p_mfc_ctx *ctx); 291 void (*release_instance_buffer)(struct s5p_mfc_ctx *ctx); 294 void (*dec_calc_dpb_size)(struct s5p_mfc_ctx *ctx); 295 void (*enc_calc_src_size)(struct s5p_mfc_ctx *ctx); 296 int (*set_enc_stream_buffer)(struct s5p_mfc_ctx *ctx, 298 void (*set_enc_frame_buffer)(struct s5p_mfc_ctx *ctx, [all …]
|
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_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_common.h | 176 struct s5p_mfc_ctx; 330 struct s5p_mfc_ctx *ctx[MFC_NUM_CONTEXTS]; 533 int (*pre_seq_start) (struct s5p_mfc_ctx *ctx); 534 int (*post_seq_start) (struct s5p_mfc_ctx *ctx); 536 int (*pre_frame_start) (struct s5p_mfc_ctx *ctx); 537 int (*post_frame_start) (struct s5p_mfc_ctx *ctx); 619 struct s5p_mfc_ctx { struct 755 #define fh_to_ctx(__fh) container_of(__fh, struct s5p_mfc_ctx, fh) 757 container_of((__ctrl)->handler, struct s5p_mfc_ctx, ctrl_handler) 759 void clear_work_bit(struct s5p_mfc_ctx *ctx); [all …]
|
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 | 230 static int s5p_mfc_ctx_ready(struct s5p_mfc_ctx *ctx) in s5p_mfc_ctx_ready() 331 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt() 423 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt() 472 static int reqbufs_output(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx, in reqbufs_output() 520 static int reqbufs_capture(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx, in reqbufs_capture() 579 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs() 600 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf() 628 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_qbuf() 647 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_dqbuf() 676 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() 330 static void s5p_mfc_release_codec_buffers_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_codec_buffers_v6() 336 static int s5p_mfc_alloc_instance_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_instance_buffer_v6() 391 static void s5p_mfc_release_instance_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_instance_buffer_v6() 439 static void s5p_mfc_dec_calc_dpb_size_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_dec_calc_dpb_size_v6() 474 static void s5p_mfc_enc_calc_src_size_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_enc_calc_src_size_v6() 493 static int s5p_mfc_set_dec_stream_buffer_v6(struct s5p_mfc_ctx *ctx, in s5p_mfc_set_dec_stream_buffer_v6() 515 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 | 30 int s5p_mfc_open_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx); 31 void s5p_mfc_close_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx);
|
D | s5p_mfc_enc.c | 1100 static int s5p_mfc_ctx_ready(struct s5p_mfc_ctx *ctx) in s5p_mfc_ctx_ready() 1120 static void cleanup_ref_queue(struct s5p_mfc_ctx *ctx) in cleanup_ref_queue() 1139 static int enc_pre_seq_start(struct s5p_mfc_ctx *ctx) in enc_pre_seq_start() 1154 static int enc_post_seq_start(struct s5p_mfc_ctx *ctx) in enc_post_seq_start() 1196 static int enc_pre_frame_start(struct s5p_mfc_ctx *ctx) in enc_pre_frame_start() 1219 static int enc_post_frame_start(struct s5p_mfc_ctx *ctx) in enc_post_frame_start() 1371 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt() 1447 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt() 1500 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs() 1579 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf() [all …]
|
D | s5p_mfc.c | 53 void clear_work_bit(struct s5p_mfc_ctx *ctx) in clear_work_bit() 63 void set_work_bit(struct s5p_mfc_ctx *ctx) in set_work_bit() 73 void clear_work_bit_irqsave(struct s5p_mfc_ctx *ctx) in clear_work_bit_irqsave() 84 void set_work_bit_irqsave(struct s5p_mfc_ctx *ctx) in set_work_bit_irqsave() 115 static void wake_up_ctx(struct s5p_mfc_ctx *ctx, unsigned int reason, in wake_up_ctx() 171 struct s5p_mfc_ctx *ctx; in s5p_mfc_watchdog_worker() 223 static void s5p_mfc_handle_frame_all_extracted(struct s5p_mfc_ctx *ctx) in s5p_mfc_handle_frame_all_extracted() 254 static void s5p_mfc_handle_frame_copy_time(struct s5p_mfc_ctx *ctx) in s5p_mfc_handle_frame_copy_time() 306 static void s5p_mfc_handle_frame_new(struct s5p_mfc_ctx *ctx, unsigned int err) in s5p_mfc_handle_frame_new() 363 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 | 71 static int s5p_mfc_open_inst_cmd_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_open_inst_cmd_v6() 141 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 | 427 int s5p_mfc_open_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx) in s5p_mfc_open_mfc_inst() 468 void s5p_mfc_close_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx) in s5p_mfc_close_mfc_inst()
|