blob: 1c283905a53978357248a76a5cb6d6e2d11f46d0 [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
Trilok Soni1a9fdee2012-05-28 19:54:11 +053017void msm_gic_irq_extn_init(void);
Taniya Dasfcb35002012-03-09 15:28:12 +053018
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