Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
irq.h File Reference
#include <mach-common/irq.h>

Go to the source code of this file.

Macros

#define NR_PERI_INTS   32
 
#define IRQ_PLL_WAKEUP   BFIN_IRQ(0) /* PLL Wakeup Interrupt */
 
#define IRQ_DMA_ERROR   BFIN_IRQ(1) /* DMA Error (general) */
 
#define IRQ_GENERIC_ERROR   BFIN_IRQ(2) /* GENERIC Error Interrupt */
 
#define IRQ_RTC   BFIN_IRQ(3) /* RTC Interrupt */
 
#define IRQ_PPI   BFIN_IRQ(4) /* DMA0 Interrupt (PPI) */
 
#define IRQ_SPORT0_RX   BFIN_IRQ(5) /* DMA3 Interrupt (SPORT0 RX) */
 
#define IRQ_SPORT0_TX   BFIN_IRQ(6) /* DMA4 Interrupt (SPORT0 TX) */
 
#define IRQ_SPORT1_RX   BFIN_IRQ(7) /* DMA5 Interrupt (SPORT1 RX) */
 
#define IRQ_SPORT1_TX   BFIN_IRQ(8) /* DMA6 Interrupt (SPORT1 TX) */
 
#define IRQ_TWI   BFIN_IRQ(9) /* TWI Interrupt */
 
#define IRQ_SPI   BFIN_IRQ(10) /* DMA7 Interrupt (SPI) */
 
#define IRQ_UART0_RX   BFIN_IRQ(11) /* DMA8 Interrupt (UART0 RX) */
 
#define IRQ_UART0_TX   BFIN_IRQ(12) /* DMA9 Interrupt (UART0 TX) */
 
#define IRQ_UART1_RX   BFIN_IRQ(13) /* DMA10 Interrupt (UART1 RX) */
 
#define IRQ_UART1_TX   BFIN_IRQ(14) /* DMA11 Interrupt (UART1 TX) */
 
#define IRQ_CAN_RX   BFIN_IRQ(15) /* CAN Receive Interrupt */
 
#define IRQ_CAN_TX   BFIN_IRQ(16) /* CAN Transmit Interrupt */
 
#define IRQ_PH_INTA_MAC_RX   BFIN_IRQ(17) /* Port H Interrupt A & DMA1 Interrupt (Ethernet RX) */
 
#define IRQ_PH_INTB_MAC_TX   BFIN_IRQ(18) /* Port H Interrupt B & DMA2 Interrupt (Ethernet TX) */
 
#define IRQ_TIMER0   BFIN_IRQ(19) /* Timer 0 */
 
#define IRQ_TIMER1   BFIN_IRQ(20) /* Timer 1 */
 
#define IRQ_TIMER2   BFIN_IRQ(21) /* Timer 2 */
 
#define IRQ_TIMER3   BFIN_IRQ(22) /* Timer 3 */
 
#define IRQ_TIMER4   BFIN_IRQ(23) /* Timer 4 */
 
#define IRQ_TIMER5   BFIN_IRQ(24) /* Timer 5 */
 
#define IRQ_TIMER6   BFIN_IRQ(25) /* Timer 6 */
 
#define IRQ_TIMER7   BFIN_IRQ(26) /* Timer 7 */
 
#define IRQ_PF_INTA_PG_INTA   BFIN_IRQ(27) /* Ports F&G Interrupt A */
 
#define IRQ_PORTG_INTB   BFIN_IRQ(28) /* Port G Interrupt B */
 
#define IRQ_MEM_DMA0   BFIN_IRQ(29) /* (Memory DMA Stream 0) */
 
#define IRQ_MEM_DMA1   BFIN_IRQ(30) /* (Memory DMA Stream 1) */
 
#define IRQ_PF_INTB_WATCH   BFIN_IRQ(31) /* Watchdog & Port F Interrupt B */
 
#define SYS_IRQS   39
 
#define IRQ_PPI_ERROR   42 /* PPI Error Interrupt */
 
