Go to the documentation of this file.
2 #ifndef _ASM_M32R_IRQ_H
3 #define _ASM_M32R_IRQ_H
6 #if defined(CONFIG_PLAT_USRV)
12 #define M32700UT_NUM_CPU_IRQ (64)
13 #define M32700UT_NUM_PLD_IRQ (32)
14 #define M32700UT_IRQ_BASE 0
15 #define M32700UT_CPU_IRQ_BASE M32700UT_IRQ_BASE
16 #define M32700UT_PLD_IRQ_BASE (M32700UT_CPU_IRQ_BASE + M32700UT_NUM_CPU_IRQ)
18 #define NR_IRQS (M32700UT_NUM_CPU_IRQ + M32700UT_NUM_PLD_IRQ)
19 #elif defined(CONFIG_PLAT_M32700UT)
27 #define M32700UT_NUM_CPU_IRQ (64)
28 #define M32700UT_NUM_PLD_IRQ (32)
29 #define M32700UT_NUM_LCD_PLD_IRQ (32)
30 #define M32700UT_NUM_LAN_PLD_IRQ (32)
31 #define M32700UT_IRQ_BASE 0
32 #define M32700UT_CPU_IRQ_BASE (M32700UT_IRQ_BASE)
33 #define M32700UT_PLD_IRQ_BASE \
34 (M32700UT_CPU_IRQ_BASE + M32700UT_NUM_CPU_IRQ)
35 #define M32700UT_LCD_PLD_IRQ_BASE \
36 (M32700UT_PLD_IRQ_BASE + M32700UT_NUM_PLD_IRQ)
37 #define M32700UT_LAN_PLD_IRQ_BASE \
38 (M32700UT_LCD_PLD_IRQ_BASE + M32700UT_NUM_LCD_PLD_IRQ)
41 (M32700UT_NUM_CPU_IRQ + M32700UT_NUM_PLD_IRQ \
42 + M32700UT_NUM_LCD_PLD_IRQ + M32700UT_NUM_LAN_PLD_IRQ)
43 #elif defined(CONFIG_PLAT_OPSPUT)
51 #define OPSPUT_NUM_CPU_IRQ (64)
52 #define OPSPUT_NUM_PLD_IRQ (32)
53 #define OPSPUT_NUM_LCD_PLD_IRQ (32)
54 #define OPSPUT_NUM_LAN_PLD_IRQ (32)
55 #define OPSPUT_IRQ_BASE 0
56 #define OPSPUT_CPU_IRQ_BASE (OPSPUT_IRQ_BASE)
57 #define OPSPUT_PLD_IRQ_BASE \
58 (OPSPUT_CPU_IRQ_BASE + OPSPUT_NUM_CPU_IRQ)
59 #define OPSPUT_LCD_PLD_IRQ_BASE \
60 (OPSPUT_PLD_IRQ_BASE + OPSPUT_NUM_PLD_IRQ)
61 #define OPSPUT_LAN_PLD_IRQ_BASE \
62 (OPSPUT_LCD_PLD_IRQ_BASE + OPSPUT_NUM_LCD_PLD_IRQ)
65 (OPSPUT_NUM_CPU_IRQ + OPSPUT_NUM_PLD_IRQ \
66 + OPSPUT_NUM_LCD_PLD_IRQ + OPSPUT_NUM_LAN_PLD_IRQ)
68 #elif defined(CONFIG_PLAT_M32104UT)
74 #define M32104UT_NUM_CPU_IRQ (64)
75 #define M32104UT_NUM_PLD_IRQ (32)
76 #define M32104UT_IRQ_BASE 0
77 #define M32104UT_CPU_IRQ_BASE M32104UT_IRQ_BASE
78 #define M32104UT_PLD_IRQ_BASE (M32104UT_CPU_IRQ_BASE + M32104UT_NUM_CPU_IRQ)
81 (M32104UT_NUM_CPU_IRQ + M32104UT_NUM_PLD_IRQ)
87 #define irq_canonicalize(irq) (irq)