Colin Cross | 8726e4f | 2010-04-05 15:22:21 -0700 | [diff] [blame] | 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); |
Colin Cross | 3524b70 | 2010-11-28 22:23:55 -0800 | [diff] [blame] | 30 | void tegra_init_legacy_irq(void); |
Colin Cross | 8726e4f | 2010-04-05 15:22:21 -0700 | [diff] [blame] | 31 | |
| 32 | #endif |