#define IRQ_CAN_ERROR   43 /* CAN Error Interrupt */
 
#define IRQ_MAC_ERROR   44 /* MAC Status/Error Interrupt */
 
#define IRQ_SPORT0_ERROR   45 /* SPORT0 Error Interrupt */
 
#define IRQ_SPORT1_ERROR   46 /* SPORT1 Error Interrupt */
 
#define IRQ_SPI_ERROR   47 /* SPI Error Interrupt */
 
#define IRQ_UART0_ERROR   48 /* UART Error Interrupt */
 
#define IRQ_UART1_ERROR   49 /* UART Error Interrupt */
 
#define IRQ_PF0   50
 
#define IRQ_PF1   51
 
#define IRQ_PF2   52
 
#define IRQ_PF3   53
 
#define IRQ_PF4   54
 
#define IRQ_PF5   55
 
#define IRQ_PF6   56
 
#define IRQ_PF7   57
 
#define IRQ_PF8   58
 
#define IRQ_PF9   59
 
#define IRQ_PF10   60
 
#define IRQ_PF11   61
 
#define IRQ_PF12   62
 
#define IRQ_PF13   63
 
#define IRQ_PF14   64
 
#define IRQ_PF15   65
 
#define IRQ_PG0   66
 
#define IRQ_PG1   67
 
#define IRQ_PG2   68
 
#define IRQ_PG3   69
 
#define IRQ_PG4   70
 
#define IRQ_PG5   71
 
#define IRQ_PG6   72
 
#define IRQ_PG7   73
 
#define IRQ_PG8   74
 
#define IRQ_PG9   75
 
#define IRQ_PG10   76
 
#define IRQ_PG11   77
 
#define IRQ_PG12   78
 
#define IRQ_PG13   79
 
#define IRQ_PG14   80
 
#define IRQ_PG15   81
 
#define IRQ_PH0   82
 
#define IRQ_PH1   83
 
#define IRQ_PH2   84
 
#define IRQ_PH3   85
 
#define IRQ_PH4   86
 
#define IRQ_PH5   87
 
#define IRQ_PH6   88
 
#define IRQ_PH7   89
 
#define IRQ_PH8   90
 
#define IRQ_PH9   91
 
#define IRQ_PH10   92
 
#define IRQ_PH11   93
 
#define IRQ_PH12   94
 
#define IRQ_PH13   95
 
#define IRQ_PH14   96
 
#define IRQ_PH15   97
 
#define GPIO_IRQ_BASE   IRQ_PF0
 
#define IRQ_MAC_PHYINT   98 /* PHY_INT Interrupt */
 
#define IRQ_MAC_MMCINT   99 /* MMC Counter Interrupt */
 
#define IRQ_MAC_RXFSINT   100 /* RX Frame-Status Interrupt */
 
#define IRQ_MAC_TXFSINT   101 /* TX Frame-Status Interrupt */
 
#define IRQ_MAC_WAKEDET   102 /* Wake-Up Interrupt */
 
#define IRQ_MAC_RXDMAERR   103 /* RX DMA Direction Error Interrupt */
 
#define IRQ_MAC_TXDMAERR   104 /* TX DMA Direction Error Interrupt */
 
#define IRQ_MAC_STMDONE   105 /* Station Mgt. Transfer Done Interrupt */
 
#define IRQ_MAC_RX   106 /* DMA1 Interrupt (Ethernet RX) */
 
#define IRQ_PORTH_INTA   107 /* Port H Interrupt A */
 
#define IRQ_MAC_TX   IRQ_PH_INTB_MAC_TX
 
#define IRQ_PORTF_INTA   110 /* Port F Interrupt A */
 
#define IRQ_PORTG_INTA   111 /* Port G Interrupt A */
 
#define IRQ_WATCH   IRQ_PF_INTB_WATCH
 
#define NR_MACH_IRQS   (113 + 1)
 
#define IRQ_PLL_WAKEUP_POS   0
 
#define IRQ_DMA_ERROR_POS   4
 
