legacy_irq.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  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. #ifndef _ARCH_ARM_MACH_TEGRA_LEGARY_IRQ_H
  18. #define _ARCH_ARM_MACH_TEGRA_LEGARY_IRQ_H
  19. void tegra_legacy_mask_irq(unsigned int irq);
  20. void tegra_legacy_unmask_irq(unsigned int irq);
  21. void tegra_legacy_select_fiq(unsigned int irq, bool fiq);
  22. void tegra_legacy_force_irq_set(unsigned int irq);
  23. void tegra_legacy_force_irq_clr(unsigned int irq);
  24. int tegra_legacy_force_irq_status(unsigned int irq);
  25. void tegra_legacy_select_fiq(unsigned int irq, bool fiq);
  26. unsigned long tegra_legacy_vfiq(int nr);
  27. unsigned long tegra_legacy_class(int nr);
  28. int tegra_legacy_irq_set_wake(int irq, int enable);
  29. void tegra_legacy_irq_set_lp1_wake_mask(void);
  30. void tegra_legacy_irq_restore_mask(void);
  31. void tegra_init_legacy_irq(void);
  32. #endif