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

Go to the source code of this file.

Macros

#define TSI108_IRQ_REG_BASE   0
 
#define TSI108_IRQ(x)   (TSI108_IRQ_REG_BASE + (x))
 
#define TSI108_MAX_VECTORS   (36 + 4) /* 36 sources + PCI INT demux */
 
#define MAX_TASK_PRIO   0xF
 
#define TSI108_IRQ_SPURIOUS   (TSI108_MAX_VECTORS)
 
#define DEFAULT_PRIO_LVL   10 /* initial priority level */
 
#define IRQ_TSI108_EXT_INT0   TSI108_IRQ(0) /* External Source at INT[0] */
 
#define IRQ_TSI108_EXT_INT1   TSI108_IRQ(1) /* External Source at INT[1] */
 
#define IRQ_TSI108_EXT_INT2   TSI108_IRQ(2) /* External Source at INT[2] */
 
#define IRQ_TSI108_EXT_INT3   TSI108_IRQ(3) /* External Source at INT[3] */
 
#define IRQ_TSI108_RESERVED0   TSI108_IRQ(4) /* Reserved IRQ */
 
#define IRQ_TSI108_RESERVED1   TSI108_IRQ(5) /* Reserved IRQ */
 
#define IRQ_TSI108_RESERVED2   TSI108_IRQ(6) /* Reserved IRQ */
 
#define IRQ_TSI108_RESERVED3   TSI108_IRQ(7) /* Reserved IRQ */
 
#define IRQ_TSI108_DMA0   TSI108_IRQ(8) /* DMA0 */
 
#define IRQ_TSI108_DMA1   TSI108_IRQ(9) /* DMA1 */
 
#define IRQ_TSI108_DMA2   TSI108_IRQ(10) /* DMA2 */
 
#define IRQ_TSI108_DMA3   TSI108_IRQ(11) /* DMA3 */
 
#define IRQ_TSI108_UART0   TSI108_IRQ(12) /* UART0 */
 
#define IRQ_TSI108_UART1   TSI108_IRQ(13) /* UART1 */
 
#define IRQ_TSI108_I2C   TSI108_IRQ(14) /* I2C */
 
#define IRQ_TSI108_GPIO   TSI108_IRQ(15) /* GPIO */
 
#define IRQ_TSI108_GIGE0   TSI108_IRQ(16) /* GIGE0 */
 
#define IRQ_TSI108_GIGE1   TSI108_IRQ(17) /* GIGE1 */
 
#define IRQ_TSI108_RESERVED4   TSI108_IRQ(18) /* Reserved IRQ */
 
#define IRQ_TSI108_HLP   TSI108_IRQ(19) /* HLP */
 
#define IRQ_TSI108_SDRAM   TSI108_IRQ(20) /* SDC */
 
#define IRQ_TSI108_PROC_IF   TSI108_IRQ(21) /* Processor IF */
 
#define IRQ_TSI108_RESERVED5   TSI108_IRQ(22) /* Reserved IRQ */
 
#define IRQ_TSI108_PCI   TSI108_IRQ(23) /* PCI/X block */
 
#define IRQ_TSI108_MBOX0   TSI108_IRQ(24) /* Mailbox 0 register */
 
#define IRQ_TSI108_MBOX1   TSI108_IRQ(25) /* Mailbox 1 register */
 
#define IRQ_TSI108_MBOX2   TSI108_IRQ(26) /* Mailbox 2 register */
 
#define IRQ_TSI108_MBOX3   TSI108_IRQ(27) /* Mailbox 3 register */
 
#define IRQ_TSI108_DBELL0   TSI108_IRQ(28) /* Doorbell 0 */
 
#define IRQ_TSI108_DBELL1   TSI108_IRQ(29) /* Doorbell 1 */
 
#define IRQ_TSI108_DBELL2   TSI108_IRQ(30) /* Doorbell 2 */
 
#define IRQ_TSI108_DBELL3   TSI108_IRQ(31) /* Doorbell 3 */
 
#define IRQ_TSI108_TIMER0   TSI108_IRQ(32) /* Global Timer 0 */
 
#define IRQ_TSI108_TIMER1   TSI108_IRQ(33) /* Global Timer 1 */
 
#define IRQ_TSI108_TIMER2   TSI108_IRQ(34) /* Global Timer 2 */
 
#define IRQ_TSI108_TIMER3   TSI108_IRQ(35) /* Global Timer 3 */
 
#define IRQ_PCI_INTAD_BASE   TSI108_IRQ(36)
 
