Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
intc-sh5.c File Reference
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/bitops.h>
#include <cpu/irq.h>
#include <asm/page.h>

Go to the source code of this file.

Macros

#define INTC_BLOCK_OFFSET   0x01000000
 
#define INTC_BASE
 
#define INTC_ICR_SET   (intc_virt + 0x0)
 
#define INTC_ICR_CLEAR   (intc_virt + 0x8)
 
#define INTC_INTPRI_0   (intc_virt + 0x10)
 
#define INTC_INTSRC_0   (intc_virt + 0x50)
 
#define INTC_INTSRC_1   (intc_virt + 0x58)
 
#define INTC_INTREQ_0   (intc_virt + 0x60)
 
#define INTC_INTREQ_1   (intc_virt + 0x68)
 
#define INTC_INTENB_0   (intc_virt + 0x70)
 
#define INTC_INTENB_1   (intc_virt + 0x78)
 
#define INTC_INTDSB_0   (intc_virt + 0x80)
 
#define INTC_INTDSB_1   (intc_virt + 0x88)
 
#define INTC_ICR_IRLM   0x1
 
#define INTC_INTPRI_PREGS   8 /* 8 Priority Registers */
 
#define INTC_INTPRI_PPREG   8 /* 8 Priorities per Register */
 

Functions

void __init plat_irq_setup (void)
 

Variables

int intc_evt_to_irq [(0xE20/0x20)+1]
 

Macro Definition Documentation

#define INTC_BASE
Value:
INTC_BLOCK_OFFSET

Definition at line 35 of file intc-sh5.c.

#define INTC_BLOCK_OFFSET   0x01000000

Definition at line 32 of file intc-sh5.c.

#define INTC_ICR_CLEAR   (intc_virt + 0x8)

Definition at line 40 of file intc-sh5.c.

#define INTC_ICR_IRLM   0x1

Definition at line 51 of file intc-sh5.c.

#define INTC_ICR_SET   (intc_virt + 0x0)

Definition at line 39 of file intc-sh5.c.

#define INTC_INTDSB_0   (intc_virt + 0x80)

Definition at line 48 of file intc-sh5.c.

#define INTC_INTDSB_1   (intc_virt + 0x88)

Definition at line 49 of file intc-sh5.c.

#define INTC_INTENB_0   (intc_virt + 0x70)

Definition at line 46 of file intc-sh5.c.

#define INTC_INTENB_1   (intc_virt + 0x78)

Definition at line 47 of file intc-sh5.c.

#define INTC_INTPRI_0   (intc_virt + 0x10)

Definition at line 41 of file intc-sh5.c.

#define INTC_INTPRI_PPREG   8 /* 8 Priorities per Register */

Definition at line 53 of file intc-sh5.c.

#define INTC_INTPRI_PREGS   8 /* 8 Priority Registers */

Definition at line 52 of file intc-sh5.c.

#define INTC_INTREQ_0   (intc_virt + 0x60)

Definition at line 44 of file intc-sh5.c.

#define INTC_INTREQ_1   (intc_virt + 0x68)

Definition at line 45 of file intc-sh5.c.

#define INTC_INTSRC_0   (intc_virt + 0x50)

Definition at line 42 of file intc-sh5.c.

#define INTC_INTSRC_1   (intc_virt + 0x58)

Definition at line 43 of file intc-sh5.c.

Function Documentation

void __init plat_irq_setup ( void  )

Definition at line 124 of file intc-sh5.c.

Variable Documentation

int intc_evt_to_irq[(0xE20/0x20)+1]
Initial value:
= {
-1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1,
0, 0, 0, 0, 0, 1, 0, 0,
2, 0, 0, 3, 0, 0, 0, -1,
32, 33, 34, 35, 36, 37, 38, -1,
-1, -1, -1, 63, -1, -1, -1, -1,
-1, -1, 18, 19, 20, 21, 22, -1,
39, 40, 41, 42, -1, -1, -1, -1,
4, 5, 6, 7, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1,
12, 13, 14, 15, 16, 17, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1,
-1, -1
}

Definition at line 60 of file intc-sh5.c.