#define IRQ_ERROR_POS   8
 
#define IRQ_RTC_POS   12
 
#define IRQ_PPI_POS   16
 
#define IRQ_SPORT0_RX_POS   20
 
#define IRQ_SPORT0_TX_POS   24
 
#define IRQ_SPORT1_RX_POS   28
 
#define IRQ_SPORT1_TX_POS   0
 
#define IRQ_TWI_POS   4
 
#define IRQ_SPI_POS   8
 
#define IRQ_UART0_RX_POS   12
 
#define IRQ_UART0_TX_POS   16
 
#define IRQ_UART1_RX_POS   20
 
#define IRQ_UART1_TX_POS   24
 
#define IRQ_CAN_RX_POS   28
 
#define IRQ_CAN_TX_POS   0
 
#define IRQ_MAC_RX_POS   4
 
#define IRQ_MAC_TX_POS   8
 
#define IRQ_TIMER0_POS   12
 
#define IRQ_TIMER1_POS   16
 
#define IRQ_TIMER2_POS   20
 
#define IRQ_TIMER3_POS   24
 
#define IRQ_TIMER4_POS   28
 
#define IRQ_TIMER5_POS   0
 
#define IRQ_TIMER6_POS   4
 
#define IRQ_TIMER7_POS   8
 
#define IRQ_PROG_INTA_POS   12
 
#define IRQ_PORTG_INTB_POS   16
 
#define IRQ_MEM_DMA0_POS   20
 
#define IRQ_MEM_DMA1_POS   24
 
#define IRQ_WATCH_POS   28
 
#define init_mach_irq   init_mach_irq
 

Macro Definition Documentation

#define GPIO_IRQ_BASE   IRQ_PF0

Definition at line 109 of file irq.h.

#define init_mach_irq   init_mach_irq

Definition at line 182 of file irq.h.

#define IRQ_CAN_ERROR   43 /* CAN Error Interrupt */

Definition at line 50 of file irq.h.

#define IRQ_CAN_RX   BFIN_IRQ(15) /* CAN Receive Interrupt */

Definition at line 29 of file irq.h.

#define IRQ_CAN_RX_POS   28

Definition at line 160 of file irq.h.

#define IRQ_CAN_TX   BFIN_IRQ(16) /* CAN Transmit Interrupt */

Definition at line 30 of file irq.h.

#define IRQ_CAN_TX_POS   0

Definition at line 163 of file irq.h.

#define IRQ_DMA_ERROR   BFIN_IRQ(1) /* DMA Error (general) */

Definition at line 15 of file irq.h.

#define IRQ_DMA_ERROR_POS   4

Definition at line 144 of file irq.h.

#define IRQ_ERROR_POS   8

Definition at line 145 of file irq.h.

#define IRQ_GENERIC_ERROR   BFIN_IRQ(2) /* GENERIC Error Interrupt */

Definition at line 16 of file irq.h.

#define IRQ_MAC_ERROR   44 /* MAC Status/Error Interrupt */

Definition at line 51 of file irq.h.

#define IRQ_MAC_MMCINT   99 /* MMC Counter Interrupt */

Definition at line 112 of file irq.h.

#define IRQ_MAC_PHYINT   98 /* PHY_INT Interrupt */

Definition at line 111 of file irq.h.

#define IRQ_MAC_RX   106 /* DMA1 Interrupt (Ethernet RX) */

Definition at line 120 of file irq.h.

#define IRQ_MAC_RX_POS   4

Definition at line 164 of file irq.h.

#define IRQ_MAC_RXDMAERR   103 /* RX DMA Direction Error Interrupt */

Definition at line 116 of file irq.h.

#define IRQ_MAC_RXFSINT   100 /* RX Frame-Status Interrupt */

Definition at line 113 of file irq.h.

#define IRQ_MAC_STMDONE   105 /* Station Mgt. Transfer Done Interrupt */

Definition at line 118 of file irq.h.

#define IRQ_MAC_TX   IRQ_PH_INTB_MAC_TX

Definition at line 127 of file irq.h.

