Home
last modified time | relevance | path

Searched refs:s5p_mfc_dev (Results 1 – 19 of 19) sorted by relevance

/Linux-v4.19/drivers/media/platform/s5p-mfc/
Ds5p_mfc_ctrl.h18 int s5p_mfc_release_firmware(struct s5p_mfc_dev *dev);
19 int s5p_mfc_alloc_firmware(struct s5p_mfc_dev *dev);
20 int s5p_mfc_load_firmware(struct s5p_mfc_dev *dev);
22 int s5p_mfc_init_hw(struct s5p_mfc_dev *dev);
23 void s5p_mfc_deinit_hw(struct s5p_mfc_dev *dev);
25 int s5p_mfc_sleep(struct s5p_mfc_dev *dev);
26 int s5p_mfc_wakeup(struct s5p_mfc_dev *dev);
28 int s5p_mfc_reset(struct s5p_mfc_dev *dev);
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);
Ds5p_mfc_opr.h292 int (*alloc_dev_context_buffer)(struct s5p_mfc_dev *dev);
293 void (*release_dev_context_buffer)(struct s5p_mfc_dev *dev);
302 void (*try_run)(struct s5p_mfc_dev *dev);
303 void (*clear_int_flags)(struct s5p_mfc_dev *dev);
304 int (*get_dspl_y_adr)(struct s5p_mfc_dev *dev);
305 int (*get_dec_y_adr)(struct s5p_mfc_dev *dev);
306 int (*get_dspl_status)(struct s5p_mfc_dev *dev);
307 int (*get_dec_status)(struct s5p_mfc_dev *dev);
308 int (*get_dec_frame_type)(struct s5p_mfc_dev *dev);
310 int (*get_consumed_stream)(struct s5p_mfc_dev *dev);
[all …]
Ds5p_mfc_cmd.h25 int (*cmd_host2risc)(struct s5p_mfc_dev *dev, int cmd,
27 int (*sys_init_cmd)(struct s5p_mfc_dev *dev);
28 int (*sleep_cmd)(struct s5p_mfc_dev *dev);
29 int (*wakeup_cmd)(struct s5p_mfc_dev *dev);
34 void s5p_mfc_init_hw_cmds(struct s5p_mfc_dev *dev);
Ds5p_mfc_ctrl.c27 int s5p_mfc_alloc_firmware(struct s5p_mfc_dev *dev) in s5p_mfc_alloc_firmware()
49 int s5p_mfc_load_firmware(struct s5p_mfc_dev *dev) in s5p_mfc_load_firmware()
90 int s5p_mfc_release_firmware(struct s5p_mfc_dev *dev) in s5p_mfc_release_firmware()
99 static int s5p_mfc_bus_reset(struct s5p_mfc_dev *dev) in s5p_mfc_bus_reset()
119 int s5p_mfc_reset(struct s5p_mfc_dev *dev) in s5p_mfc_reset()
177 static inline void s5p_mfc_init_memctrl(struct s5p_mfc_dev *dev) in s5p_mfc_init_memctrl()
195 static inline void s5p_mfc_clear_cmds(struct s5p_mfc_dev *dev) in s5p_mfc_clear_cmds()
209 int s5p_mfc_init_hw(struct s5p_mfc_dev *dev) in s5p_mfc_init_hw()
293 void s5p_mfc_deinit_hw(struct s5p_mfc_dev *dev) in s5p_mfc_deinit_hw()
303 int s5p_mfc_sleep(struct s5p_mfc_dev *dev) in s5p_mfc_sleep()
[all …]
Ds5p_mfc_opr_v5.c39 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_dec_temp_buffers_v5()
66 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_codec_buffers_v5()
205 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_instance_buffer_v5()
251 static int s5p_mfc_alloc_dev_context_buffer_v5(struct s5p_mfc_dev *dev) in s5p_mfc_alloc_dev_context_buffer_v5()
258 static void s5p_mfc_release_dev_context_buffer_v5(struct s5p_mfc_dev *dev) in s5p_mfc_release_dev_context_buffer_v5()
350 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_desc_buffer()
360 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_shared_buffer()
369 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_stream_buffer_v5()
383 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_frame_buffer_v5()
514 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_enc_stream_buffer_v5()
[all …]
Ds5p_mfc_cmd_v6.c21 static int s5p_mfc_cmd_host2risc_v6(struct s5p_mfc_dev *dev, int cmd, in s5p_mfc_cmd_host2risc_v6()
36 static int s5p_mfc_sys_init_cmd_v6(struct s5p_mfc_dev *dev) in s5p_mfc_sys_init_cmd_v6()
52 static int s5p_mfc_sleep_cmd_v6(struct s5p_mfc_dev *dev) in s5p_mfc_sleep_cmd_v6()
61 static int s5p_mfc_wakeup_cmd_v6(struct s5p_mfc_dev *dev) in s5p_mfc_wakeup_cmd_v6()
73 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_open_inst_cmd_v6()
143 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_close_inst_cmd_v6()
Ds5p_mfc_cmd_v5.c20 static int s5p_mfc_cmd_host2risc_v5(struct s5p_mfc_dev *dev, int cmd, in s5p_mfc_cmd_host2risc_v5()
45 static int s5p_mfc_sys_init_cmd_v5(struct s5p_mfc_dev *dev) in s5p_mfc_sys_init_cmd_v5()
56 static int s5p_mfc_sleep_cmd_v5(struct s5p_mfc_dev *dev) in s5p_mfc_sleep_cmd_v5()
65 static int s5p_mfc_wakeup_cmd_v5(struct s5p_mfc_dev *dev) in s5p_mfc_wakeup_cmd_v5()
77 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_open_inst_cmd_v5()
130 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_close_inst_cmd_v5()
Ds5p_mfc_opr.c22 void s5p_mfc_init_hw_ops(struct s5p_mfc_dev *dev) in s5p_mfc_init_hw_ops()
34 void s5p_mfc_init_regs(struct s5p_mfc_dev *dev) in s5p_mfc_init_regs()
40 int s5p_mfc_alloc_priv_buf(struct s5p_mfc_dev *dev, unsigned int mem_ctx, in s5p_mfc_alloc_priv_buf()
82 int s5p_mfc_alloc_generic_buf(struct s5p_mfc_dev *dev, unsigned int mem_ctx, in s5p_mfc_alloc_generic_buf()
101 void s5p_mfc_release_priv_buf(struct s5p_mfc_dev *dev, in s5p_mfc_release_priv_buf()
119 void s5p_mfc_release_generic_buf(struct s5p_mfc_dev *dev, in s5p_mfc_release_generic_buf()
Ds5p_mfc_opr_v6.c65 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_codec_buffers_v6()
338 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_instance_buffer_v6()
397 static int s5p_mfc_alloc_dev_context_buffer_v6(struct s5p_mfc_dev *dev) in s5p_mfc_alloc_dev_context_buffer_v6()
420 static void s5p_mfc_release_dev_context_buffer_v6(struct s5p_mfc_dev *dev) in s5p_mfc_release_dev_context_buffer_v6()
441 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_dec_calc_dpb_size_v6()
497 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_stream_buffer_v6()
519 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_frame_buffer_v6()
617 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_enc_stream_buffer_v6()
632 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_enc_frame_buffer_v6()
645 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_get_enc_frame_buffer_v6()
[all …]
Ds5p_mfc.c55 struct s5p_mfc_dev *dev = ctx->dev; in clear_work_bit()
65 struct s5p_mfc_dev *dev = ctx->dev; in set_work_bit()
75 struct s5p_mfc_dev *dev = ctx->dev; in clear_work_bit_irqsave()
86 struct s5p_mfc_dev *dev = ctx->dev; in set_work_bit_irqsave()
94 int s5p_mfc_get_new_ctx(struct s5p_mfc_dev *dev) in s5p_mfc_get_new_ctx()
125 static void wake_up_dev(struct s5p_mfc_dev *dev, unsigned int reason, in wake_up_dev()
150 struct s5p_mfc_dev *dev = from_timer(dev, t, watchdog_timer); in s5p_mfc_watchdog()
170 struct s5p_mfc_dev *dev; in s5p_mfc_watchdog_worker()
176 dev = container_of(work, struct s5p_mfc_dev, watchdog_work); in s5p_mfc_watchdog_worker()
226 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_handle_frame_all_extracted()
[all …]
Ds5p_mfc_pm.h16 int s5p_mfc_init_pm(struct s5p_mfc_dev *dev);
17 void s5p_mfc_final_pm(struct s5p_mfc_dev *dev);
Ds5p_mfc_intr.h22 int s5p_mfc_wait_for_done_dev(struct s5p_mfc_dev *dev, int command);
24 void s5p_mfc_clean_dev_int_flags(struct s5p_mfc_dev *dev);
Ds5p_mfc_pm.c22 static struct s5p_mfc_dev *p_dev;
25 int s5p_mfc_init_pm(struct s5p_mfc_dev *dev) in s5p_mfc_init_pm()
55 void s5p_mfc_final_pm(struct s5p_mfc_dev *dev) in s5p_mfc_final_pm()
Ds5p_mfc_intr.c24 int s5p_mfc_wait_for_done_dev(struct s5p_mfc_dev *dev, int command) in s5p_mfc_wait_for_done_dev()
47 void s5p_mfc_clean_dev_int_flags(struct s5p_mfc_dev *dev) in s5p_mfc_clean_dev_int_flags()
Ds5p_mfc_dec.c272 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_querycap()
292 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_enum_fmt()
386 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_try_fmt()
422 struct s5p_mfc_dev *dev = video_drvdata(file); 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()
578 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_reqbufs()
742 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_dec_g_v_ctrl()
781 struct s5p_mfc_dev *dev = ctx->dev; in vidioc_g_crop()
821 struct s5p_mfc_dev *dev = ctx->dev; in vidioc_decoder_cmd()
[all …]
Ds5p_mfc_cmd.c21 void s5p_mfc_init_hw_cmds(struct s5p_mfc_dev *dev) in s5p_mfc_init_hw_cmds()
Ds5p_mfc_enc.c1141 struct s5p_mfc_dev *dev = ctx->dev; in enc_pre_seq_start()
1156 struct s5p_mfc_dev *dev = ctx->dev; in enc_post_seq_start()
1198 struct s5p_mfc_dev *dev = ctx->dev; in enc_pre_frame_start()
1221 struct s5p_mfc_dev *dev = ctx->dev; in enc_post_frame_start()
1314 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_querycap()
1333 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_enum_fmt()
1407 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_try_fmt()
1446 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_s_fmt()
1499 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_reqbufs()
1815 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_enc_s_ctrl()
[all …]
Ds5p_mfc_opr_v6.h59 const struct s5p_mfc_regs *s5p_mfc_init_regs_v6_plus(struct s5p_mfc_dev *dev);
Ds5p_mfc_common.h302 struct s5p_mfc_dev { struct
620 struct s5p_mfc_dev *dev;
763 int s5p_mfc_get_new_ctx(struct s5p_mfc_dev *dev);