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

Go to the source code of this file.

Macros

#define PNX8550_GIC_BASE   0xBBE3E000
 
#define PNX8550_GIC_PRIMASK_0   *(volatile unsigned long *)(PNX8550_GIC_BASE + 0x000)
 
#define PNX8550_GIC_PRIMASK_1   *(volatile unsigned long *)(PNX8550_GIC_BASE + 0x004)
 
#define PNX8550_GIC_VECTOR_0   *(volatile unsigned long *)(PNX8550_GIC_BASE + 0x100)
 
#define PNX8550_GIC_VECTOR_1   *(volatile unsigned long *)(PNX8550_GIC_BASE + 0x104)
 
#define PNX8550_GIC_PEND_1_31   *(volatile unsigned long *)(PNX8550_GIC_BASE + 0x200)
 
#define PNX8550_GIC_PEND_32_63   *(volatile unsigned long *)(PNX8550_GIC_BASE + 0x204)
 
#define PNX8550_GIC_PEND_64_70   *(volatile unsigned long *)(PNX8550_GIC_BASE + 0x208)
 
#define PNX8550_GIC_FEATURES   *(volatile unsigned long *)(PNX8550_GIC_BASE + 0x300)
 
#define PNX8550_GIC_REQ(x)   *(volatile unsigned long *)(PNX8550_GIC_BASE + 0x400 + (x)*4)
 
#define PNX8550_GIC_MOD_ID   *(volatile unsigned long *)(PNX8550_GIC_BASE + 0xFFC)
 
#define PNX8550_INT_CP0_TOTINT   8
 
#define PNX8550_INT_CP0_MIN   0
 
#define PNX8550_INT_CP0_MAX   (PNX8550_INT_CP0_MIN + PNX8550_INT_CP0_TOTINT - 1)
 
#define MIPS_CPU_GIC_IRQ   2
 
#define MIPS_CPU_TIMER_IRQ   7
 
#define PNX8550_INT_GIC_TOTINT   71
 
#define PNX8550_INT_GIC_MIN   (PNX8550_INT_CP0_MAX+1)
 
#define PNX8550_INT_GIC_MAX   (PNX8550_INT_GIC_MIN + PNX8550_INT_GIC_TOTINT - 1)
 
#define PNX8550_INT_UNDEF   (PNX8550_INT_GIC_MIN+0)
 
#define PNX8550_INT_IPC_TARGET0_MIPS   (PNX8550_INT_GIC_MIN+1)
 
#define PNX8550_INT_IPC_TARGET1_TM32_1   (PNX8550_INT_GIC_MIN+2)
 
#define PNX8550_INT_IPC_TARGET1_TM32_2   (PNX8550_INT_GIC_MIN+3)
 
#define PNX8550_INT_RESERVED_4   (PNX8550_INT_GIC_MIN+4)
 
#define PNX8550_INT_USB   (PNX8550_INT_GIC_MIN+5)
 
#define PNX8550_INT_GPIO_EQ1   (PNX8550_INT_GIC_MIN+6)
 
#define PNX8550_INT_GPIO_EQ2   (PNX8550_INT_GIC_MIN+7)
 
#define PNX8550_INT_GPIO_EQ3   (PNX8550_INT_GIC_MIN+8)
 
#define PNX8550_INT_GPIO_EQ4   (PNX8550_INT_GIC_MIN+9)
 
#define PNX8550_INT_GPIO_EQ5   (PNX8550_INT_GIC_MIN+10)
 
#define PNX8550_INT_GPIO_EQ6   (PNX8550_INT_GIC_MIN+11)
 
#define PNX8550_INT_RESERVED_12   (PNX8550_INT_GIC_MIN+12)
 
#define PNX8550_INT_QVCP1   (PNX8550_INT_GIC_MIN+13)
 
#define PNX8550_INT_QVCP2   (PNX8550_INT_GIC_MIN+14)
 
#define PNX8550_INT_I2C1   (PNX8550_INT_GIC_MIN+15)
 
#define PNX8550_INT_I2C2   (PNX8550_INT_GIC_MIN+16)
 
