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

Go to the source code of this file.

Macros

#define MCFSIM_ICR_AUTOVEC   0x80 /* Auto-vectored intr */
 
#define MCFSIM_ICR_LEVEL0   0x00 /* Level 0 intr */
 
#define MCFSIM_ICR_LEVEL1   0x04 /* Level 1 intr */
 
#define MCFSIM_ICR_LEVEL2   0x08 /* Level 2 intr */
 
#define MCFSIM_ICR_LEVEL3   0x0c /* Level 3 intr */
 
#define MCFSIM_ICR_LEVEL4   0x10 /* Level 4 intr */
 
#define MCFSIM_ICR_LEVEL5   0x14 /* Level 5 intr */
 
#define MCFSIM_ICR_LEVEL6   0x18 /* Level 6 intr */
 
#define MCFSIM_ICR_LEVEL7   0x1c /* Level 7 intr */
 
#define MCFSIM_ICR_PRI0   0x00 /* Priority 0 intr */
 
#define MCFSIM_ICR_PRI1   0x01 /* Priority 1 intr */
 
#define MCFSIM_ICR_PRI2   0x02 /* Priority 2 intr */
 
#define MCFSIM_ICR_PRI3   0x03 /* Priority 3 intr */
 
#define MCFINTC_EINT1   1 /* External int #1 */
 
#define MCFINTC_EINT2   2 /* External int #2 */
 
#define MCFINTC_EINT3   3 /* External int #3 */
 
#define MCFINTC_EINT4   4 /* External int #4 */
 
#define MCFINTC_EINT5   5 /* External int #5 */
 
#define MCFINTC_EINT6   6 /* External int #6 */
 
#define MCFINTC_EINT7   7 /* External int #7 */
 
#define MCFINTC_SWT   8 /* Software Watchdog */
 
#define MCFINTC_TIMER1   9
 
#define MCFINTC_TIMER2   10
 
#define MCFINTC_I2C   11 /* I2C / MBUS */
 
#define MCFINTC_UART0   12
 
#define MCFINTC_UART1   13
 
#define MCFINTC_DMA0   14
 
#define MCFINTC_DMA1   15
 
#define MCFINTC_DMA2   16
 
#define MCFINTC_DMA3   17
 
#define MCFINTC_QSPI   18
 

Functions

void mcf_autovector (int irq)
 
void mcf_setimr (int index)
 
void mcf_clrimr (int index)
 

Variables

unsigned char mcf_irq2imr []
 

Macro Definition Documentation

#define MCFINTC_DMA0   14

Definition at line 63 of file mcfintc.h.

#define MCFINTC_DMA1   15

Definition at line 64 of file mcfintc.h.

#define MCFINTC_DMA2   16

Definition at line 65 of file mcfintc.h.

#define MCFINTC_DMA3   17

Definition at line 66 of file mcfintc.h.

#define MCFINTC_EINT1   1 /* External int #1 */

Definition at line 50 of file mcfintc.h.

#define MCFINTC_EINT2   2 /* External int #2 */

Definition at line 51 of file mcfintc.h.

#define MCFINTC_EINT3   3 /* External int #3 */

Definition at line 52 of file mcfintc.h.

#define MCFINTC_EINT4   4 /* External int #4 */

Definition at line 53 of file mcfintc.h.

#define MCFINTC_EINT5   5 /* External int #5 */

Definition at line 54 of file mcfintc.h.

#define MCFINTC_EINT6   6 /* External int #6 */

Definition at line 55 of file mcfintc.h.

#define MCFINTC_EINT7   7 /* External int #7 */

Definition at line 56 of file mcfintc.h.

#define MCFINTC_I2C   11 /* I2C / MBUS */

Definition at line 60 of file mcfintc.h.

#define MCFINTC_QSPI   18

Definition at line 67 of file mcfintc.h.

#define MCFINTC_SWT   8 /* Software Watchdog */

Definition at line 57 of file mcfintc.h.

#define MCFINTC_TIMER1   9

Definition at line 58 of file mcfintc.h.

#define MCFINTC_TIMER2   10

Definition at line 59 of file mcfintc.h.

#define MCFINTC_UART0   12

Definition at line 61 of file mcfintc.h.

#define MCFINTC_UART1   13

Definition at line 62 of file mcfintc.h.

#define MCFSIM_ICR_AUTOVEC   0x80 /* Auto-vectored intr */

Definition at line 30 of file mcfintc.h.

#define MCFSIM_ICR_LEVEL0   0x00 /* Level 0 intr */

Definition at line 31 of file mcfintc.h.

#define MCFSIM_ICR_LEVEL1   0x04 /* Level 1 intr */

Definition at line 32 of file mcfintc.h.

#define MCFSIM_ICR_LEVEL2   0x08 /* Level 2 intr */

Definition at line 33 of file mcfintc.h.

#define MCFSIM_ICR_LEVEL3   0x0c /* Level 3 intr */

Definition at line 34 of file mcfintc.h.

#define MCFSIM_ICR_LEVEL4   0x10 /* Level 4 intr */

Definition at line 35 of file mcfintc.h.

#define MCFSIM_ICR_LEVEL5   0x14 /* Level 5 intr */

Definition at line 36 of file mcfintc.h.

#define MCFSIM_ICR_LEVEL6   0x18 /* Level 6 intr */

Definition at line 37 of file mcfintc.h.

#define MCFSIM_ICR_LEVEL7   0x1c /* Level 7 intr */

Definition at line 38 of file mcfintc.h.

#define MCFSIM_ICR_PRI0   0x00 /* Priority 0 intr */

Definition at line 40 of file mcfintc.h.

#define MCFSIM_ICR_PRI1   0x01 /* Priority 1 intr */

Definition at line 41 of file mcfintc.h.

#define MCFSIM_ICR_PRI2   0x02 /* Priority 2 intr */

Definition at line 42 of file mcfintc.h.

#define MCFSIM_ICR_PRI3   0x03 /* Priority 3 intr */

Definition at line 43 of file mcfintc.h.

Function Documentation

void mcf_autovector ( int  irq)

Definition at line 102 of file intc.c.

void mcf_clrimr ( int  index)

Definition at line 76 of file intc.c.

void mcf_setimr ( int  index)

Definition at line 69 of file intc.c.

Variable Documentation

unsigned char mcf_irq2imr[]

Definition at line 28 of file intc.c.