Commit | Line | Data |
---|---|---|
af935746 | 1 | /* |
2c3fb08b | 2 | * linux/drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.h |
af935746 KD |
3 | * |
4 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. | |
5 | * http://www.samsung.com/ | |
6 | * | |
7 | * This program is free software; you can redistribute it and/or modify | |
8 | * it under the terms of the GNU General Public License as published by | |
9 | * the Free Software Foundation; either version 2 of the License, or | |
10 | * (at your option) any later version. | |
11 | */ | |
12 | ||
13 | #ifndef S5P_MFC_CTRL_H | |
14 | #define S5P_MFC_CTRL_H | |
15 | ||
16 | #include "s5p_mfc_common.h" | |
17 | ||
18 | int s5p_mfc_release_firmware(struct s5p_mfc_dev *dev); | |
2e731e44 KD |
19 | int s5p_mfc_alloc_firmware(struct s5p_mfc_dev *dev); |
20 | int s5p_mfc_load_firmware(struct s5p_mfc_dev *dev); | |
af935746 KD |
21 | int s5p_mfc_reload_firmware(struct s5p_mfc_dev *dev); |
22 | ||
23 | int s5p_mfc_init_hw(struct s5p_mfc_dev *dev); | |
43a1ea1f | 24 | void s5p_mfc_deinit_hw(struct s5p_mfc_dev *dev); |
af935746 KD |
25 | |
26 | int s5p_mfc_sleep(struct s5p_mfc_dev *dev); | |
27 | int s5p_mfc_wakeup(struct s5p_mfc_dev *dev); | |
28 | ||
29 | int s5p_mfc_reset(struct s5p_mfc_dev *dev); | |
30 | ||
818cd91a PO |
31 | 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); | |
33 | ||
af935746 | 34 | #endif /* S5P_MFC_CTRL_H */ |