pm.h (8990c1bc4be46473ad19bf2fa612ca57286f3df4) | pm.h (fd1478cd61624479c89e35602925459d74505ff3) |
---|---|
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 --- 6 unchanged lines hidden (view full) --- 15 16extern void *omap3_secure_ram_storage; 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 | 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 --- 6 unchanged lines hidden (view full) --- 15 16extern void *omap3_secure_ram_storage; 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); 25#else 26static inline int omap3_opp_init(void) 27{ 28 return -EINVAL; 29} 30#endif 31 |
|
23struct cpuidle_params { 24 u8 valid; 25 u32 sleep_latency; 26 u32 wake_latency; 27 u32 threshold; 28}; 29 30#if defined(CONFIG_PM) && defined(CONFIG_CPU_IDLE) --- 58 unchanged lines hidden --- | 32struct cpuidle_params { 33 u8 valid; 34 u32 sleep_latency; 35 u32 wake_latency; 36 u32 threshold; 37}; 38 39#if defined(CONFIG_PM) && defined(CONFIG_CPU_IDLE) --- 58 unchanged lines hidden --- |