Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2007-2009, Code Aurora Forum. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | * |
| 12 | */ |
| 13 | |
| 14 | #ifndef _ARCH_ARM_MACH_MSM_IDLE_H_ |
| 15 | #define _ARCH_ARM_MACH_MSM_IDLE_H_ |
| 16 | |
| 17 | int msm_arch_idle(void); |
| 18 | int msm_pm_collapse(void); |
| 19 | void msm_pm_collapse_exit(void); |
| 20 | |
| 21 | #ifdef CONFIG_CPU_V7 |
| 22 | void msm_pm_boot_entry(void); |
| 23 | void msm_pm_write_boot_vector(unsigned int cpu, unsigned long address); |
| 24 | extern unsigned long msm_pm_pc_pgd; |
| 25 | #endif |
| 26 | |
| 27 | #endif |