pm.h (fd1478cd61624479c89e35602925459d74505ff3) pm.h (f5a6422d4e0e85a9c7f5522d3321254bfdfa7f04)
1/*
2 * OMAP2/3 Power Management Routines
3 *
4 * Copyright (C) 2008 Nokia Corporation
5 * Jouni Hogander
6 *
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

--- 8 unchanged lines hidden (view full) ---

17extern void omap3_pm_off_mode_enable(int);
18extern void omap_sram_idle(void);
19extern int omap3_can_sleep(void);
20extern int omap_set_pwrdm_state(struct powerdomain *pwrdm, u32 state);
21extern int omap3_idle_init(void);
22
23#if defined(CONFIG_PM_OPP)
24extern int omap3_opp_init(void);
1/*
2 * OMAP2/3 Power Management Routines
3 *
4 * Copyright (C) 2008 Nokia Corporation
5 * Jouni Hogander
6 *
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

--- 8 unchanged lines hidden (view full) ---

17extern void omap3_pm_off_mode_enable(int);
18extern void omap_sram_idle(void);
19extern int omap3_can_sleep(void);
20extern int omap_set_pwrdm_state(struct powerdomain *pwrdm, u32 state);
21extern int omap3_idle_init(void);
22
23#if defined(CONFIG_PM_OPP)
24extern int omap3_opp_init(void);
25extern int omap4_opp_init(void);
25#else
26static inline int omap3_opp_init(void)
27{
28 return -EINVAL;
29}
26#else
27static inline int omap3_opp_init(void)
28{
29 return -EINVAL;
30}
31static inline int omap4_opp_init(void)
32{
33 return -EINVAL;
34}
30#endif
31
32struct cpuidle_params {
33 u8 valid;
34 u32 sleep_latency;
35 u32 wake_latency;
36 u32 threshold;
37};

--- 60 unchanged lines hidden ---
35#endif
36
37struct cpuidle_params {
38 u8 valid;
39 u32 sleep_latency;
40 u32 wake_latency;
41 u32 threshold;
42};

--- 60 unchanged lines hidden ---