Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
irqs.h File Reference

Go to the source code of this file.

Macros

#define PXA_ISA_IRQ_NUM   (0)
 
#define PXA_IRQ(x)   (PXA_ISA_IRQ_NUM + (x))
 
#define IRQ_SSP3   PXA_IRQ(0) /* SSP3 service request */
 
#define IRQ_MSL   PXA_IRQ(1) /* MSL Interface interrupt */
 
#define IRQ_USBH2   PXA_IRQ(2) /* USB Host interrupt 1 (OHCI,PXA27x) */
 
#define IRQ_USBH1   PXA_IRQ(3) /* USB Host interrupt 2 (non-OHCI,PXA27x) */
 
#define IRQ_KEYPAD   PXA_IRQ(4) /* Key pad controller */
 
#define IRQ_MEMSTK   PXA_IRQ(5) /* Memory Stick interrupt (PXA27x) */
 
#define IRQ_ACIPC0   PXA_IRQ(5) /* AP-CP Communication (PXA930) */
 
#define IRQ_PWRI2C   PXA_IRQ(6) /* Power I2C interrupt */
 
#define IRQ_HWUART   PXA_IRQ(7) /* HWUART Transmit/Receive/Error (PXA26x) */
 
#define IRQ_OST_4_11   PXA_IRQ(7) /* OS timer 4-11 matches (PXA27x) */
 
#define IRQ_GPIO0   PXA_IRQ(8) /* GPIO0 Edge Detect */
 
#define IRQ_GPIO1   PXA_IRQ(9) /* GPIO1 Edge Detect */
 
#define IRQ_GPIO_2_x   PXA_IRQ(10) /* GPIO[2-x] Edge Detect */
 
#define IRQ_USB   PXA_IRQ(11) /* USB Service */
 
#define IRQ_PMU   PXA_IRQ(12) /* Performance Monitoring Unit */
 
#define IRQ_I2S   PXA_IRQ(13) /* I2S Interrupt (PXA27x) */
 
#define IRQ_SSP4   PXA_IRQ(13) /* SSP4 service request (PXA3xx) */
 
#define IRQ_AC97   PXA_IRQ(14) /* AC97 Interrupt */
 
#define IRQ_ASSP   PXA_IRQ(15) /* Audio SSP Service Request (PXA25x) */
 
#define IRQ_USIM   PXA_IRQ(15) /* Smart Card interface interrupt (PXA27x) */
 
#define IRQ_NSSP   PXA_IRQ(16) /* Network SSP Service Request (PXA25x) */
 
#define IRQ_SSP2   PXA_IRQ(16) /* SSP2 interrupt (PXA27x) */
 
#define IRQ_LCD   PXA_IRQ(17) /* LCD Controller Service Request */
 
#define IRQ_I2C   PXA_IRQ(18) /* I2C Service Request */
 
#define IRQ_ICP   PXA_IRQ(19) /* ICP Transmit/Receive/Error */
 
#define IRQ_ACIPC2   PXA_IRQ(19) /* AP-CP Communication (PXA930) */
 
#define IRQ_STUART   PXA_IRQ(20) /* STUART Transmit/Receive/Error */
 
#define IRQ_BTUART   PXA_IRQ(21) /* BTUART Transmit/Receive/Error */
 
#define IRQ_FFUART   PXA_IRQ(22) /* FFUART Transmit/Receive/Error*/
 
#define IRQ_MMC   PXA_IRQ(23) /* MMC Status/Error Detection */
 
#define IRQ_SSP   PXA_IRQ(24) /* SSP Service Request */
 
#define IRQ_DMA   PXA_IRQ(25) /* DMA Channel Service Request */
 
#define IRQ_OST0   PXA_IRQ(26) /* OS Timer match 0 */
 
#define IRQ_OST1   PXA_IRQ(27) /* OS Timer match 1 */
 
#define IRQ_OST2   PXA_IRQ(28) /* OS Timer match 2 */
 
#define IRQ_OST3   PXA_IRQ(29) /* OS Timer match 3 */
 
#define IRQ_RTC1Hz   PXA_IRQ(30) /* RTC HZ Clock Tick */
 
#define IRQ_RTCAlrm   PXA_IRQ(31) /* RTC Alarm */
 
#define IRQ_TPM   PXA_IRQ(32) /* TPM interrupt */
 
#define IRQ_CAMERA   PXA_IRQ(33) /* Camera Interface */
 
#define IRQ_CIR   PXA_IRQ(34) /* Consumer IR */
 
#define IRQ_COMM_WDT   PXA_IRQ(35) /* Comm WDT interrupt */
 