#define PNX8550_INT_ISO_UART1   (PNX8550_INT_GIC_MIN+17)
 
#define PNX8550_INT_ISO_UART2   (PNX8550_INT_GIC_MIN+18)
 
#define PNX8550_INT_UART1   (PNX8550_INT_GIC_MIN+19)
 
#define PNX8550_INT_UART2   (PNX8550_INT_GIC_MIN+20)
 
#define PNX8550_INT_QNTR   (PNX8550_INT_GIC_MIN+21)
 
#define PNX8550_INT_RESERVED22   (PNX8550_INT_GIC_MIN+22)
 
#define PNX8550_INT_T_DSC   (PNX8550_INT_GIC_MIN+23)
 
#define PNX8550_INT_M_DSC   (PNX8550_INT_GIC_MIN+24)
 
#define PNX8550_INT_RESERVED25   (PNX8550_INT_GIC_MIN+25)
 
#define PNX8550_INT_2D_DRAW_ENG   (PNX8550_INT_GIC_MIN+26)
 
#define PNX8550_INT_MEM_BASED_SCALAR1   (PNX8550_INT_GIC_MIN+27)
 
#define PNX8550_INT_VIDEO_MPEG   (PNX8550_INT_GIC_MIN+28)
 
#define PNX8550_INT_VIDEO_INPUT_P1   (PNX8550_INT_GIC_MIN+29)
 
#define PNX8550_INT_VIDEO_INPUT_P2   (PNX8550_INT_GIC_MIN+30)
 
#define PNX8550_INT_SPDI1   (PNX8550_INT_GIC_MIN+31)
 
#define PNX8550_INT_SPDO   (PNX8550_INT_GIC_MIN+32)
 
#define PNX8550_INT_AUDIO_INPUT1   (PNX8550_INT_GIC_MIN+33)
 
#define PNX8550_INT_AUDIO_OUTPUT1   (PNX8550_INT_GIC_MIN+34)
 
#define PNX8550_INT_AUDIO_INPUT2   (PNX8550_INT_GIC_MIN+35)
 
#define PNX8550_INT_AUDIO_OUTPUT2   (PNX8550_INT_GIC_MIN+36)
 
#define PNX8550_INT_MEMBASED_SCALAR2   (PNX8550_INT_GIC_MIN+37)
 
#define PNX8550_INT_VPK   (PNX8550_INT_GIC_MIN+38)
 
#define PNX8550_INT_MPEG1_MIPS   (PNX8550_INT_GIC_MIN+39)
 
#define PNX8550_INT_MPEG1_TM   (PNX8550_INT_GIC_MIN+40)
 
#define PNX8550_INT_MPEG2_MIPS   (PNX8550_INT_GIC_MIN+41)
 
#define PNX8550_INT_MPEG2_TM   (PNX8550_INT_GIC_MIN+42)
 
#define PNX8550_INT_TS_DMA   (PNX8550_INT_GIC_MIN+43)
 
#define PNX8550_INT_EDMA   (PNX8550_INT_GIC_MIN+44)
 
#define PNX8550_INT_TM_DEBUG1   (PNX8550_INT_GIC_MIN+45)
 
#define PNX8550_INT_TM_DEBUG2   (PNX8550_INT_GIC_MIN+46)
 
#define PNX8550_INT_PCI_INTA   (PNX8550_INT_GIC_MIN+47)
 
#define PNX8550_INT_CLOCK_MODULE   (PNX8550_INT_GIC_MIN+48)
 
#define PNX8550_INT_PCI_XIO_INTA_PCI   (PNX8550_INT_GIC_MIN+49)
 
#define PNX8550_INT_PCI_XIO_INTB_DMA   (PNX8550_INT_GIC_MIN+50)
 
#define PNX8550_INT_PCI_XIO_INTC_GPPM   (PNX8550_INT_GIC_MIN+51)
 
#define PNX8550_INT_PCI_XIO_INTD_GPXIO   (PNX8550_INT_GIC_MIN+52)
 
#define PNX8550_INT_DVD_CSS   (PNX8550_INT_GIC_MIN+53)
 