#define IRQ_MAC_TX_POS   8

Definition at line 165 of file irq.h.

#define IRQ_MAC_TXDMAERR   104 /* TX DMA Direction Error Interrupt */

Definition at line 117 of file irq.h.

#define IRQ_MAC_TXFSINT   101 /* TX Frame-Status Interrupt */

Definition at line 114 of file irq.h.

#define IRQ_MAC_WAKEDET   102 /* Wake-Up Interrupt */

Definition at line 115 of file irq.h.

#define IRQ_MEM_DMA0   BFIN_IRQ(29) /* (Memory DMA Stream 0) */

Definition at line 43 of file irq.h.

#define IRQ_MEM_DMA0_POS   20

Definition at line 178 of file irq.h.

#define IRQ_MEM_DMA1   BFIN_IRQ(30) /* (Memory DMA Stream 1) */

Definition at line 44 of file irq.h.

#define IRQ_MEM_DMA1_POS   24

Definition at line 179 of file irq.h.

#define IRQ_PF0   50

Definition at line 58 of file irq.h.

#define IRQ_PF1   51

Definition at line 59 of file irq.h.

#define IRQ_PF10   60

Definition at line 68 of file irq.h.

#define IRQ_PF11   61

Definition at line 69 of file irq.h.

#define IRQ_PF12   62

Definition at line 70 of file irq.h.

#define IRQ_PF13   63

Definition at line 71 of file irq.h.

#define IRQ_PF14   64

Definition at line 72 of file irq.h.

#define IRQ_PF15   65

Definition at line 73 of file irq.h.

#define IRQ_PF2   52

Definition at line 60 of file irq.h.

#define IRQ_PF3   53

Definition at line 61 of file irq.h.

#define IRQ_PF4   54

Definition at line 62 of file irq.h.

#define IRQ_PF5   55

Definition at line 63 of file irq.h.

#define IRQ_PF6   56

Definition at line 64 of file irq.h.

#define IRQ_PF7   57

Definition at line 65 of file irq.h.

#define IRQ_PF8   58

Definition at line 66 of file irq.h.

#define IRQ_PF9   59

Definition at line 67 of file irq.h.

#define IRQ_PF_INTA_PG_INTA   BFIN_IRQ(27) /* Ports F&G Interrupt A */

Definition at line 41 of file irq.h.

#define IRQ_PF_INTB_WATCH   BFIN_IRQ(31) /* Watchdog & Port F Interrupt B */

Definition at line 45 of file irq.h.

#define IRQ_PG0   66

Definition at line 75 of file irq.h.

#define IRQ_PG1   67

Definition at line 76 of file irq.h.

#define IRQ_PG10   76

Definition at line 85 of file irq.h.

#define IRQ_PG11   77

Definition at line 86 of file irq.h.

#define IRQ_PG12   78

Definition at line 87 of file irq.h.

#define IRQ_PG13   79

Definition at line 88 of file irq.h.

#define IRQ_PG14   80

Definition at line 89 of file irq.h.

#define IRQ_PG15   81

Definition at line 90 of file irq.h.

#define IRQ_PG2   68

Definition at line 77 of file irq.h.

#define IRQ_PG3   69

Definition at line 78 of file irq.h.

#define IRQ_PG4   70

Definition at line 79 of file irq.h.

#define IRQ_PG5   71

Definition at line 80 of file irq.h.

#define IRQ_PG6   72

Definition at line 81 of file irq.h.

#define IRQ_PG7   73

Definition at line 82 of file irq.h.

#define IRQ_PG8   74

Definition at line 83 of file irq.h.

#define IRQ_PG9   75

Definition at line 84 of file irq.h.

#define IRQ_PH0   82

Definition at line 92 of file irq.h.

#define IRQ_PH1   83

Definition at line 93 of file irq.h.

#define IRQ_PH10   92

Definition at line 102 of file irq.h.

#define IRQ_PH11   93

Definition at line 103 of file irq.h.

#define IRQ_PH12   94

