Merge branch 'viafb-next' of git://github.com/schandinat/linux-2.6
[pandora-kernel.git] / arch / arm / mach-tegra / include / mach / legacy_irq.h
1 /*
2  * arch/arm/mach-tegra/include/mach/legacy_irq.h
3  *
4  * Copyright (C) 2010 Google, Inc.
5  * Author: Colin Cross <ccross@android.com>
6  *
7  * This software is licensed under the terms of the GNU General Public
8  * License version 2, as published by the Free Software Foundation, and
9  * may be copied, distributed, and modified under those terms.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  */
17
18 #ifndef _ARCH_ARM_MACH_TEGRA_LEGARY_IRQ_H
19 #define _ARCH_ARM_MACH_TEGRA_LEGARY_IRQ_H
20
21 void tegra_legacy_mask_irq(unsigned int irq);
22 void tegra_legacy_unmask_irq(unsigned int irq);
23 void tegra_legacy_select_fiq(unsigned int irq, bool fiq);
24 void tegra_legacy_force_irq_set(unsigned int irq);
25 void tegra_legacy_force_irq_clr(unsigned int irq);
26 int tegra_legacy_force_irq_status(unsigned int irq);
27 void tegra_legacy_select_fiq(unsigned int irq, bool fiq);
28 unsigned long tegra_legacy_vfiq(int nr);
29 unsigned long tegra_legacy_class(int nr);
30 int tegra_legacy_irq_set_wake(int irq, int enable);
31 void tegra_legacy_irq_set_lp1_wake_mask(void);
32 void tegra_legacy_irq_restore_mask(void);
33 void tegra_init_legacy_irq(void);
34
35 #endif