Linux 4.16.11
[linux/fpc-iii.git] / drivers / media / platform / s5p-mfc / s5p_mfc_ctrl.h
blob45c807bf19cc06aa5979e190017ecbfec839a054
1 /*
2 * linux/drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.h
4 * Copyright (c) 2010 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com/
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.
13 #ifndef S5P_MFC_CTRL_H
14 #define S5P_MFC_CTRL_H
16 #include "s5p_mfc_common.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);
22 int s5p_mfc_init_hw(struct s5p_mfc_dev *dev);
23 void s5p_mfc_deinit_hw(struct s5p_mfc_dev *dev);
25 int s5p_mfc_sleep(struct s5p_mfc_dev *dev);
26 int s5p_mfc_wakeup(struct s5p_mfc_dev *dev);
28 int s5p_mfc_reset(struct s5p_mfc_dev *dev);
30 int s5p_mfc_open_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx);
31 void s5p_mfc_close_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx);
33 #endif /* S5P_MFC_CTRL_H */