tizen 2.4 release
[kernel/linux-3.0.git] / drivers / gpu / arm / mali400 / r4p0_rel0 / common / mali_pm.h
1 /*
2  * Copyright (C) 2011-2012 ARM Limited. All rights reserved.
3  * 
4  * This program is free software and is provided to you under the terms of the GNU General Public License version 2
5  * as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence.
6  * 
7  * A copy of the licence is included with the program, and can also be obtained from Free Software
8  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
9  */
10
11 #ifndef __MALI_PM_H__
12 #define __MALI_PM_H__
13
14 #include "mali_osk.h"
15
16 _mali_osk_errcode_t mali_pm_initialize(void);
17 void mali_pm_terminate(void);
18
19 /* Callback functions registered for the runtime PMM system */
20 void mali_pm_os_suspend(void);
21 void mali_pm_os_resume(void);
22 void mali_pm_runtime_suspend(void);
23 void mali_pm_runtime_resume(void);
24
25 void mali_pm_set_power_is_on(void);
26 mali_bool mali_pm_is_power_on(void);
27
28 #endif /* __MALI_PM_H__ */