Searched refs:s5p_mfc_dev (Results 1 – 19 of 19) sorted by relevance
/linux-4.1.27/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_ctrl.h | 18 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); 21 int s5p_mfc_reload_firmware(struct s5p_mfc_dev *dev); 23 int s5p_mfc_init_hw(struct s5p_mfc_dev *dev); 24 void s5p_mfc_deinit_hw(struct s5p_mfc_dev *dev); 26 int s5p_mfc_sleep(struct s5p_mfc_dev *dev); 27 int s5p_mfc_wakeup(struct s5p_mfc_dev *dev); 29 int s5p_mfc_reset(struct s5p_mfc_dev *dev); 31 int s5p_mfc_open_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx); [all …]
|
D | s5p_mfc_opr.h | 280 int (*alloc_dev_context_buffer)(struct s5p_mfc_dev *dev); 281 void (*release_dev_context_buffer)(struct s5p_mfc_dev *dev); 298 void (*try_run)(struct s5p_mfc_dev *dev); 301 void (*clear_int_flags)(struct s5p_mfc_dev *dev); 306 int (*get_dspl_y_adr)(struct s5p_mfc_dev *dev); 307 int (*get_dec_y_adr)(struct s5p_mfc_dev *dev); 308 int (*get_dspl_status)(struct s5p_mfc_dev *dev); 309 int (*get_dec_status)(struct s5p_mfc_dev *dev); 310 int (*get_dec_frame_type)(struct s5p_mfc_dev *dev); 312 int (*get_consumed_stream)(struct s5p_mfc_dev *dev); [all …]
|
D | s5p_mfc_cmd.h | 25 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);
|
D | s5p_mfc_ctrl.c | 27 int s5p_mfc_alloc_firmware(struct s5p_mfc_dev *dev) in s5p_mfc_alloc_firmware() 78 int s5p_mfc_load_firmware(struct s5p_mfc_dev *dev) in s5p_mfc_load_firmware() 120 int s5p_mfc_release_firmware(struct s5p_mfc_dev *dev) in s5p_mfc_release_firmware() 132 static int s5p_mfc_bus_reset(struct s5p_mfc_dev *dev) in s5p_mfc_bus_reset() 152 int s5p_mfc_reset(struct s5p_mfc_dev *dev) in s5p_mfc_reset() 210 static inline void s5p_mfc_init_memctrl(struct s5p_mfc_dev *dev) in s5p_mfc_init_memctrl() 223 static inline void s5p_mfc_clear_cmds(struct s5p_mfc_dev *dev) in s5p_mfc_clear_cmds() 237 int s5p_mfc_init_hw(struct s5p_mfc_dev *dev) in s5p_mfc_init_hw() 317 void s5p_mfc_deinit_hw(struct s5p_mfc_dev *dev) in s5p_mfc_deinit_hw() 327 int s5p_mfc_sleep(struct s5p_mfc_dev *dev) in s5p_mfc_sleep() [all …]
|
D | s5p_mfc_opr_v5.c | 39 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 …]
|
D | s5p_mfc_cmd_v6.c | 21 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() 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() 130 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_close_inst_cmd_v6()
|
D | s5p_mfc_cmd_v5.c | 20 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()
|
D | s5p_mfc_opr_v6.c | 65 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_codec_buffers_v6() 261 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_alloc_instance_buffer_v6() 315 static int s5p_mfc_alloc_dev_context_buffer_v6(struct s5p_mfc_dev *dev) in s5p_mfc_alloc_dev_context_buffer_v6() 338 static void s5p_mfc_release_dev_context_buffer_v6(struct s5p_mfc_dev *dev) in s5p_mfc_release_dev_context_buffer_v6() 406 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_stream_buffer_v6() 428 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_dec_frame_buffer_v6() 517 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_enc_stream_buffer_v6() 532 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_enc_frame_buffer_v6() 545 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_get_enc_frame_buffer_v6() 562 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_set_enc_ref_buffer_v6() [all …]
|
D | s5p_mfc.c | 49 struct s5p_mfc_dev *dev = ctx->dev; in clear_work_bit() 59 struct s5p_mfc_dev *dev = ctx->dev; in set_work_bit() 69 struct s5p_mfc_dev *dev = ctx->dev; in clear_work_bit_irqsave() 80 struct s5p_mfc_dev *dev = ctx->dev; in set_work_bit_irqsave() 99 static void wake_up_dev(struct s5p_mfc_dev *dev, unsigned int reason, in wake_up_dev() 110 struct s5p_mfc_dev *dev = (struct s5p_mfc_dev *)arg; in s5p_mfc_watchdog() 130 struct s5p_mfc_dev *dev; in s5p_mfc_watchdog_worker() 136 dev = container_of(work, struct s5p_mfc_dev, watchdog_work); in s5p_mfc_watchdog_worker() 184 static void s5p_mfc_clear_int_flags(struct s5p_mfc_dev *dev) in s5p_mfc_clear_int_flags() 194 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_handle_frame_all_extracted() [all …]
|
D | s5p_mfc_pm.h | 16 int s5p_mfc_init_pm(struct s5p_mfc_dev *dev); 17 void s5p_mfc_final_pm(struct s5p_mfc_dev *dev);
|
D | s5p_mfc_intr.h | 22 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);
|
D | s5p_mfc_pm.c | 28 static struct s5p_mfc_dev *p_dev; 34 int s5p_mfc_init_pm(struct s5p_mfc_dev *dev) in s5p_mfc_init_pm() 85 void s5p_mfc_final_pm(struct s5p_mfc_dev *dev) in s5p_mfc_final_pm()
|
D | s5p_mfc_opr.c | 22 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()
|
D | s5p_mfc_intr.c | 24 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()
|
D | s5p_mfc_dec.c | 266 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_querycap() 285 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_enum_fmt() 379 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_try_fmt() 415 struct s5p_mfc_dev *dev = video_drvdata(file); 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() 572 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_reqbufs() 731 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_dec_g_v_ctrl() 770 struct s5p_mfc_dev *dev = ctx->dev; in vidioc_g_crop() 810 struct s5p_mfc_dev *dev = ctx->dev; in vidioc_decoder_cmd() [all …]
|
D | s5p_mfc_cmd.c | 21 void s5p_mfc_init_hw_cmds(struct s5p_mfc_dev *dev) in s5p_mfc_init_hw_cmds()
|
D | s5p_mfc_enc.c | 768 struct s5p_mfc_dev *dev = ctx->dev; in enc_pre_seq_start() 786 struct s5p_mfc_dev *dev = ctx->dev; in enc_post_seq_start() 825 struct s5p_mfc_dev *dev = ctx->dev; in enc_pre_frame_start() 853 struct s5p_mfc_dev *dev = ctx->dev; in enc_post_frame_start() 944 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_querycap() 962 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_enum_fmt() 1036 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_try_fmt() 1084 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_s_fmt() 1137 struct s5p_mfc_dev *dev = video_drvdata(file); in vidioc_reqbufs() 1394 struct s5p_mfc_dev *dev = ctx->dev; in s5p_mfc_enc_s_ctrl() [all …]
|
D | s5p_mfc_opr_v6.h | 44 const struct s5p_mfc_regs *s5p_mfc_init_regs_v6_plus(struct s5p_mfc_dev *dev);
|
D | s5p_mfc_common.h | 297 struct s5p_mfc_dev { struct 564 struct s5p_mfc_dev *dev;
|