#define IRQ_PCI_INTA   (IRQ_PCI_INTAD_BASE + 0)
 
#define IRQ_PCI_INTB   (IRQ_PCI_INTAD_BASE + 1)
 
#define IRQ_PCI_INTC   (IRQ_PCI_INTAD_BASE + 2)
 
#define IRQ_PCI_INTD   (IRQ_PCI_INTAD_BASE + 3)
 
#define NUM_PCI_IRQS   (4)
 
#define IRQ_TSI108_TAB_SIZE   (TSI108_MAX_VECTORS + 1)
 
#define IDIR_INT_OUT0   0x1
 
#define IDIR_INT_OUT1   0x2
 
#define IDIR_INT_OUT2   0x4
 
#define IDIR_INT_OUT3   0x8
 

Enumerations

enum  TSI108_IRQ_MODE { TSI108_IRQ_DIRECTED, TSI108_IRQ_DISTRIBUTED }
 

Macro Definition Documentation

#define DEFAULT_PRIO_LVL   10 /* initial priority level */

Definition at line 46 of file tsi108_irq.h.

#define IDIR_INT_OUT0   0x1

Definition at line 111 of file tsi108_irq.h.

#define IDIR_INT_OUT1   0x2

Definition at line 112 of file tsi108_irq.h.

#define IDIR_INT_OUT2   0x4

Definition at line 113 of file tsi108_irq.h.

#define IDIR_INT_OUT3   0x8

Definition at line 114 of file tsi108_irq.h.

#define IRQ_PCI_INTA   (IRQ_PCI_INTAD_BASE + 0)

Definition at line 100 of file tsi108_irq.h.

#define IRQ_PCI_INTAD_BASE   TSI108_IRQ(36)

Definition at line 99 of file tsi108_irq.h.

#define IRQ_PCI_INTB   (IRQ_PCI_INTAD_BASE + 1)

Definition at line 101 of file tsi108_irq.h.

#define IRQ_PCI_INTC   (IRQ_PCI_INTAD_BASE + 2)

Definition at line 102 of file tsi108_irq.h.

#define IRQ_PCI_INTD   (IRQ_PCI_INTAD_BASE + 3)

Definition at line 103 of file tsi108_irq.h.

#define IRQ_TSI108_DBELL0   TSI108_IRQ(28) /* Doorbell 0 */

Definition at line 86 of file tsi108_irq.h.

#define IRQ_TSI108_DBELL1   TSI108_IRQ(29) /* Doorbell 1 */

Definition at line 87 of file tsi108_irq.h.

#define IRQ_TSI108_DBELL2   TSI108_IRQ(30) /* Doorbell 2 */

Definition at line 88 of file tsi108_irq.h.

#define IRQ_TSI108_DBELL3   TSI108_IRQ(31) /* Doorbell 3 */

Definition at line 89 of file tsi108_irq.h.

#define IRQ_TSI108_DMA0   TSI108_IRQ(8) /* DMA0 */

Definition at line 64 of file tsi108_irq.h.

#define IRQ_TSI108_DMA1   TSI108_IRQ(9) /* DMA1 */

Definition at line 65 of file tsi108_irq.h.

#define IRQ_TSI108_DMA2   TSI108_IRQ(10) /* DMA2 */

Definition at line 66 of file tsi108_irq.h.

#define IRQ_TSI108_DMA3   TSI108_IRQ(11) /* DMA3 */

Definition at line 67 of file tsi108_irq.h.

#define IRQ_TSI108_EXT_INT0   TSI108_IRQ(0) /* External Source at INT[0] */

Definition at line 53 of file tsi108_irq.h.

#define IRQ_TSI108_EXT_INT1   TSI108_IRQ(1) /* External Source at INT[1] */

Definition at line 54 of file tsi108_irq.h.

#define IRQ_TSI108_EXT_INT2   TSI108_IRQ(2) /* External Source at INT[2] */

Definition at line 55 of file tsi108_irq.h.

#define IRQ_TSI108_EXT_INT3   TSI108_IRQ(3) /* External Source at INT[3] */

Definition at line 56 of file tsi108_irq.h.

#define IRQ_TSI108_GIGE0   TSI108_IRQ(16) /* GIGE0 */

Definition at line 72 of file tsi108_irq.h.

#define IRQ_TSI108_GIGE1   TSI108_IRQ(17) /* GIGE1 */

Definition at line 73 of file tsi108_irq.h.

