irqs.h 606 B

123456789101112131415161718192021
  1. /*
  2. * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
  3. */
  4. /*
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. */
  9. #ifndef __ASM_ARCH_MXC_IRQS_H__
  10. #define __ASM_ARCH_MXC_IRQS_H__
  11. extern int imx_irq_set_priority(unsigned char irq, unsigned char prio);
  12. /* all normal IRQs can be FIQs */
  13. #define FIQ_START 0
  14. /* switch between IRQ and FIQ */
  15. extern int mxc_set_irq_fiq(unsigned int irq, unsigned int type);
  16. #endif /* __ASM_ARCH_MXC_IRQS_H__ */