/linux/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_ctrl.h | 14 int s5p_mfc_release_firmware(struct s5p_mfc_dev *dev); 15 int s5p_mfc_alloc_firmware(struct s5p_mfc_dev *dev); 16 int s5p_mfc_load_firmware(struct s5p_mfc_dev *dev); 18 int s5p_mfc_init_hw(struct s5p_mfc_dev *dev); 19 void s5p_mfc_deinit_hw(struct s5p_mfc_dev *dev); 21 int s5p_mfc_sleep(struct s5p_mfc_dev *dev); 22 int s5p_mfc_wakeup(struct s5p_mfc_dev *dev); 24 int s5p_mfc_reset(struct s5p_mfc_dev *dev); 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);
|
H A D | s5p_mfc_opr.h | 289 int (*alloc_dev_context_buffer)(struct s5p_mfc_dev *dev); 290 void (*release_dev_context_buffer)(struct s5p_mfc_dev *dev); 301 void (*try_run)(struct s5p_mfc_dev *dev); 302 void (*clear_int_flags)(struct s5p_mfc_dev *dev); 303 int (*get_dspl_y_adr)(struct s5p_mfc_dev *dev); 304 int (*get_dec_y_adr)(struct s5p_mfc_dev *dev); 305 int (*get_dspl_status)(struct s5p_mfc_dev *dev); 306 int (*get_dec_status)(struct s5p_mfc_dev *dev); 307 int (*get_dec_frame_type)(struct s5p_mfc_dev *dev); 309 int (*get_consumed_stream)(struct s5p_mfc_dev *dev); [all …]
|
H A D | s5p_mfc_pm.h | 12 int s5p_mfc_init_pm(struct s5p_mfc_dev *dev); 13 void s5p_mfc_final_pm(struct s5p_mfc_dev *dev); 15 int s5p_mfc_clock_on(struct s5p_mfc_dev *dev); 16 void s5p_mfc_clock_off(struct s5p_mfc_dev *dev); 17 int s5p_mfc_power_on(struct s5p_mfc_dev *dev); 18 int s5p_mfc_power_off(struct s5p_mfc_dev *dev);
|
H A D | s5p_mfc_cmd.h | 21 int (*cmd_host2risc)(struct s5p_mfc_dev *dev, int cmd, 23 int (*sys_init_cmd)(struct s5p_mfc_dev *dev); 24 int (*sleep_cmd)(struct s5p_mfc_dev *dev); 25 int (*wakeup_cmd)(struct s5p_mfc_dev *dev); 30 void s5p_mfc_init_hw_cmds(struct s5p_mfc_dev *dev);
|
H A D | s5p_mfc_ctrl.c | 23 int s5p_mfc_alloc_firmware(struct s5p_mfc_dev *dev) in s5p_mfc_alloc_firmware() 45 int s5p_mfc_load_firmware(struct s5p_mfc_dev *dev) in s5p_mfc_load_firmware() 92 int s5p_mfc_release_firmware(struct s5p_mfc_dev *dev) in s5p_mfc_release_firmware() 101 static int s5p_mfc_bus_reset(struct s5p_mfc_dev *dev) in s5p_mfc_bus_reset() 121 int s5p_mfc_reset(struct s5p_mfc_dev *dev) in s5p_mfc_reset() 179 static inline void s5p_mfc_init_memctrl(struct s5p_mfc_dev *dev) in s5p_mfc_init_memctrl() 197 static inline void s5p_mfc_clear_cmds(struct s5p_mfc_dev *dev) in s5p_mfc_clear_cmds() 211 int s5p_mfc_init_hw(struct s5p_mfc_dev *dev) in s5p_mfc_init_hw() 295 void s5p_mfc_deinit_hw(struct s5p_mfc_dev *dev) in s5p_mfc_deinit_hw() 305 int s5p_mfc_sleep(struct s5p_mfc_dev *dev) in s5p_mfc_sleep() [all …]
|
H A D | s5p_mfc_pm.c | 17 int s5p_mfc_init_pm(struct s5p_mfc_dev *dev) in s5p_mfc_init_pm() 49 void s5p_mfc_final_pm(struct s5p_mfc_dev *dev) in s5p_mfc_final_pm() 54 int s5p_mfc_clock_on(struct s5p_mfc_dev *dev) in s5p_mfc_clock_on() 59 void s5p_mfc_clock_off(struct s5p_mfc_dev *dev) in s5p_mfc_clock_off() 64 int s5p_mfc_power_on(struct s5p_mfc_dev *dev) in s5p_mfc_power_on() 93 int s5p_mfc_power_off(struct s5p_mfc_dev *dev) in s5p_mfc_power_off()
|
H A D | s5p_mfc_opr_v5.c | 36 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_dec_temp_buffers_v5() 63 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_codec_buffers_v5() 202 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_instance_buffer_v5() 248 static int s5p_mfc_alloc_dev_context_buffer_v5(struct s5p_mfc_dev *dev) in s5p_mfc_alloc_dev_context_buffer_v5() 255 static void s5p_mfc_release_dev_context_buffer_v5(struct s5p_mfc_dev *dev) in s5p_mfc_release_dev_context_buffer_v5() 347 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_desc_buffer() 357 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_shared_buffer() 366 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_stream_buffer_v5() 380 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_frame_buffer_v5() 511 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_enc_stream_buffer_v5() [all …]
|
H A D | s5p_mfc_cmd_v6.c | 17 static int s5p_mfc_cmd_host2risc_v6(struct s5p_mfc_dev *dev, int cmd, in s5p_mfc_cmd_host2risc_v6() 32 static int s5p_mfc_sys_init_cmd_v6(struct s5p_mfc_dev *dev) in s5p_mfc_sys_init_cmd_v6() 48 static int s5p_mfc_sleep_cmd_v6(struct s5p_mfc_dev *dev) in s5p_mfc_sleep_cmd_v6() 57 static int s5p_mfc_wakeup_cmd_v6(struct s5p_mfc_dev *dev) in s5p_mfc_wakeup_cmd_v6() 69 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_open_inst_cmd_v6() 139 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_close_inst_cmd_v6()
|
H A D | s5p_mfc_opr.c | 17 void s5p_mfc_init_hw_ops(struct s5p_mfc_dev *dev) in s5p_mfc_init_hw_ops() 28 void s5p_mfc_init_regs(struct s5p_mfc_dev *dev) in s5p_mfc_init_regs() 34 int s5p_mfc_alloc_priv_buf(struct s5p_mfc_dev *dev, unsigned int mem_ctx, in s5p_mfc_alloc_priv_buf() 76 int s5p_mfc_alloc_generic_buf(struct s5p_mfc_dev *dev, unsigned int mem_ctx, in s5p_mfc_alloc_generic_buf() 95 void s5p_mfc_release_priv_buf(struct s5p_mfc_dev *dev, in s5p_mfc_release_priv_buf() 113 void s5p_mfc_release_generic_buf(struct s5p_mfc_dev *dev, in s5p_mfc_release_generic_buf()
|
H A D | s5p_mfc_cmd_v5.c | 16 static int s5p_mfc_cmd_host2risc_v5(struct s5p_mfc_dev *dev, int cmd, in s5p_mfc_cmd_host2risc_v5() 41 static int s5p_mfc_sys_init_cmd_v5(struct s5p_mfc_dev *dev) in s5p_mfc_sys_init_cmd_v5() 52 static int s5p_mfc_sleep_cmd_v5(struct s5p_mfc_dev *dev) in s5p_mfc_sleep_cmd_v5() 61 static int s5p_mfc_wakeup_cmd_v5(struct s5p_mfc_dev *dev) in s5p_mfc_wakeup_cmd_v5() 73 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_open_inst_cmd_v5() 126 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_close_inst_cmd_v5()
|
H A D | s5p_mfc_opr_v6.c | 62 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_codec_buffers_v6() 385 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_instance_buffer_v6() 444 static int s5p_mfc_alloc_dev_context_buffer_v6(struct s5p_mfc_dev *dev) in s5p_mfc_alloc_dev_context_buffer_v6() 467 static void s5p_mfc_release_dev_context_buffer_v6(struct s5p_mfc_dev *dev) in s5p_mfc_release_dev_context_buffer_v6() 488 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_dec_calc_dpb_size_v6() 588 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_stream_buffer_v6() 610 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_frame_buffer_v6() 718 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_enc_stream_buffer_v6() 734 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_enc_frame_buffer_v6() 750 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_get_enc_frame_buffer_v6() [all …]
|
H A D | s5p_mfc.c | 51 struct s5p_mfc_dev *dev = ctx->dev; in clear_work_bit() 61 struct s5p_mfc_dev *dev = ctx->dev; in set_work_bit() 71 struct s5p_mfc_dev *dev = ctx->dev; in clear_work_bit_irqsave() 82 struct s5p_mfc_dev *dev = ctx->dev; in set_work_bit_irqsave() 90 int s5p_mfc_get_new_ctx(struct s5p_mfc_dev *dev) in s5p_mfc_get_new_ctx() 121 static void wake_up_dev(struct s5p_mfc_dev *dev, unsigned int reason, in wake_up_dev() 146 struct s5p_mfc_dev *dev = from_timer(dev, t, watchdog_timer); in s5p_mfc_watchdog() 168 struct s5p_mfc_dev *dev; in s5p_mfc_watchdog_worker() 174 dev = container_of(work, struct s5p_mfc_dev, watchdog_work); in s5p_mfc_watchdog_worker() 228 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_handle_frame_all_extracted() [all …]
|
H A D | s5p_mfc_intr.h | 19 int s5p_mfc_wait_for_done_dev(struct s5p_mfc_dev *dev, int command); 21 void s5p_mfc_clean_dev_int_flags(struct s5p_mfc_dev *dev);
|
H A D | s5p_mfc_dec.c | 301 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_querycap() 312 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_enum_fmt() 408 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_try_fmt() 444 struct s5p_mfc_dev *dev = video_drvdata(file); 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() 600 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_reqbufs() 766 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_dec_g_v_ctrl() 805 struct s5p_mfc_dev *dev = ctx->dev; in vidioc_g_selection() 860 struct s5p_mfc_dev *dev = ctx->dev; in vidioc_decoder_cmd() [all …]
|
H A D | s5p_mfc_intr.c | 21 int s5p_mfc_wait_for_done_dev(struct s5p_mfc_dev *dev, int command) in s5p_mfc_wait_for_done_dev() 44 void s5p_mfc_clean_dev_int_flags(struct s5p_mfc_dev *dev) in s5p_mfc_clean_dev_int_flags()
|
H A D | s5p_mfc_cmd.c | 15 void s5p_mfc_init_hw_cmds(struct s5p_mfc_dev *dev) in s5p_mfc_init_hw_cmds()
|
H A D | s5p_mfc_enc.c | 1149 struct s5p_mfc_dev *dev = ctx->dev; in enc_pre_seq_start() 1164 struct s5p_mfc_dev *dev = ctx->dev; in enc_post_seq_start() 1203 struct s5p_mfc_dev *dev = ctx->dev; in enc_pre_frame_start() 1232 struct s5p_mfc_dev *dev = ctx->dev; in enc_post_frame_start() 1348 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_querycap() 1358 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_enum_fmt() 1433 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_try_fmt() 1475 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_s_fmt() 1533 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_reqbufs() 1841 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_enc_s_ctrl() [all …]
|
H A D | s5p_mfc_opr_v6.h | 55 const struct s5p_mfc_regs *s5p_mfc_init_regs_v6_plus(struct s5p_mfc_dev *dev);
|
H A D | s5p_mfc_common.h | 304 struct s5p_mfc_dev { struct 631 struct s5p_mfc_dev *dev; 777 int s5p_mfc_get_new_ctx(struct s5p_mfc_dev *dev);
|