#define IRQ_TSI   PXA_IRQ(36) /* Touch Screen Interface (PXA320) */
 
#define IRQ_ENHROT   PXA_IRQ(37) /* Enhanced Rotary (PXA930) */
 
#define IRQ_USIM2   PXA_IRQ(38) /* USIM2 Controller */
 
#define IRQ_GCU   PXA_IRQ(39) /* Graphics Controller (PXA3xx) */
 
#define IRQ_ACIPC1   PXA_IRQ(40) /* AP-CP Communication (PXA930) */
 
#define IRQ_MMC2   PXA_IRQ(41) /* MMC2 Controller */
 
#define IRQ_TRKBALL   PXA_IRQ(43) /* Track Ball (PXA930) */
 
#define IRQ_1WIRE   PXA_IRQ(44) /* 1-Wire Controller */
 
#define IRQ_NAND   PXA_IRQ(45) /* NAND Controller */
 
#define IRQ_USB2   PXA_IRQ(46) /* USB 2.0 Device Controller */
 
#define IRQ_WAKEUP0   PXA_IRQ(49) /* EXT_WAKEUP0 */
 
#define IRQ_WAKEUP1   PXA_IRQ(50) /* EXT_WAKEUP1 */
 
#define IRQ_DMEMC   PXA_IRQ(51) /* Dynamic Memory Controller */
 
#define IRQ_MMC3   PXA_IRQ(55) /* MMC3 Controller (PXA310) */
 
#define IRQ_U2O   PXA_IRQ(64) /* USB OTG 2.0 Controller (PXA935) */
 
#define IRQ_U2H   PXA_IRQ(65) /* USB Host 2.0 Controller (PXA935) */
 
#define IRQ_PXA935_MMC0   PXA_IRQ(72) /* MMC0 Controller (PXA935) */
 
#define IRQ_PXA935_MMC1   PXA_IRQ(73) /* MMC1 Controller (PXA935) */
 
#define IRQ_PXA935_MMC2   PXA_IRQ(74) /* MMC2 Controller (PXA935) */
 
#define IRQ_PXA955_MMC3   PXA_IRQ(75) /* MMC3 Controller (PXA955) */
 
#define IRQ_U2P   PXA_IRQ(93) /* USB PHY D+/D- Lines (PXA935) */
 
#define PXA_GPIO_IRQ_BASE   PXA_IRQ(96)
 
#define PXA_NR_BUILTIN_GPIO   (192)
 
#define PXA_GPIO_TO_IRQ(x)   (PXA_GPIO_IRQ_BASE + (x))
 
#define IRQ_BOARD_START   (PXA_GPIO_IRQ_BASE + PXA_NR_BUILTIN_GPIO)
 
#define PXA_NR_IRQS   (IRQ_BOARD_START)
 

Functions

void pxa_mask_irq (struct irq_data *)
 
void pxa_unmask_irq (struct irq_data *)
 
void icip_handle_irq (struct pt_regs *)
 
void ichp_handle_irq (struct pt_regs *)
 
void pxa_init_irq (int irq_nr, int(*set_wake)(struct irq_data *, unsigned int))
 

Macro Definition Documentation

#define IRQ_1WIRE   PXA_IRQ(44) /* 1-Wire Controller */

Definition at line 74 of file irqs.h.

#define IRQ_AC97   PXA_IRQ(14) /* AC97 Interrupt */

Definition at line 41 of file irqs.h.

#define IRQ_ACIPC0   PXA_IRQ(5) /* AP-CP Communication (PXA930) */

Definition at line 30 of file irqs.h.

#define IRQ_ACIPC1   PXA_IRQ(40) /* AP-CP Communication (PXA930) */

Definition at line 71 of file irqs.h.

#define IRQ_ACIPC2   PXA_IRQ(19) /* AP-CP Communication (PXA930) */

Definition at line 49 of file irqs.h.

#define IRQ_ASSP   PXA_IRQ(15) /* Audio SSP Service Request (PXA25x) */

Definition at line 42 of file irqs.h.

#define IRQ_BOARD_START   (PXA_GPIO_IRQ_BASE + PXA_NR_BUILTIN_GPIO)

Definition at line 101 of file irqs.h.

#define IRQ_BTUART   PXA_IRQ(21) /* BTUART Transmit/Receive/Error */

Definition at line 51 of file irqs.h.

#define IRQ_CAMERA   PXA_IRQ(33) /* Camera Interface */

Definition at line 64 of file irqs.h.

#define IRQ_CIR   PXA_IRQ(34) /* Consumer IR */