#define PNX8550_INT_VLD   (PNX8550_INT_GIC_MIN+54)
 
#define PNX8550_INT_GPIO_TSU_7_0   (PNX8550_INT_GIC_MIN+55)
 
#define PNX8550_INT_GPIO_TSU_15_8   (PNX8550_INT_GIC_MIN+56)
 
#define PNX8550_INT_GPIO_CTU_IR   (PNX8550_INT_GIC_MIN+57)
 
#define PNX8550_INT_GPIO0   (PNX8550_INT_GIC_MIN+58)
 
#define PNX8550_INT_GPIO1   (PNX8550_INT_GIC_MIN+59)
 
#define PNX8550_INT_GPIO2   (PNX8550_INT_GIC_MIN+60)
 
#define PNX8550_INT_GPIO3   (PNX8550_INT_GIC_MIN+61)
 
#define PNX8550_INT_GPIO4   (PNX8550_INT_GIC_MIN+62)
 
#define PNX8550_INT_GPIO5   (PNX8550_INT_GIC_MIN+63)
 
#define PNX8550_INT_GPIO6   (PNX8550_INT_GIC_MIN+64)
 
#define PNX8550_INT_GPIO7   (PNX8550_INT_GIC_MIN+65)
 
#define PNX8550_INT_PMAN_SECURITY   (PNX8550_INT_GIC_MIN+66)
 
#define PNX8550_INT_I2C3   (PNX8550_INT_GIC_MIN+67)
 
#define PNX8550_INT_RESERVED_68   (PNX8550_INT_GIC_MIN+68)
 
#define PNX8550_INT_SPDI2   (PNX8550_INT_GIC_MIN+69)
 
#define PNX8550_INT_I2C4   (PNX8550_INT_GIC_MIN+70)
 
#define PNX8550_INT_TIMER_TOTINT   3
 
#define PNX8550_INT_TIMER_MIN   (PNX8550_INT_GIC_MAX+1)
 
#define PNX8550_INT_TIMER_MAX   (PNX8550_INT_TIMER_MIN + PNX8550_INT_TIMER_TOTINT - 1)
 
#define PNX8550_INT_TIMER1   (PNX8550_INT_TIMER_MIN+0)
 
#define PNX8550_INT_TIMER2   (PNX8550_INT_TIMER_MIN+1)
 
#define PNX8550_INT_TIMER3   (PNX8550_INT_TIMER_MIN+2)
 
#define PNX8550_INT_WATCHDOG   PNX8550_INT_TIMER3
 

Macro Definition Documentation

#define MIPS_CPU_GIC_IRQ   2

Definition at line 43 of file int.h.

#define MIPS_CPU_TIMER_IRQ   7

Definition at line 44 of file int.h.

#define PNX8550_GIC_BASE   0xBBE3E000

Definition at line 25 of file int.h.

#define PNX8550_GIC_FEATURES   *(volatile unsigned long *)(PNX8550_GIC_BASE + 0x300)

Definition at line 34 of file int.h.

#define PNX8550_GIC_MOD_ID   *(volatile unsigned long *)(PNX8550_GIC_BASE + 0xFFC)

Definition at line 36 of file int.h.

#define PNX8550_GIC_PEND_1_31   *(volatile unsigned long *)(PNX8550_GIC_BASE + 0x200)

Definition at line 31 of file int.h.

#define PNX8550_GIC_PEND_32_63   *(volatile unsigned long *)(PNX8550_GIC_BASE + 0x204)

Definition at line 32 of file int.h.

#define PNX8550_GIC_PEND_64_70   *(volatile unsigned long *)(PNX8550_GIC_BASE + 0x208)

Definition at line 33 of file int.h.

#define PNX8550_GIC_PRIMASK_0   *(volatile unsigned long *)(PNX8550_GIC_BASE + 0x000)

Definition at line 27 of file int.h.

#define PNX8550_GIC_PRIMASK_1   *(volatile unsigned long *)(PNX8550_GIC_BASE + 0x004)

Definition at line 28 of file int.h.

