ARM: cpu topology: Add debugfs interface for cpu_power
[cmplus.git] / arch / arm / plat-omap / omap-pm-helper.h
blob9c4b5d7fd62369e7254b9f19a152956b702708d1
1 /*
2 * OMAP PM interface helpers
4 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
5 * Nishanth Menon
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
12 #ifndef __OMAP_PM_HELPER_INTERFACE_H__
13 #define __OMAP_PM_HELPER_INTERFACE_H__
15 #ifdef CONFIG_OMAP_PM
16 int omap_pm_set_min_bus_tput_helper(struct device *dev, u8 agent_id, long r);
17 int omap_pm_set_max_dev_wakeup_lat_helper(struct device *req_dev,
18 struct device *dev, long t);
19 int __init omap_pm_if_init_helper(void);
21 #else
22 static inline int omap_pm_set_min_bus_tput_helper(struct device *dev,
23 u8 agent_id, long r)
25 return 0;
28 static inline int omap_pm_set_max_dev_wakeup_lat_helper(struct device *req_dev,
29 struct device *dev, long t)
31 return 0;
34 static inline int omap_pm_if_init_helper(void)
36 return 0;
38 #endif /* CONFIG_OMAP_PM */
40 #endif /* __OMAP_PM_HELPER_INTERFACE_H__ */