Searched refs:s5p_mfc_ctx (Results 1 – 16 of 16) sorted by relevance
/linux-6.12.1/drivers/media/platform/samsung/s5p-mfc/ |
D | s5p_mfc_opr.h | 283 int (*alloc_dec_temp_buffers)(struct s5p_mfc_ctx *ctx); 284 void (*release_dec_desc_buffer)(struct s5p_mfc_ctx *ctx); 285 int (*alloc_codec_buffers)(struct s5p_mfc_ctx *ctx); 286 void (*release_codec_buffers)(struct s5p_mfc_ctx *ctx); 287 int (*alloc_instance_buffer)(struct s5p_mfc_ctx *ctx); 288 void (*release_instance_buffer)(struct s5p_mfc_ctx *ctx); 291 void (*dec_calc_dpb_size)(struct s5p_mfc_ctx *ctx); 292 void (*enc_calc_src_size)(struct s5p_mfc_ctx *ctx); 293 int (*set_enc_stream_buffer)(struct s5p_mfc_ctx *ctx, 295 void (*set_enc_frame_buffer)(struct s5p_mfc_ctx *ctx, [all …]
|
D | s5p_mfc_opr_v5.c | 34 static int s5p_mfc_alloc_dec_temp_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_dec_temp_buffers_v5() 55 static void s5p_mfc_release_dec_desc_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_dec_desc_buffer_v5() 61 static int s5p_mfc_alloc_codec_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_codec_buffers_v5() 193 static void s5p_mfc_release_codec_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_codec_buffers_v5() 200 static int s5p_mfc_alloc_instance_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_instance_buffer_v5() 242 static void s5p_mfc_release_instance_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_instance_buffer_v5() 260 static void s5p_mfc_write_info_v5(struct s5p_mfc_ctx *ctx, unsigned int data, in s5p_mfc_write_info_v5() 267 static unsigned int s5p_mfc_read_info_v5(struct s5p_mfc_ctx *ctx, in s5p_mfc_read_info_v5() 274 static void s5p_mfc_dec_calc_dpb_size_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_dec_calc_dpb_size_v5() 316 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_common.h | 173 struct s5p_mfc_ctx; 332 struct s5p_mfc_ctx *ctx[MFC_NUM_CONTEXTS]; 535 int (*pre_seq_start) (struct s5p_mfc_ctx *ctx); 536 int (*post_seq_start) (struct s5p_mfc_ctx *ctx); 538 int (*pre_frame_start) (struct s5p_mfc_ctx *ctx); 539 int (*post_frame_start) (struct s5p_mfc_ctx *ctx); 630 struct s5p_mfc_ctx { struct 769 #define fh_to_ctx(__fh) container_of(__fh, struct s5p_mfc_ctx, fh) 771 container_of((__ctrl)->handler, struct s5p_mfc_ctx, ctrl_handler) 773 void clear_work_bit(struct s5p_mfc_ctx *ctx); [all …]
|
D | s5p_mfc_dec.h | 15 int s5p_mfc_dec_ctrls_setup(struct s5p_mfc_ctx *ctx); 16 void s5p_mfc_dec_ctrls_delete(struct s5p_mfc_ctx *ctx); 17 void s5p_mfc_dec_init(struct s5p_mfc_ctx *ctx);
|
D | s5p_mfc_enc.h | 15 int s5p_mfc_enc_ctrls_setup(struct s5p_mfc_ctx *ctx); 16 void s5p_mfc_enc_ctrls_delete(struct s5p_mfc_ctx *ctx); 17 void s5p_mfc_enc_init(struct s5p_mfc_ctx *ctx);
|
D | s5p_mfc_dec.c | 259 static int s5p_mfc_ctx_ready(struct s5p_mfc_ctx *ctx) in s5p_mfc_ctx_ready() 348 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt() 445 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt() 494 static int reqbufs_output(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx, in reqbufs_output() 542 static int reqbufs_capture(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx, in reqbufs_capture() 601 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs() 622 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf() 650 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_qbuf() 669 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_dqbuf() 698 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_expbuf() [all …]
|
D | s5p_mfc_opr_v6.c | 46 static int s5p_mfc_alloc_dec_temp_buffers_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_dec_temp_buffers_v6() 54 static void s5p_mfc_release_dec_desc_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_dec_desc_buffer_v6() 60 static int s5p_mfc_alloc_codec_buffers_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_codec_buffers_v6() 377 static void s5p_mfc_release_codec_buffers_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_codec_buffers_v6() 383 static int s5p_mfc_alloc_instance_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_instance_buffer_v6() 438 static void s5p_mfc_release_instance_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_instance_buffer_v6() 486 static void s5p_mfc_dec_calc_dpb_size_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_dec_calc_dpb_size_v6() 539 static void s5p_mfc_enc_calc_src_size_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_enc_calc_src_size_v6() 584 static int s5p_mfc_set_dec_stream_buffer_v6(struct s5p_mfc_ctx *ctx, in s5p_mfc_set_dec_stream_buffer_v6() 606 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 | 17 int s5p_mfc_wait_for_done_ctx(struct s5p_mfc_ctx *ctx, 20 void s5p_mfc_clean_ctx_int_flags(struct s5p_mfc_ctx *ctx);
|
D | s5p_mfc_cmd.h | 26 int (*open_inst_cmd)(struct s5p_mfc_ctx *ctx); 27 int (*close_inst_cmd)(struct s5p_mfc_ctx *ctx);
|
D | s5p_mfc_ctrl.h | 26 int s5p_mfc_open_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx); 27 void s5p_mfc_close_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx);
|
D | s5p_mfc_enc.c | 1108 static int s5p_mfc_ctx_ready(struct s5p_mfc_ctx *ctx) in s5p_mfc_ctx_ready() 1128 static void cleanup_ref_queue(struct s5p_mfc_ctx *ctx) in cleanup_ref_queue() 1147 static int enc_pre_seq_start(struct s5p_mfc_ctx *ctx) in enc_pre_seq_start() 1162 static int enc_post_seq_start(struct s5p_mfc_ctx *ctx) in enc_post_seq_start() 1201 static int enc_pre_frame_start(struct s5p_mfc_ctx *ctx) in enc_pre_frame_start() 1230 static int enc_post_frame_start(struct s5p_mfc_ctx *ctx) in enc_post_frame_start() 1392 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt() 1476 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt() 1534 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs() 1604 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf() [all …]
|
D | s5p_mfc.c | 49 void clear_work_bit(struct s5p_mfc_ctx *ctx) in clear_work_bit() 59 void set_work_bit(struct s5p_mfc_ctx *ctx) in set_work_bit() 69 void clear_work_bit_irqsave(struct s5p_mfc_ctx *ctx) in clear_work_bit_irqsave() 80 void set_work_bit_irqsave(struct s5p_mfc_ctx *ctx) in set_work_bit_irqsave() 111 static void wake_up_ctx(struct s5p_mfc_ctx *ctx, unsigned int reason, in wake_up_ctx() 169 struct s5p_mfc_ctx *ctx; in s5p_mfc_watchdog_worker() 225 static void s5p_mfc_handle_frame_all_extracted(struct s5p_mfc_ctx *ctx) in s5p_mfc_handle_frame_all_extracted() 256 static void s5p_mfc_handle_frame_copy_time(struct s5p_mfc_ctx *ctx) in s5p_mfc_handle_frame_copy_time() 312 static void s5p_mfc_handle_frame_new(struct s5p_mfc_ctx *ctx, unsigned int err) in s5p_mfc_handle_frame_new() 371 static void s5p_mfc_handle_frame(struct s5p_mfc_ctx *ctx, in s5p_mfc_handle_frame() [all …]
|
D | s5p_mfc_intr.c | 51 int s5p_mfc_wait_for_done_ctx(struct s5p_mfc_ctx *ctx, in s5p_mfc_wait_for_done_ctx() 82 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() 137 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 | 71 static int s5p_mfc_open_inst_cmd_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_open_inst_cmd_v5() 124 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 | 429 int s5p_mfc_open_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx) in s5p_mfc_open_mfc_inst() 470 void s5p_mfc_close_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx) in s5p_mfc_close_mfc_inst()
|