Definition at line 104 of file irq.h.

#define IRQ_PH13   95

Definition at line 105 of file irq.h.

#define IRQ_PH14   96

Definition at line 106 of file irq.h.

#define IRQ_PH15   97

Definition at line 107 of file irq.h.

#define IRQ_PH2   84

Definition at line 94 of file irq.h.

#define IRQ_PH3   85

Definition at line 95 of file irq.h.

#define IRQ_PH4   86

Definition at line 96 of file irq.h.

#define IRQ_PH5   87

Definition at line 97 of file irq.h.

#define IRQ_PH6   88

Definition at line 98 of file irq.h.

#define IRQ_PH7   89

Definition at line 99 of file irq.h.

#define IRQ_PH8   90

Definition at line 100 of file irq.h.

#define IRQ_PH9   91

Definition at line 101 of file irq.h.

#define IRQ_PH_INTA_MAC_RX   BFIN_IRQ(17) /* Port H Interrupt A & DMA1 Interrupt (Ethernet RX) */

Definition at line 31 of file irq.h.

#define IRQ_PH_INTB_MAC_TX   BFIN_IRQ(18) /* Port H Interrupt B & DMA2 Interrupt (Ethernet TX) */

Definition at line 32 of file irq.h.

#define IRQ_PLL_WAKEUP   BFIN_IRQ(0) /* PLL Wakeup Interrupt */

Definition at line 14 of file irq.h.

#define IRQ_PLL_WAKEUP_POS   0

Definition at line 143 of file irq.h.

#define IRQ_PORTF_INTA   110 /* Port F Interrupt A */

Definition at line 130 of file irq.h.

#define IRQ_PORTG_INTA   111 /* Port G Interrupt A */

Definition at line 131 of file irq.h.

#define IRQ_PORTG_INTB   BFIN_IRQ(28) /* Port G Interrupt B */

Definition at line 42 of file irq.h.

#define IRQ_PORTG_INTB_POS   16

Definition at line 177 of file irq.h.

#define IRQ_PORTH_INTA   107 /* Port H Interrupt A */

Definition at line 121 of file irq.h.

#define IRQ_PPI   BFIN_IRQ(4) /* DMA0 Interrupt (PPI) */

Definition at line 18 of file irq.h.

#define IRQ_PPI_ERROR   42 /* PPI Error Interrupt */

Definition at line 49 of file irq.h.

#define IRQ_PPI_POS   16

Definition at line 147 of file irq.h.

#define IRQ_PROG_INTA_POS   12

Definition at line 176 of file irq.h.

#define IRQ_RTC   BFIN_IRQ(3) /* RTC Interrupt */

Definition at line 17 of file irq.h.

#define IRQ_RTC_POS   12

Definition at line 146 of file irq.h.

#define IRQ_SPI   BFIN_IRQ(10) /* DMA7 Interrupt (SPI) */

Definition at line 24 of file irq.h.

#define IRQ_SPI_ERROR   47 /* SPI Error Interrupt */

Definition at line 54 of file irq.h.

#define IRQ_SPI_POS   8

Definition at line 155 of file irq.h.

#define IRQ_SPORT0_ERROR   45 /* SPORT0 Error Interrupt */

Definition at line 52 of file irq.h.

#define IRQ_SPORT0_RX   BFIN_IRQ(5) /* DMA3 Interrupt (SPORT0 RX) */

Definition at line 19 of file irq.h.

#define IRQ_SPORT0_RX_POS   20

Definition at line 148 of file irq.h.

#define IRQ_SPORT0_TX   BFIN_IRQ(6) /* DMA4 Interrupt (SPORT0 TX) */

Definition at line 20 of file irq.h.

#define IRQ_SPORT0_TX_POS   24

Definition at line 149 of file irq.h.

#define IRQ_SPORT1_ERROR   46 /* SPORT1 Error Interrupt */

Definition at line 53 of file irq.h.

#define IRQ_SPORT1_RX   BFIN_IRQ(7) /* DMA5 Interrupt (SPORT1 RX) */

