blob: 4ada9e2560bed7749aa18378dbb8f5dc8a5da8a5 [file] [log] [blame]
Taniya Dasfcb35002012-03-09 15:28:12 +05301/* 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
17void msm_gic_irq_extn_init(void __iomem *, void __iomem *);
18
19unsigned int msm_gic_spi_ppi_pending(void);
20int msm_gic_irq_idle_sleep_allowed(void);
21void msm_gic_irq_enter_sleep1(bool modem_wake, int from_idle, uint32_t
22 *irq_mask);
23int msm_gic_irq_enter_sleep2(bool modem_wake, int from_idle);
24void msm_gic_irq_exit_sleep1(uint32_t irq_mask, uint32_t wakeup_reason,
25 uint32_t pending_irqs);
26void msm_gic_irq_exit_sleep2(uint32_t irq_mask, uint32_t wakeup_reason,
27 uint32_t pending);
28void msm_gic_irq_exit_sleep3(uint32_t irq_mask, uint32_t wakeup_reason,
29 uint32_t pending_irqs);
30#endif