• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * linux/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_ctrl.h
4  *
5  * Copyright (c) 2010 Samsung Electronics Co., Ltd.
6  *		http://www.samsung.com/
7  */
8 
9 #ifndef S5P_MFC_CTRL_H
10 #define S5P_MFC_CTRL_H
11 
12 #include "s5p_mfc_common.h"
13 
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);
17 
18 int s5p_mfc_init_hw(struct s5p_mfc_dev *dev);
19 void s5p_mfc_deinit_hw(struct s5p_mfc_dev *dev);
20 
21 int s5p_mfc_sleep(struct s5p_mfc_dev *dev);
22 int s5p_mfc_wakeup(struct s5p_mfc_dev *dev);
23 
24 int s5p_mfc_reset(struct s5p_mfc_dev *dev);
25 
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);
28 
29 #endif /* S5P_MFC_CTRL_H */
30