Definition at line 21 of file irq.h.

#define IRQ_SPORT1_RX_POS   28

Definition at line 150 of file irq.h.

#define IRQ_SPORT1_TX   BFIN_IRQ(8) /* DMA6 Interrupt (SPORT1 TX) */

Definition at line 22 of file irq.h.

#define IRQ_SPORT1_TX_POS   0

Definition at line 153 of file irq.h.

#define IRQ_TIMER0   BFIN_IRQ(19) /* Timer 0 */

Definition at line 33 of file irq.h.

#define IRQ_TIMER0_POS   12

Definition at line 166 of file irq.h.

#define IRQ_TIMER1   BFIN_IRQ(20) /* Timer 1 */

Definition at line 34 of file irq.h.

#define IRQ_TIMER1_POS   16

Definition at line 167 of file irq.h.

#define IRQ_TIMER2   BFIN_IRQ(21) /* Timer 2 */

Definition at line 35 of file irq.h.

#define IRQ_TIMER2_POS   20

Definition at line 168 of file irq.h.

#define IRQ_TIMER3   BFIN_IRQ(22) /* Timer 3 */

Definition at line 36 of file irq.h.

#define IRQ_TIMER3_POS   24

Definition at line 169 of file irq.h.

#define IRQ_TIMER4   BFIN_IRQ(23) /* Timer 4 */

Definition at line 37 of file irq.h.

#define IRQ_TIMER4_POS   28

Definition at line 170 of file irq.h.

#define IRQ_TIMER5   BFIN_IRQ(24) /* Timer 5 */

Definition at line 38 of file irq.h.

#define IRQ_TIMER5_POS   0

Definition at line 173 of file irq.h.

#define IRQ_TIMER6   BFIN_IRQ(25) /* Timer 6 */

Definition at line 39 of file irq.h.

#define IRQ_TIMER6_POS   4

Definition at line 174 of file irq.h.

#define IRQ_TIMER7   BFIN_IRQ(26) /* Timer 7 */

Definition at line 40 of file irq.h.

#define IRQ_TIMER7_POS   8

Definition at line 175 of file irq.h.

#define IRQ_TWI   BFIN_IRQ(9) /* TWI Interrupt */

Definition at line 23 of file irq.h.

#define IRQ_TWI_POS   4

Definition at line 154 of file irq.h.

#define IRQ_UART0_ERROR   48 /* UART Error Interrupt */

Definition at line 55 of file irq.h.

#define IRQ_UART0_RX   BFIN_IRQ(11) /* DMA8 Interrupt (UART0 RX) */

Definition at line 25 of file irq.h.

#define IRQ_UART0_RX_POS   12

Definition at line 156 of file irq.h.

#define IRQ_UART0_TX   BFIN_IRQ(12) /* DMA9 Interrupt (UART0 TX) */

Definition at line 26 of file irq.h.

#define IRQ_UART0_TX_POS   16

Definition at line 157 of file irq.h.

#define IRQ_UART1_ERROR   49 /* UART Error Interrupt */

Definition at line 56 of file irq.h.

#define IRQ_UART1_RX   BFIN_IRQ(13) /* DMA10 Interrupt (UART1 RX) */

Definition at line 27 of file irq.h.

#define IRQ_UART1_RX_POS   20

Definition at line 158 of file irq.h.

#define IRQ_UART1_TX   BFIN_IRQ(14) /* DMA11 Interrupt (UART1 TX) */

Definition at line 28 of file irq.h.

#define IRQ_UART1_TX_POS   24

Definition at line 159 of file irq.h.

#define IRQ_WATCH   IRQ_PF_INTB_WATCH

Definition at line 137 of file irq.h.

#define IRQ_WATCH_POS   28

Definition at line 180 of file irq.h.

#define NR_MACH_IRQS   (113 + 1)

Definition at line 140 of file irq.h.

#define NR_PERI_INTS   32

Definition at line 12 of file irq.h.

#define SYS_IRQS   39

Definition at line 47 of file irq.h.