Definition at line 65 of file irqs.h.

#define IRQ_COMM_WDT   PXA_IRQ(35) /* Comm WDT interrupt */

Definition at line 66 of file irqs.h.

#define IRQ_DMA   PXA_IRQ(25) /* DMA Channel Service Request */

Definition at line 55 of file irqs.h.

#define IRQ_DMEMC   PXA_IRQ(51) /* Dynamic Memory Controller */

Definition at line 79 of file irqs.h.

#define IRQ_ENHROT   PXA_IRQ(37) /* Enhanced Rotary (PXA930) */

Definition at line 68 of file irqs.h.

#define IRQ_FFUART   PXA_IRQ(22) /* FFUART Transmit/Receive/Error*/

Definition at line 52 of file irqs.h.

#define IRQ_GCU   PXA_IRQ(39) /* Graphics Controller (PXA3xx) */

Definition at line 70 of file irqs.h.

#define IRQ_GPIO0   PXA_IRQ(8) /* GPIO0 Edge Detect */

Definition at line 34 of file irqs.h.

#define IRQ_GPIO1   PXA_IRQ(9) /* GPIO1 Edge Detect */

Definition at line 35 of file irqs.h.

#define IRQ_GPIO_2_x   PXA_IRQ(10) /* GPIO[2-x] Edge Detect */

Definition at line 36 of file irqs.h.

#define IRQ_HWUART   PXA_IRQ(7) /* HWUART Transmit/Receive/Error (PXA26x) */

Definition at line 32 of file irqs.h.

#define IRQ_I2C   PXA_IRQ(18) /* I2C Service Request */

Definition at line 47 of file irqs.h.

#define IRQ_I2S   PXA_IRQ(13) /* I2S Interrupt (PXA27x) */

Definition at line 39 of file irqs.h.

#define IRQ_ICP   PXA_IRQ(19) /* ICP Transmit/Receive/Error */

Definition at line 48 of file irqs.h.

#define IRQ_KEYPAD   PXA_IRQ(4) /* Key pad controller */

Definition at line 28 of file irqs.h.

#define IRQ_LCD   PXA_IRQ(17) /* LCD Controller Service Request */

Definition at line 46 of file irqs.h.

#define IRQ_MEMSTK   PXA_IRQ(5) /* Memory Stick interrupt (PXA27x) */

Definition at line 29 of file irqs.h.

#define IRQ_MMC   PXA_IRQ(23) /* MMC Status/Error Detection */

Definition at line 53 of file irqs.h.

#define IRQ_MMC2   PXA_IRQ(41) /* MMC2 Controller */

Definition at line 72 of file irqs.h.

#define IRQ_MMC3   PXA_IRQ(55) /* MMC3 Controller (PXA310) */

Definition at line 80 of file irqs.h.

#define IRQ_MSL   PXA_IRQ(1) /* MSL Interface interrupt */

Definition at line 25 of file irqs.h.

#define IRQ_NAND   PXA_IRQ(45) /* NAND Controller */

Definition at line 75 of file irqs.h.

#define IRQ_NSSP   PXA_IRQ(16) /* Network SSP Service Request (PXA25x) */

Definition at line 44 of file irqs.h.

#define IRQ_OST0   PXA_IRQ(26) /* OS Timer match 0 */

Definition at line 56 of file irqs.h.

#define IRQ_OST1   PXA_IRQ(27) /* OS Timer match 1 */

Definition at line 57 of file irqs.h.

#define IRQ_OST2   PXA_IRQ(28) /* OS Timer match 2 */

Definition at line 58 of file irqs.h.

#define IRQ_OST3   PXA_IRQ(29) /* OS Timer match 3 */

Definition at line 59 of file irqs.h.

#define IRQ_OST_4_11   PXA_IRQ(7) /* OS timer 4-11 matches (PXA27x) */

Definition at line 33 of file irqs.h.

#define IRQ_PMU   PXA_IRQ(12) /* Performance Monitoring Unit */

Definition at line 38 of file irqs.h.

#define IRQ_PWRI2C   PXA_IRQ(6) /* Power I2C interrupt */

Definition at line 31 of file irqs.h.

#define IRQ_PXA935_MMC0   PXA_IRQ(72) /* MMC0 Controller (PXA935) */

Definition at line 84 of file irqs.h.

#define IRQ_PXA935_MMC1   PXA_IRQ(73) /* MMC1 Controller (PXA935) */

Definition at line 85 of file irqs.h.

#define IRQ_PXA935_MMC2   PXA_IRQ(74) /* MMC2 Controller (PXA935) */