#define PNX8550_GIC_REQ (   x)    *(volatile unsigned long *)(PNX8550_GIC_BASE + 0x400 + (x)*4)

Definition at line 35 of file int.h.

#define PNX8550_GIC_VECTOR_0   *(volatile unsigned long *)(PNX8550_GIC_BASE + 0x100)

Definition at line 29 of file int.h.

#define PNX8550_GIC_VECTOR_1   *(volatile unsigned long *)(PNX8550_GIC_BASE + 0x104)

Definition at line 30 of file int.h.

#define PNX8550_INT_2D_DRAW_ENG   (PNX8550_INT_GIC_MIN+26)

Definition at line 79 of file int.h.

#define PNX8550_INT_AUDIO_INPUT1   (PNX8550_INT_GIC_MIN+33)

Definition at line 87 of file int.h.

#define PNX8550_INT_AUDIO_INPUT2   (PNX8550_INT_GIC_MIN+35)

Definition at line 89 of file int.h.

#define PNX8550_INT_AUDIO_OUTPUT1   (PNX8550_INT_GIC_MIN+34)

Definition at line 88 of file int.h.

#define PNX8550_INT_AUDIO_OUTPUT2   (PNX8550_INT_GIC_MIN+36)

Definition at line 90 of file int.h.

#define PNX8550_INT_CLOCK_MODULE   (PNX8550_INT_GIC_MIN+48)

Definition at line 103 of file int.h.

#define PNX8550_INT_CP0_MAX   (PNX8550_INT_CP0_MIN + PNX8550_INT_CP0_TOTINT - 1)

Definition at line 41 of file int.h.

#define PNX8550_INT_CP0_MIN   0

Definition at line 40 of file int.h.

#define PNX8550_INT_CP0_TOTINT   8

Definition at line 39 of file int.h.

#define PNX8550_INT_DVD_CSS   (PNX8550_INT_GIC_MIN+53)

Definition at line 109 of file int.h.

#define PNX8550_INT_EDMA   (PNX8550_INT_GIC_MIN+44)

Definition at line 99 of file int.h.

#define PNX8550_INT_GIC_MAX   (PNX8550_INT_GIC_MIN + PNX8550_INT_GIC_TOTINT - 1)

Definition at line 49 of file int.h.

#define PNX8550_INT_GIC_MIN   (PNX8550_INT_CP0_MAX+1)

Definition at line 48 of file int.h.

#define PNX8550_INT_GIC_TOTINT   71

Definition at line 47 of file int.h.

#define PNX8550_INT_GPIO0   (PNX8550_INT_GIC_MIN+58)

Definition at line 114 of file int.h.

#define PNX8550_INT_GPIO1   (PNX8550_INT_GIC_MIN+59)

Definition at line 115 of file int.h.

#define PNX8550_INT_GPIO2   (PNX8550_INT_GIC_MIN+60)

Definition at line 117 of file int.h.

#define PNX8550_INT_GPIO3   (PNX8550_INT_GIC_MIN+61)

Definition at line 118 of file int.h.

#define PNX8550_INT_GPIO4   (PNX8550_INT_GIC_MIN+62)

Definition at line 119 of file int.h.

#define PNX8550_INT_GPIO5   (PNX8550_INT_GIC_MIN+63)

Definition at line 120 of file int.h.

#define PNX8550_INT_GPIO6   (PNX8550_INT_GIC_MIN+64)

Definition at line 121 of file int.h.

#define PNX8550_INT_GPIO7   (PNX8550_INT_GIC_MIN+65)

Definition at line 122 of file int.h.

#define PNX8550_INT_GPIO_CTU_IR   (PNX8550_INT_GIC_MIN+57)

Definition at line 113 of file int.h.

#define PNX8550_INT_GPIO_EQ1   (PNX8550_INT_GIC_MIN+6)

Definition at line 57 of file int.h.

#define PNX8550_INT_GPIO_EQ2   (PNX8550_INT_GIC_MIN+7)

Definition at line 58 of file int.h.

#define PNX8550_INT_GPIO_EQ3   (PNX8550_INT_GIC_MIN+8)

Definition at line 59 of file int.h.

