aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf527/include
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-03-30 03:59:00 -0400
committerMike Frysinger <vapier@gentoo.org>2011-05-25 08:13:42 -0400
commit3dd666067d2b285724c828946e83100ea4c43d4b (patch)
treebb0e0c060013e12a7d6674f8139a5fec59cf6fbc /arch/blackfin/mach-bf527/include
parent6adc521e7127732512ebd7fcfd3926d7970a82e1 (diff)
Blackfin: clean up style in irq defines
These files had a lot of whitespace damage, mostly due to copying and pasting original files that had damage. The BF561 header also had a lot of unused CONFIG_DEF_xxx defines, so punt them all. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf527/include')
-rw-r--r--arch/blackfin/mach-bf527/include/mach/irq.h222
1 files changed, 111 insertions, 111 deletions
diff --git a/arch/blackfin/mach-bf527/include/mach/irq.h b/arch/blackfin/mach-bf527/include/mach/irq.h
index 555d42ad08e..ed7310ff819 100644
--- a/arch/blackfin/mach-bf527/include/mach/irq.h
+++ b/arch/blackfin/mach-bf527/include/mach/irq.h
@@ -9,7 +9,7 @@
9 9
10#include <mach-common/irq.h> 10#include <mach-common/irq.h>
11 11
12#define NR_PERI_INTS (2 * 32) 12#define NR_PERI_INTS (2 * 32)
13 13
14#define IRQ_PLL_WAKEUP BFIN_IRQ(0) /* PLL Wakeup Interrupt */ 14#define IRQ_PLL_WAKEUP BFIN_IRQ(0) /* PLL Wakeup Interrupt */
15#define IRQ_DMA0_ERROR BFIN_IRQ(1) /* DMA Error 0 (generic) */ 15#define IRQ_DMA0_ERROR BFIN_IRQ(1) /* DMA Error 0 (generic) */
@@ -24,21 +24,21 @@
24#define IRQ_UART0_ERROR BFIN_IRQ(12) /* UART0 Status */ 24#define IRQ_UART0_ERROR BFIN_IRQ(12) /* UART0 Status */
25#define IRQ_UART1_ERROR BFIN_IRQ(13) /* UART1 Status */ 25#define IRQ_UART1_ERROR BFIN_IRQ(13) /* UART1 Status */
26#define IRQ_RTC BFIN_IRQ(14) /* RTC */ 26#define IRQ_RTC BFIN_IRQ(14) /* RTC */
27#define IRQ_PPI BFIN_IRQ(15) /* DMA Channel 0 (PPI/NAND) */ 27#define IRQ_PPI BFIN_IRQ(15) /* DMA Channel 0 (PPI/NAND) */
28#define IRQ_SPORT0_RX BFIN_IRQ(16) /* DMA 3 Channel (SPORT0 RX) */ 28#define IRQ_SPORT0_RX BFIN_IRQ(16) /* DMA 3 Channel (SPORT0 RX) */
29#define IRQ_SPORT0_TX BFIN_IRQ(17) /* DMA 4 Channel (SPORT0 TX) */ 29#define IRQ_SPORT0_TX BFIN_IRQ(17) /* DMA 4 Channel (SPORT0 TX) */
30#define IRQ_SPORT1_RX BFIN_IRQ(18) /* DMA 5 Channel (SPORT1 RX) */ 30#define IRQ_SPORT1_RX BFIN_IRQ(18) /* DMA 5 Channel (SPORT1 RX) */
31#define IRQ_SPORT1_TX BFIN_IRQ(19) /* DMA 6 Channel (SPORT1 TX) */ 31#define IRQ_SPORT1_TX BFIN_IRQ(19) /* DMA 6 Channel (SPORT1 TX) */
32#define IRQ_TWI BFIN_IRQ(20) /* TWI */ 32#define IRQ_TWI BFIN_IRQ(20) /* TWI */
33#define IRQ_SPI BFIN_IRQ(21) /* DMA 7 Channel (SPI) */ 33#define IRQ_SPI BFIN_IRQ(21) /* DMA 7 Channel (SPI) */
34#define IRQ_UART0_RX BFIN_IRQ(22) /* DMA8 Channel (UART0 RX) */ 34#define IRQ_UART0_RX BFIN_IRQ(22) /* DMA8 Channel (UART0 RX) */
35#define IRQ_UART0_TX BFIN_IRQ(23) /* DMA9 Channel (UART0 TX) */ 35#define IRQ_UART0_TX BFIN_IRQ(23) /* DMA9 Channel (UART0 TX) */
36#define IRQ_UART1_RX BFIN_IRQ(24) /* DMA10 Channel (UART1 RX) */ 36#define IRQ_UART1_RX BFIN_IRQ(24) /* DMA10 Channel (UART1 RX) */
37#define IRQ_UART1_TX BFIN_IRQ(25) /* DMA11 Channel (UART1 TX) */ 37#define IRQ_UART1_TX BFIN_IRQ(25) /* DMA11 Channel (UART1 TX) */
38#define IRQ_OPTSEC BFIN_IRQ(26) /* OTPSEC Interrupt */ 38#define IRQ_OPTSEC BFIN_IRQ(26) /* OTPSEC Interrupt */
39#define IRQ_CNT BFIN_IRQ(27) /* GP Counter */ 39#define IRQ_CNT BFIN_IRQ(27) /* GP Counter */
40#define IRQ_MAC_RX BFIN_IRQ(28) /* DMA1 Channel (MAC RX/HDMA) */ 40#define IRQ_MAC_RX BFIN_IRQ(28) /* DMA1 Channel (MAC RX/HDMA) */
41#define IRQ_PORTH_INTA BFIN_IRQ(29) /* Port H Interrupt A */ 41#define IRQ_PORTH_INTA BFIN_IRQ(29) /* Port H Interrupt A */
42#define IRQ_MAC_TX BFIN_IRQ(30) /* DMA2 Channel (MAC TX/NAND) */ 42#define IRQ_MAC_TX BFIN_IRQ(30) /* DMA2 Channel (MAC TX/NAND) */
43#define IRQ_NFC BFIN_IRQ(30) /* DMA2 Channel (MAC TX/NAND) */ 43#define IRQ_NFC BFIN_IRQ(30) /* DMA2 Channel (MAC TX/NAND) */
44#define IRQ_PORTH_INTB BFIN_IRQ(31) /* Port H Interrupt B */ 44#define IRQ_PORTH_INTB BFIN_IRQ(31) /* Port H Interrupt B */
@@ -67,108 +67,108 @@
67#define IRQ_USB_INT2 BFIN_IRQ(54) /* USB_INT2 Interrupt */ 67#define IRQ_USB_INT2 BFIN_IRQ(54) /* USB_INT2 Interrupt */
68#define IRQ_USB_DMA BFIN_IRQ(55) /* USB_DMAINT Interrupt */ 68#define IRQ_USB_DMA BFIN_IRQ(55) /* USB_DMAINT Interrupt */
69 69
70#define SYS_IRQS BFIN_IRQ(63) /* 70 */ 70#define SYS_IRQS BFIN_IRQ(63) /* 70 */
71 71
72#define IRQ_PF0 71 72#define IRQ_PF0 71
73#define IRQ_PF1 72 73#define IRQ_PF1 72
74#define IRQ_PF2 73 74#define IRQ_PF2 73
75#define IRQ_PF3 74 75#define IRQ_PF3 74
76#define IRQ_PF4 75 76#define IRQ_PF4 75
77#define IRQ_PF5 76 77#define IRQ_PF5 76
78#define IRQ_PF6 77 78#define IRQ_PF6 77
79#define IRQ_PF7 78 79#define IRQ_PF7 78
80#define IRQ_PF8 79 80#define IRQ_PF8 79
81#define IRQ_PF9 80 81#define IRQ_PF9 80
82#define IRQ_PF10 81 82#define IRQ_PF10 81
83#define IRQ_PF11 82 83#define IRQ_PF11 82
84#define IRQ_PF12 83 84#define IRQ_PF12 83
85#define IRQ_PF13 84 85#define IRQ_PF13 84
86#define IRQ_PF14 85 86#define IRQ_PF14 85
87#define IRQ_PF15 86 87#define IRQ_PF15 86
88 88
89#define IRQ_PG0 87 89#define IRQ_PG0 87
90#define IRQ_PG1 88 90#define IRQ_PG1 88
91#define IRQ_PG2 89 91#define IRQ_PG2 89
92#define IRQ_PG3 90 92#define IRQ_PG3 90
93#define IRQ_PG4 91 93#define IRQ_PG4 91
94#define IRQ_PG5 92 94#define IRQ_PG5 92
95#define IRQ_PG6 93 95#define IRQ_PG6 93
96#define IRQ_PG7 94 96#define IRQ_PG7 94
97#define IRQ_PG8 95 97#define IRQ_PG8 95
98#define IRQ_PG9 96 98#define IRQ_PG9 96
99#define IRQ_PG10 97 99#define IRQ_PG10 97
100#define IRQ_PG11 98 100#define IRQ_PG11 98
101#define IRQ_PG12 99 101#define IRQ_PG12 99
102#define IRQ_PG13 100 102#define IRQ_PG13 100
103#define IRQ_PG14 101 103#define IRQ_PG14 101
104#define IRQ_PG15 102 104#define IRQ_PG15 102
105 105
106#define IRQ_PH0 103 106#define IRQ_PH0 103
107#define IRQ_PH1 104 107#define IRQ_PH1 104
108#define IRQ_PH2 105 108#define IRQ_PH2 105
109#define IRQ_PH3 106 109#define IRQ_PH3 106
110#define IRQ_PH4 107 110#define IRQ_PH4 107
111#define IRQ_PH5 108 111#define IRQ_PH5 108
112#define IRQ_PH6 109 112#define IRQ_PH6 109
113#define IRQ_PH7 110 113#define IRQ_PH7 110
114#define IRQ_PH8 111 114#define IRQ_PH8 111
115#define IRQ_PH9 112 115#define IRQ_PH9 112
116#define IRQ_PH10 113 116#define IRQ_PH10 113
117#define IRQ_PH11 114 117#define IRQ_PH11 114
118#define IRQ_PH12 115 118#define IRQ_PH12 115
119#define IRQ_PH13 116 119#define IRQ_PH13 116
120#define IRQ_PH14 117 120#define IRQ_PH14 117
121#define IRQ_PH15 118 121#define IRQ_PH15 118
122 122
123#define GPIO_IRQ_BASE IRQ_PF0 123#define GPIO_IRQ_BASE IRQ_PF0
124 124
125#define IRQ_MAC_PHYINT 119 /* PHY_INT Interrupt */ 125#define IRQ_MAC_PHYINT 119 /* PHY_INT Interrupt */
126#define IRQ_MAC_MMCINT 120 /* MMC Counter Interrupt */ 126#define IRQ_MAC_MMCINT 120 /* MMC Counter Interrupt */
127#define IRQ_MAC_RXFSINT 121 /* RX Frame-Status Interrupt */ 127#define IRQ_MAC_RXFSINT 121 /* RX Frame-Status Interrupt */
128#define IRQ_MAC_TXFSINT 122 /* TX Frame-Status Interrupt */ 128#define IRQ_MAC_TXFSINT 122 /* TX Frame-Status Interrupt */
129#define IRQ_MAC_WAKEDET 123 /* Wake-Up Interrupt */ 129#define IRQ_MAC_WAKEDET 123 /* Wake-Up Interrupt */
130#define IRQ_MAC_RXDMAERR 124 /* RX DMA Direction Error Interrupt */ 130#define IRQ_MAC_RXDMAERR 124 /* RX DMA Direction Error Interrupt */
131#define IRQ_MAC_TXDMAERR 125 /* TX DMA Direction Error Interrupt */ 131#define IRQ_MAC_TXDMAERR 125 /* TX DMA Direction Error Interrupt */
132#define IRQ_MAC_STMDONE 126 /* Station Mgt. Transfer Done Interrupt */ 132#define IRQ_MAC_STMDONE 126 /* Station Mgt. Transfer Done Interrupt */
133 133
134#define NR_MACH_IRQS (IRQ_MAC_STMDONE + 1) 134#define NR_MACH_IRQS (IRQ_MAC_STMDONE + 1)
135 135
136/* IAR0 BIT FIELDS */ 136/* IAR0 BIT FIELDS */
137#define IRQ_PLL_WAKEUP_POS 0 137#define IRQ_PLL_WAKEUP_POS 0
138#define IRQ_DMA0_ERROR_POS 4 138#define IRQ_DMA0_ERROR_POS 4
139#define IRQ_DMAR0_BLK_POS 8 139#define IRQ_DMAR0_BLK_POS 8
140#define IRQ_DMAR1_BLK_POS 12 140#define IRQ_DMAR1_BLK_POS 12
141#define IRQ_DMAR0_OVR_POS 16 141#define IRQ_DMAR0_OVR_POS 16
142#define IRQ_DMAR1_OVR_POS 20 142#define IRQ_DMAR1_OVR_POS 20
143#define IRQ_PPI_ERROR_POS 24 143#define IRQ_PPI_ERROR_POS 24
144#define IRQ_MAC_ERROR_POS 28 144#define IRQ_MAC_ERROR_POS 28
145 145
146/* IAR1 BIT FIELDS */ 146/* IAR1 BIT FIELDS */
147#define IRQ_SPORT0_ERROR_POS 0 147#define IRQ_SPORT0_ERROR_POS 0
148#define IRQ_SPORT1_ERROR_POS 4 148#define IRQ_SPORT1_ERROR_POS 4
149#define IRQ_UART0_ERROR_POS 16 149#define IRQ_UART0_ERROR_POS 16
150#define IRQ_UART1_ERROR_POS 20 150#define IRQ_UART1_ERROR_POS 20
151#define IRQ_RTC_POS 24 151#define IRQ_RTC_POS 24
152#define IRQ_PPI_POS 28 152#define IRQ_PPI_POS 28
153 153
154/* IAR2 BIT FIELDS */ 154/* IAR2 BIT FIELDS */
155#define IRQ_SPORT0_RX_POS 0 155#define IRQ_SPORT0_RX_POS 0
156#define IRQ_SPORT0_TX_POS 4 156#define IRQ_SPORT0_TX_POS 4
157#define IRQ_SPORT1_RX_POS 8 157#define IRQ_SPORT1_RX_POS 8
158#define IRQ_SPORT1_TX_POS 12 158#define IRQ_SPORT1_TX_POS 12
159#define IRQ_TWI_POS 16 159#define IRQ_TWI_POS 16
160#define IRQ_SPI_POS 20 160#define IRQ_SPI_POS 20
161#define IRQ_UART0_RX_POS 24 161#define IRQ_UART0_RX_POS 24
162#define IRQ_UART0_TX_POS 28 162#define IRQ_UART0_TX_POS 28
163 163
164/* IAR3 BIT FIELDS */ 164/* IAR3 BIT FIELDS */
165#define IRQ_UART1_RX_POS 0 165#define IRQ_UART1_RX_POS 0
166#define IRQ_UART1_TX_POS 4 166#define IRQ_UART1_TX_POS 4
167#define IRQ_OPTSEC_POS 8 167#define IRQ_OPTSEC_POS 8
168#define IRQ_CNT_POS 12 168#define IRQ_CNT_POS 12
169#define IRQ_MAC_RX_POS 16 169#define IRQ_MAC_RX_POS 16
170#define IRQ_PORTH_INTA_POS 20 170#define IRQ_PORTH_INTA_POS 20
171#define IRQ_MAC_TX_POS 24 171#define IRQ_MAC_TX_POS 24
172#define IRQ_PORTH_INTB_POS 28 172#define IRQ_PORTH_INTB_POS 28
173 173
174/* IAR4 BIT FIELDS */ 174/* IAR4 BIT FIELDS */
@@ -184,21 +184,21 @@
184/* IAR5 BIT FIELDS */ 184/* IAR5 BIT FIELDS */
185#define IRQ_PORTG_INTA_POS 0 185#define IRQ_PORTG_INTA_POS 0
186#define IRQ_PORTG_INTB_POS 4 186#define IRQ_PORTG_INTB_POS 4
187#define IRQ_MEM_DMA0_POS 8 187#define IRQ_MEM_DMA0_POS 8
188#define IRQ_MEM_DMA1_POS 12 188#define IRQ_MEM_DMA1_POS 12
189#define IRQ_WATCH_POS 16 189#define IRQ_WATCH_POS 16
190#define IRQ_PORTF_INTA_POS 20 190#define IRQ_PORTF_INTA_POS 20
191#define IRQ_PORTF_INTB_POS 24 191#define IRQ_PORTF_INTB_POS 24
192#define IRQ_SPI_ERROR_POS 28 192#define IRQ_SPI_ERROR_POS 28
193 193
194/* IAR6 BIT FIELDS */ 194/* IAR6 BIT FIELDS */
195#define IRQ_NFC_ERROR_POS 0 195#define IRQ_NFC_ERROR_POS 0
196#define IRQ_HDMA_ERROR_POS 4 196#define IRQ_HDMA_ERROR_POS 4
197#define IRQ_HDMA_POS 8 197#define IRQ_HDMA_POS 8
198#define IRQ_USB_EINT_POS 12 198#define IRQ_USB_EINT_POS 12
199#define IRQ_USB_INT0_POS 16 199#define IRQ_USB_INT0_POS 16
200#define IRQ_USB_INT1_POS 20 200#define IRQ_USB_INT1_POS 20
201#define IRQ_USB_INT2_POS 24 201#define IRQ_USB_INT2_POS 24
202#define IRQ_USB_DMA_POS 28 202#define IRQ_USB_DMA_POS 28
203 203
204#endif /* _BF527_IRQ_H_ */ 204#endif