Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/media/platform/s5p-mfc/
Ds5p_mfc_opr.h274 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 …]
Ds5p_mfc_common.h176 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 …]
Ds5p_mfc_enc.h20 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);
Ds5p_mfc_dec.h20 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);
Ds5p_mfc_opr_v5.c37 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()
198 static void s5p_mfc_release_codec_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_codec_buffers_v5()
205 static int s5p_mfc_alloc_instance_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_instance_buffer_v5()
247 static void s5p_mfc_release_instance_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_instance_buffer_v5()
265 static void s5p_mfc_write_info_v5(struct s5p_mfc_ctx *ctx, unsigned int data, in s5p_mfc_write_info_v5()
272 static unsigned int s5p_mfc_read_info_v5(struct s5p_mfc_ctx *ctx, in s5p_mfc_read_info_v5()
279 static void s5p_mfc_dec_calc_dpb_size_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_dec_calc_dpb_size_v5()
321 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.c224 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()
670 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_expbuf()
[all …]
Ds5p_mfc_opr_v6.c49 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()
254 static void s5p_mfc_release_codec_buffers_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_codec_buffers_v6()
260 static int s5p_mfc_alloc_instance_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_instance_buffer_v6()
310 static void s5p_mfc_release_instance_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_instance_buffer_v6()
359 static void s5p_mfc_dec_calc_dpb_size_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_dec_calc_dpb_size_v6()
385 static void s5p_mfc_enc_calc_src_size_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_enc_calc_src_size_v6()
404 static int s5p_mfc_set_dec_stream_buffer_v6(struct s5p_mfc_ctx *ctx, in s5p_mfc_set_dec_stream_buffer_v6()
426 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.h20 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);
Ds5p_mfc_cmd.h30 int (*open_inst_cmd)(struct s5p_mfc_ctx *ctx);
31 int (*close_inst_cmd)(struct s5p_mfc_ctx *ctx);
Ds5p_mfc_ctrl.h31 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);
Ds5p_mfc_enc.c727 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()
824 static int enc_pre_frame_start(struct s5p_mfc_ctx *ctx) in enc_pre_frame_start()
852 static int enc_post_frame_start(struct s5p_mfc_ctx *ctx) in enc_post_frame_start()
1006 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt()
1091 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt()
1144 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs()
1220 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf()
[all …]
Ds5p_mfc.c47 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()
184 static void s5p_mfc_handle_frame_all_extracted(struct s5p_mfc_ctx *ctx) in s5p_mfc_handle_frame_all_extracted()
215 static void s5p_mfc_handle_frame_copy_time(struct s5p_mfc_ctx *ctx) in s5p_mfc_handle_frame_copy_time()
267 static void s5p_mfc_handle_frame_new(struct s5p_mfc_ctx *ctx, unsigned int err) in s5p_mfc_handle_frame_new()
323 static void s5p_mfc_handle_frame(struct s5p_mfc_ctx *ctx, in s5p_mfc_handle_frame()
[all …]
Ds5p_mfc_intr.c54 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()
Ds5p_mfc_cmd_v6.c71 static int s5p_mfc_open_inst_cmd_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_open_inst_cmd_v6()
132 static int s5p_mfc_close_inst_cmd_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_close_inst_cmd_v6()
Ds5p_mfc_cmd_v5.c75 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()
Ds5p_mfc_ctrl.c451 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()