1/*
2 * linux/drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.h
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
18int s5p_mfc_release_firmware(struct s5p_mfc_dev *dev);
19int s5p_mfc_alloc_firmware(struct s5p_mfc_dev *dev);
20int s5p_mfc_load_firmware(struct s5p_mfc_dev *dev);
21int s5p_mfc_reload_firmware(struct s5p_mfc_dev *dev);
22
23int s5p_mfc_init_hw(struct s5p_mfc_dev *dev);
24void s5p_mfc_deinit_hw(struct s5p_mfc_dev *dev);
25
26int s5p_mfc_sleep(struct s5p_mfc_dev *dev);
27int s5p_mfc_wakeup(struct s5p_mfc_dev *dev);
28
29int s5p_mfc_reset(struct s5p_mfc_dev *dev);
30
31int s5p_mfc_open_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx);
32void s5p_mfc_close_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx);
33
34#endif /* S5P_MFC_CTRL_H */
35