• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/mach-shmobile/include/mach/
1#ifndef __ASM_MACH_IRQS_H
2#define __ASM_MACH_IRQS_H
3
4#define NR_IRQS         512
5
6/* INTCA */
7#define evt2irq(evt)		(((evt) >> 5) - 16)
8#define irq2evt(irq)		(((irq) + 16) << 5)
9
10/* INTCS */
11#define INTCS_VECT_BASE		0x2200
12#define INTCS_VECT(n, vect)	INTC_VECT((n), INTCS_VECT_BASE + (vect))
13#define intcs_evt2irq(evt)	evt2irq(INTCS_VECT_BASE + (evt))
14
15#endif /* __ASM_MACH_IRQS_H */
16