Definition at line 86 of file irqs.h.

#define IRQ_PXA955_MMC3   PXA_IRQ(75) /* MMC3 Controller (PXA955) */

Definition at line 87 of file irqs.h.

#define IRQ_RTC1Hz   PXA_IRQ(30) /* RTC HZ Clock Tick */

Definition at line 60 of file irqs.h.

#define IRQ_RTCAlrm   PXA_IRQ(31) /* RTC Alarm */

Definition at line 61 of file irqs.h.

#define IRQ_SSP   PXA_IRQ(24) /* SSP Service Request */

Definition at line 54 of file irqs.h.

#define IRQ_SSP2   PXA_IRQ(16) /* SSP2 interrupt (PXA27x) */

Definition at line 45 of file irqs.h.

#define IRQ_SSP3   PXA_IRQ(0) /* SSP3 service request */

Definition at line 24 of file irqs.h.

#define IRQ_SSP4   PXA_IRQ(13) /* SSP4 service request (PXA3xx) */

Definition at line 40 of file irqs.h.

#define IRQ_STUART   PXA_IRQ(20) /* STUART Transmit/Receive/Error */

Definition at line 50 of file irqs.h.

#define IRQ_TPM   PXA_IRQ(32) /* TPM interrupt */

Definition at line 63 of file irqs.h.

#define IRQ_TRKBALL   PXA_IRQ(43) /* Track Ball (PXA930) */

Definition at line 73 of file irqs.h.

#define IRQ_TSI   PXA_IRQ(36) /* Touch Screen Interface (PXA320) */

Definition at line 67 of file irqs.h.

#define IRQ_U2H   PXA_IRQ(65) /* USB Host 2.0 Controller (PXA935) */

Definition at line 83 of file irqs.h.

#define IRQ_U2O   PXA_IRQ(64) /* USB OTG 2.0 Controller (PXA935) */

Definition at line 82 of file irqs.h.

#define IRQ_U2P   PXA_IRQ(93) /* USB PHY D+/D- Lines (PXA935) */

Definition at line 88 of file irqs.h.

#define IRQ_USB   PXA_IRQ(11) /* USB Service */

Definition at line 37 of file irqs.h.

#define IRQ_USB2   PXA_IRQ(46) /* USB 2.0 Device Controller */

Definition at line 76 of file irqs.h.

#define IRQ_USBH1   PXA_IRQ(3) /* USB Host interrupt 2 (non-OHCI,PXA27x) */

Definition at line 27 of file irqs.h.

#define IRQ_USBH2   PXA_IRQ(2) /* USB Host interrupt 1 (OHCI,PXA27x) */

Definition at line 26 of file irqs.h.

#define IRQ_USIM   PXA_IRQ(15) /* Smart Card interface interrupt (PXA27x) */

Definition at line 43 of file irqs.h.

#define IRQ_USIM2   PXA_IRQ(38) /* USIM2 Controller */

Definition at line 69 of file irqs.h.

#define IRQ_WAKEUP0   PXA_IRQ(49) /* EXT_WAKEUP0 */

Definition at line 77 of file irqs.h.

#define IRQ_WAKEUP1   PXA_IRQ(50) /* EXT_WAKEUP1 */

Definition at line 78 of file irqs.h.

#define PXA_GPIO_IRQ_BASE   PXA_IRQ(96)

Definition at line 90 of file irqs.h.

#define PXA_GPIO_TO_IRQ (   x)    (PXA_GPIO_IRQ_BASE + (x))

Definition at line 92 of file irqs.h.

#define PXA_IRQ (   x)    (PXA_ISA_IRQ_NUM + (x))

Definition at line 22 of file irqs.h.

#define PXA_ISA_IRQ_NUM   (0)

Definition at line 19 of file irqs.h.

#define PXA_NR_BUILTIN_GPIO   (192)

Definition at line 91 of file irqs.h.

#define PXA_NR_IRQS   (IRQ_BOARD_START)

Definition at line 103 of file irqs.h.

Function Documentation

void ichp_handle_irq ( struct pt_regs )

Definition at line 107 of file irq.c.

void icip_handle_irq ( struct pt_regs )

Definition at line 91 of file irq.c.

void pxa_init_irq ( int  irq_nr,
int(*)(struct irq_data *, unsigned int set_wake 
)

Definition at line 121 of file irq.c.

void pxa_mask_irq ( struct irq_data )

Definition at line 66 of file irq.c.

void pxa_unmask_irq ( struct irq_data )

Definition at line 75 of file irq.c.