2011-06-21 21:51:26 +08:00
|
|
|
/*
|
2012-08-15 04:31:16 +08:00
|
|
|
* linux/drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.h
|
2011-06-21 21:51:26 +08:00
|
|
|
*
|
|
|
|
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
|
|
|
|
* http://www.samsung.com/
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef S5P_MFC_CTRL_H
|
|
|
|
#define S5P_MFC_CTRL_H
|
|
|
|
|
|
|
|
#include "s5p_mfc_common.h"
|
|
|
|
|
|
|
|
int s5p_mfc_release_firmware(struct s5p_mfc_dev *dev);
|
2013-01-03 22:02:07 +08:00
|
|
|
int s5p_mfc_alloc_firmware(struct s5p_mfc_dev *dev);
|
|
|
|
int s5p_mfc_load_firmware(struct s5p_mfc_dev *dev);
|
2011-06-21 21:51:26 +08:00
|
|
|
|
|
|
|
int s5p_mfc_init_hw(struct s5p_mfc_dev *dev);
|
2012-10-04 09:19:08 +08:00
|
|
|
void s5p_mfc_deinit_hw(struct s5p_mfc_dev *dev);
|
2011-06-21 21:51:26 +08:00
|
|
|
|
|
|
|
int s5p_mfc_sleep(struct s5p_mfc_dev *dev);
|
|
|
|
int s5p_mfc_wakeup(struct s5p_mfc_dev *dev);
|
|
|
|
|
|
|
|
int s5p_mfc_reset(struct s5p_mfc_dev *dev);
|
|
|
|
|
2014-05-19 20:32:59 +08:00
|
|
|
int s5p_mfc_open_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx);
|
|
|
|
void s5p_mfc_close_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx);
|
|
|
|
|
2011-06-21 21:51:26 +08:00
|
|
|
#endif /* S5P_MFC_CTRL_H */
|