Go to the documentation of this file.
22 #define at91_aic_read(field) \
23 __raw_readl(at91_aic_base + field)
25 #define at91_aic_write(field, value) \
26 __raw_writel(value, at91_aic_base + field)
32 #define NR_AIC_IRQS 32
33 #define NR_AIC5_IRQS 128
35 #define AT91_AIC5_SSR 0x0
36 #define AT91_AIC5_INTSEL_MSK (0x7f << 0)
38 #define AT91_AIC_IRQ_MIN_PRIORITY 0
39 #define AT91_AIC_IRQ_MAX_PRIORITY 7
41 #define AT91_AIC_SMR(n) ((n) * 4)
42 #define AT91_AIC5_SMR 0x4
43 #define AT91_AIC_PRIOR (7 << 0)
44 #define AT91_AIC_SRCTYPE (3 << 5)
45 #define AT91_AIC_SRCTYPE_LOW (0 << 5)
46 #define AT91_AIC_SRCTYPE_FALLING (1 << 5)
47 #define AT91_AIC_SRCTYPE_HIGH (2 << 5)
48 #define AT91_AIC_SRCTYPE_RISING (3 << 5)
50 #define AT91_AIC_SVR(n) (0x80 + ((n) * 4))
51 #define AT91_AIC5_SVR 0x8
52 #define AT91_AIC_IVR 0x100
53 #define AT91_AIC5_IVR 0x10
54 #define AT91_AIC_FVR 0x104
55 #define AT91_AIC5_FVR 0x14
56 #define AT91_AIC_ISR 0x108
57 #define AT91_AIC5_ISR 0x18
58 #define AT91_AIC_IRQID (0x1f << 0)
60 #define AT91_AIC_IPR 0x10c
61 #define AT91_AIC5_IPR0 0x20
62 #define AT91_AIC5_IPR1 0x24
63 #define AT91_AIC5_IPR2 0x28
64 #define AT91_AIC5_IPR3 0x2c
65 #define AT91_AIC_IMR 0x110
66 #define AT91_AIC5_IMR 0x30
67 #define AT91_AIC_CISR 0x114
68 #define AT91_AIC5_CISR 0x34
69 #define AT91_AIC_NFIQ (1 << 0)
70 #define AT91_AIC_NIRQ (1 << 1)
72 #define AT91_AIC_IECR 0x120
73 #define AT91_AIC5_IECR 0x40
74 #define AT91_AIC_IDCR 0x124
75 #define AT91_AIC5_IDCR 0x44
76 #define AT91_AIC_ICCR 0x128
77 #define AT91_AIC5_ICCR 0x48
78 #define AT91_AIC_ISCR 0x12c
79 #define AT91_AIC5_ISCR 0x4c
80 #define AT91_AIC_EOICR 0x130
81 #define AT91_AIC5_EOICR 0x38
82 #define AT91_AIC_SPU 0x134
83 #define AT91_AIC5_SPU 0x3c
84 #define AT91_AIC_DCR 0x138
85 #define AT91_AIC5_DCR 0x6c
86 #define AT91_AIC_DCR_PROT (1 << 0)
87 #define AT91_AIC_DCR_GMSK (1 << 1)
89 #define AT91_AIC_FFER 0x140
90 #define AT91_AIC5_FFER 0x50
91 #define AT91_AIC_FFDR 0x144
92 #define AT91_AIC5_FFDR 0x54
93 #define AT91_AIC_FFSR 0x148
94 #define AT91_AIC5_FFSR 0x58