Taniya Das | fcb3500 | 2012-03-09 15:28:12 +0530 | [diff] [blame] | 1 | /* Copyright (c) 2012, 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_MPM_8625_H_ |
| 15 | #define _ARCH_ARM_MACH_MSM_MPM_8625_H_ |
| 16 | |
| 17 | void msm_gic_irq_extn_init(void __iomem *, void __iomem *); |
| 18 | |
| 19 | unsigned int msm_gic_spi_ppi_pending(void); |
| 20 | int msm_gic_irq_idle_sleep_allowed(void); |
| 21 | void msm_gic_irq_enter_sleep1(bool modem_wake, int from_idle, uint32_t |
| 22 | *irq_mask); |
| 23 | int msm_gic_irq_enter_sleep2(bool modem_wake, int from_idle); |
| 24 | void msm_gic_irq_exit_sleep1(uint32_t irq_mask, uint32_t wakeup_reason, |
| 25 | uint32_t pending_irqs); |
| 26 | void msm_gic_irq_exit_sleep2(uint32_t irq_mask, uint32_t wakeup_reason, |
| 27 | uint32_t pending); |
| 28 | void msm_gic_irq_exit_sleep3(uint32_t irq_mask, uint32_t wakeup_reason, |
| 29 | uint32_t pending_irqs); |
| 30 | #endif |