2 * arch/arm/mach-tegra/include/mach/legacy_irq.h
4 * Copyright (C) 2010 Google, Inc.
5 * Author: Colin Cross <ccross@android.com>
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.
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.
18 #ifndef _ARCH_ARM_MACH_TEGRA_LEGARY_IRQ_H
19 #define _ARCH_ARM_MACH_TEGRA_LEGARY_IRQ_H
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);