#define PNX8550_INT_GPIO_EQ4   (PNX8550_INT_GIC_MIN+9)

Definition at line 60 of file int.h.

#define PNX8550_INT_GPIO_EQ5   (PNX8550_INT_GIC_MIN+10)

Definition at line 62 of file int.h.

#define PNX8550_INT_GPIO_EQ6   (PNX8550_INT_GIC_MIN+11)

Definition at line 63 of file int.h.

#define PNX8550_INT_GPIO_TSU_15_8   (PNX8550_INT_GIC_MIN+56)

Definition at line 112 of file int.h.

#define PNX8550_INT_GPIO_TSU_7_0   (PNX8550_INT_GIC_MIN+55)

Definition at line 111 of file int.h.

#define PNX8550_INT_I2C1   (PNX8550_INT_GIC_MIN+15)

Definition at line 67 of file int.h.

#define PNX8550_INT_I2C2   (PNX8550_INT_GIC_MIN+16)

Definition at line 68 of file int.h.

#define PNX8550_INT_I2C3   (PNX8550_INT_GIC_MIN+67)

Definition at line 124 of file int.h.

#define PNX8550_INT_I2C4   (PNX8550_INT_GIC_MIN+70)

Definition at line 128 of file int.h.

#define PNX8550_INT_IPC_TARGET0_MIPS   (PNX8550_INT_GIC_MIN+1)

Definition at line 52 of file int.h.

#define PNX8550_INT_IPC_TARGET1_TM32_1   (PNX8550_INT_GIC_MIN+2)

Definition at line 53 of file int.h.

#define PNX8550_INT_IPC_TARGET1_TM32_2   (PNX8550_INT_GIC_MIN+3)

Definition at line 54 of file int.h.

#define PNX8550_INT_ISO_UART1   (PNX8550_INT_GIC_MIN+17)

Definition at line 69 of file int.h.

#define PNX8550_INT_ISO_UART2   (PNX8550_INT_GIC_MIN+18)

Definition at line 70 of file int.h.

#define PNX8550_INT_M_DSC   (PNX8550_INT_GIC_MIN+24)

Definition at line 77 of file int.h.

#define PNX8550_INT_MEM_BASED_SCALAR1   (PNX8550_INT_GIC_MIN+27)

Definition at line 80 of file int.h.

#define PNX8550_INT_MEMBASED_SCALAR2   (PNX8550_INT_GIC_MIN+37)

Definition at line 91 of file int.h.

#define PNX8550_INT_MPEG1_MIPS   (PNX8550_INT_GIC_MIN+39)

Definition at line 93 of file int.h.

#define PNX8550_INT_MPEG1_TM   (PNX8550_INT_GIC_MIN+40)

Definition at line 95 of file int.h.

#define PNX8550_INT_MPEG2_MIPS   (PNX8550_INT_GIC_MIN+41)

Definition at line 96 of file int.h.

#define PNX8550_INT_MPEG2_TM   (PNX8550_INT_GIC_MIN+42)

Definition at line 97 of file int.h.

#define PNX8550_INT_PCI_INTA   (PNX8550_INT_GIC_MIN+47)

Definition at line 102 of file int.h.

#define PNX8550_INT_PCI_XIO_INTA_PCI   (PNX8550_INT_GIC_MIN+49)

Definition at line 104 of file int.h.

#define PNX8550_INT_PCI_XIO_INTB_DMA   (PNX8550_INT_GIC_MIN+50)

Definition at line 106 of file int.h.

#define PNX8550_INT_PCI_XIO_INTC_GPPM   (PNX8550_INT_GIC_MIN+51)

Definition at line 107 of file int.h.

#define PNX8550_INT_PCI_XIO_INTD_GPXIO   (PNX8550_INT_GIC_MIN+52)

Definition at line 108 of file int.h.

#define PNX8550_INT_PMAN_SECURITY   (PNX8550_INT_GIC_MIN+66)

Definition at line 123 of file int.h.

#define PNX8550_INT_QNTR   (PNX8550_INT_GIC_MIN+21)

Definition at line 74 of file int.h.