#define IRQ_TSI108_GPIO   TSI108_IRQ(15) /* GPIO */

Definition at line 71 of file tsi108_irq.h.

#define IRQ_TSI108_HLP   TSI108_IRQ(19) /* HLP */

Definition at line 75 of file tsi108_irq.h.

#define IRQ_TSI108_I2C   TSI108_IRQ(14) /* I2C */

Definition at line 70 of file tsi108_irq.h.

#define IRQ_TSI108_MBOX0   TSI108_IRQ(24) /* Mailbox 0 register */

Definition at line 81 of file tsi108_irq.h.

#define IRQ_TSI108_MBOX1   TSI108_IRQ(25) /* Mailbox 1 register */

Definition at line 82 of file tsi108_irq.h.

#define IRQ_TSI108_MBOX2   TSI108_IRQ(26) /* Mailbox 2 register */

Definition at line 83 of file tsi108_irq.h.

#define IRQ_TSI108_MBOX3   TSI108_IRQ(27) /* Mailbox 3 register */

Definition at line 84 of file tsi108_irq.h.

#define IRQ_TSI108_PCI   TSI108_IRQ(23) /* PCI/X block */

Definition at line 79 of file tsi108_irq.h.

#define IRQ_TSI108_PROC_IF   TSI108_IRQ(21) /* Processor IF */

Definition at line 77 of file tsi108_irq.h.

#define IRQ_TSI108_RESERVED0   TSI108_IRQ(4) /* Reserved IRQ */

Definition at line 60 of file tsi108_irq.h.

#define IRQ_TSI108_RESERVED1   TSI108_IRQ(5) /* Reserved IRQ */

Definition at line 61 of file tsi108_irq.h.

#define IRQ_TSI108_RESERVED2   TSI108_IRQ(6) /* Reserved IRQ */

Definition at line 62 of file tsi108_irq.h.

#define IRQ_TSI108_RESERVED3   TSI108_IRQ(7) /* Reserved IRQ */

Definition at line 63 of file tsi108_irq.h.

#define IRQ_TSI108_RESERVED4   TSI108_IRQ(18) /* Reserved IRQ */

Definition at line 74 of file tsi108_irq.h.

#define IRQ_TSI108_RESERVED5   TSI108_IRQ(22) /* Reserved IRQ */

Definition at line 78 of file tsi108_irq.h.

#define IRQ_TSI108_SDRAM   TSI108_IRQ(20) /* SDC */

Definition at line 76 of file tsi108_irq.h.

#define IRQ_TSI108_TAB_SIZE   (TSI108_MAX_VECTORS + 1)

Definition at line 107 of file tsi108_irq.h.

#define IRQ_TSI108_TIMER0   TSI108_IRQ(32) /* Global Timer 0 */

Definition at line 91 of file tsi108_irq.h.

#define IRQ_TSI108_TIMER1   TSI108_IRQ(33) /* Global Timer 1 */

Definition at line 92 of file tsi108_irq.h.

#define IRQ_TSI108_TIMER2   TSI108_IRQ(34) /* Global Timer 2 */

Definition at line 93 of file tsi108_irq.h.

#define IRQ_TSI108_TIMER3   TSI108_IRQ(35) /* Global Timer 3 */

Definition at line 94 of file tsi108_irq.h.

#define IRQ_TSI108_UART0   TSI108_IRQ(12) /* UART0 */

Definition at line 68 of file tsi108_irq.h.

#define IRQ_TSI108_UART1   TSI108_IRQ(13) /* UART1 */

Definition at line 69 of file tsi108_irq.h.

#define MAX_TASK_PRIO   0xF

Definition at line 42 of file tsi108_irq.h.

#define NUM_PCI_IRQS   (4)

Definition at line 104 of file tsi108_irq.h.

#define TSI108_IRQ (   x)    (TSI108_IRQ_REG_BASE + (x))

Definition at line 39 of file tsi108_irq.h.

#define TSI108_IRQ_REG_BASE   0

Definition at line 36 of file tsi108_irq.h.

#define TSI108_IRQ_SPURIOUS   (TSI108_MAX_VECTORS)

Definition at line 44 of file tsi108_irq.h.

#define TSI108_MAX_VECTORS   (36 + 4) /* 36 sources + PCI INT demux */

Definition at line 41 of file tsi108_irq.h.

Enumeration Type Documentation

Enumerator:
TSI108_IRQ_DIRECTED 
TSI108_IRQ_DISTRIBUTED 

Definition at line 120 of file tsi108_irq.h.