aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/samsung/mfc5x/mfc_pm.h
blob: c0e5f6a9f91af70af095a619cc6e7184f1faf2fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * linux/drivers/media/video/samsung/mfc5x/mfc_pm.h
 *
 * Copyright (c) 2010 Samsung Electronics Co., Ltd.
 *		http://www.samsung.com/
 *
 * Power management module for Samsung MFC (Multi Function Codec - FIMV) driver
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#ifndef __MFC_PM_H
#define __MFC_PM_H __FILE__

int mfc_init_pm(struct mfc_dev *mfcdev);
void mfc_final_pm(struct mfc_dev *mfcdev);

int mfc_clock_on(void);
void mfc_clock_off(void);
int mfc_power_on(void);
int mfc_power_off(void);
#ifdef CONFIG_CPU_EXYNOS4210
bool mfc_power_chk(void);
#endif
void mfc_pd_enable(void);

#endif /* __MFC_PM_H */