#define PNX8550_INT_QVCP1   (PNX8550_INT_GIC_MIN+13)

Definition at line 65 of file int.h.

#define PNX8550_INT_QVCP2   (PNX8550_INT_GIC_MIN+14)

Definition at line 66 of file int.h.

#define PNX8550_INT_RESERVED22   (PNX8550_INT_GIC_MIN+22)

Definition at line 75 of file int.h.

#define PNX8550_INT_RESERVED25   (PNX8550_INT_GIC_MIN+25)

Definition at line 78 of file int.h.

#define PNX8550_INT_RESERVED_12   (PNX8550_INT_GIC_MIN+12)

Definition at line 64 of file int.h.

#define PNX8550_INT_RESERVED_4   (PNX8550_INT_GIC_MIN+4)

Definition at line 55 of file int.h.

#define PNX8550_INT_RESERVED_68   (PNX8550_INT_GIC_MIN+68)

Definition at line 125 of file int.h.

#define PNX8550_INT_SPDI1   (PNX8550_INT_GIC_MIN+31)

Definition at line 85 of file int.h.

#define PNX8550_INT_SPDI2   (PNX8550_INT_GIC_MIN+69)

Definition at line 126 of file int.h.

#define PNX8550_INT_SPDO   (PNX8550_INT_GIC_MIN+32)

Definition at line 86 of file int.h.

#define PNX8550_INT_T_DSC   (PNX8550_INT_GIC_MIN+23)

Definition at line 76 of file int.h.

#define PNX8550_INT_TIMER1   (PNX8550_INT_TIMER_MIN+0)

Definition at line 135 of file int.h.

#define PNX8550_INT_TIMER2   (PNX8550_INT_TIMER_MIN+1)

Definition at line 136 of file int.h.

#define PNX8550_INT_TIMER3   (PNX8550_INT_TIMER_MIN+2)

Definition at line 137 of file int.h.

#define PNX8550_INT_TIMER_MAX   (PNX8550_INT_TIMER_MIN + PNX8550_INT_TIMER_TOTINT - 1)

Definition at line 133 of file int.h.

#define PNX8550_INT_TIMER_MIN   (PNX8550_INT_GIC_MAX+1)

Definition at line 132 of file int.h.

#define PNX8550_INT_TIMER_TOTINT   3

Definition at line 131 of file int.h.

#define PNX8550_INT_TM_DEBUG1   (PNX8550_INT_GIC_MIN+45)

Definition at line 100 of file int.h.

#define PNX8550_INT_TM_DEBUG2   (PNX8550_INT_GIC_MIN+46)

Definition at line 101 of file int.h.

#define PNX8550_INT_TS_DMA   (PNX8550_INT_GIC_MIN+43)

Definition at line 98 of file int.h.

#define PNX8550_INT_UART1   (PNX8550_INT_GIC_MIN+19)

Definition at line 71 of file int.h.

#define PNX8550_INT_UART2   (PNX8550_INT_GIC_MIN+20)

Definition at line 73 of file int.h.

#define PNX8550_INT_UNDEF   (PNX8550_INT_GIC_MIN+0)

Definition at line 51 of file int.h.

#define PNX8550_INT_USB   (PNX8550_INT_GIC_MIN+5)

Definition at line 56 of file int.h.

#define PNX8550_INT_VIDEO_INPUT_P1   (PNX8550_INT_GIC_MIN+29)

Definition at line 82 of file int.h.

#define PNX8550_INT_VIDEO_INPUT_P2   (PNX8550_INT_GIC_MIN+30)

Definition at line 84 of file int.h.

#define PNX8550_INT_VIDEO_MPEG   (PNX8550_INT_GIC_MIN+28)

Definition at line 81 of file int.h.

#define PNX8550_INT_VLD   (PNX8550_INT_GIC_MIN+54)

Definition at line 110 of file int.h.

#define PNX8550_INT_VPK   (PNX8550_INT_GIC_MIN+38)

Definition at line 92 of file int.h.

#define PNX8550_INT_WATCHDOG   PNX8550_INT_TIMER3

Definition at line 138 of file int.h.