Home
last modified time | relevance | path

Searched refs:s5p_mfc_ctx (Results 1 – 16 of 16) sorted by relevance

/linux-5.19.10/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc_opr.h283 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 …]
Ds5p_mfc_common.h172 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);
625 struct s5p_mfc_ctx { struct
760 #define fh_to_ctx(__fh) container_of(__fh, struct s5p_mfc_ctx, fh)
762 container_of((__ctrl)->handler, struct s5p_mfc_ctx, ctrl_handler)
764 void clear_work_bit(struct s5p_mfc_ctx *ctx);
[all …]
Ds5p_mfc_opr_v5.c34 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 …]
Ds5p_mfc_dec.h16 int s5p_mfc_dec_ctrls_setup(struct s5p_mfc_ctx *ctx);
17 void s5p_mfc_dec_ctrls_delete(struct s5p_mfc_ctx *ctx);
18 void s5p_mfc_dec_init(struct s5p_mfc_ctx *ctx);
Ds5p_mfc_enc.h16 int s5p_mfc_enc_ctrls_setup(struct s5p_mfc_ctx *ctx);
17 void s5p_mfc_enc_ctrls_delete(struct s5p_mfc_ctx *ctx);
18 void s5p_mfc_enc_init(struct s5p_mfc_ctx *ctx);
Ds5p_mfc_dec.c245 static int s5p_mfc_ctx_ready(struct s5p_mfc_ctx *ctx) in s5p_mfc_ctx_ready()
334 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt()
426 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt()
475 static int reqbufs_output(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx, in reqbufs_output()
523 static int reqbufs_capture(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx, in reqbufs_capture()
582 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs()
603 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf()
631 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_qbuf()
650 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_dqbuf()
679 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_expbuf()
[all …]
Ds5p_mfc_opr_v6.c46 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()
327 static void s5p_mfc_release_codec_buffers_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_codec_buffers_v6()
333 static int s5p_mfc_alloc_instance_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_instance_buffer_v6()
388 static void s5p_mfc_release_instance_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_instance_buffer_v6()
436 static void s5p_mfc_dec_calc_dpb_size_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_dec_calc_dpb_size_v6()
471 static void s5p_mfc_enc_calc_src_size_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_enc_calc_src_size_v6()
490 static int s5p_mfc_set_dec_stream_buffer_v6(struct s5p_mfc_ctx *ctx, in s5p_mfc_set_dec_stream_buffer_v6()
512 static int s5p_mfc_set_dec_frame_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_set_dec_frame_buffer_v6()
[all …]
Ds5p_mfc_intr.h17 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);
Ds5p_mfc_cmd.h26 int (*open_inst_cmd)(struct s5p_mfc_ctx *ctx);
27 int (*close_inst_cmd)(struct s5p_mfc_ctx *ctx);
Ds5p_mfc_ctrl.h26 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);
Ds5p_mfc_enc.c1094 static int s5p_mfc_ctx_ready(struct s5p_mfc_ctx *ctx) in s5p_mfc_ctx_ready()
1114 static void cleanup_ref_queue(struct s5p_mfc_ctx *ctx) in cleanup_ref_queue()
1133 static int enc_pre_seq_start(struct s5p_mfc_ctx *ctx) in enc_pre_seq_start()
1148 static int enc_post_seq_start(struct s5p_mfc_ctx *ctx) in enc_post_seq_start()
1190 static int enc_pre_frame_start(struct s5p_mfc_ctx *ctx) in enc_pre_frame_start()
1213 static int enc_post_frame_start(struct s5p_mfc_ctx *ctx) in enc_post_frame_start()
1352 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt()
1428 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt()
1481 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs()
1560 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf()
[all …]
Ds5p_mfc.c49 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()
167 struct s5p_mfc_ctx *ctx; in s5p_mfc_watchdog_worker()
219 static void s5p_mfc_handle_frame_all_extracted(struct s5p_mfc_ctx *ctx) in s5p_mfc_handle_frame_all_extracted()
250 static void s5p_mfc_handle_frame_copy_time(struct s5p_mfc_ctx *ctx) in s5p_mfc_handle_frame_copy_time()
302 static void s5p_mfc_handle_frame_new(struct s5p_mfc_ctx *ctx, unsigned int err) in s5p_mfc_handle_frame_new()
359 static void s5p_mfc_handle_frame(struct s5p_mfc_ctx *ctx, in s5p_mfc_handle_frame()
[all …]
Ds5p_mfc_intr.c51 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()
Ds5p_mfc_cmd_v6.c67 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()
Ds5p_mfc_cmd_v5.c71 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()
Ds5p_mfc_ctrl.c423 int s5p_mfc_open_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx) in s5p_mfc_open_mfc_inst()
464 void s5p_mfc_close_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx) in s5p_mfc_close_mfc_inst()