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

Go to the source code of this file.

Macros

#define CP_INTC_REV   0x00
 
#define CP_INTC_CTRL   0x04
 
#define CP_INTC_HOST_CTRL   0x0C
 
#define CP_INTC_GLOBAL_ENABLE   0x10
 
#define CP_INTC_GLOBAL_NESTING_LEVEL   0x1C
 
#define CP_INTC_SYS_STAT_IDX_SET   0x20
 
#define CP_INTC_SYS_STAT_IDX_CLR   0x24
 
#define CP_INTC_SYS_ENABLE_IDX_SET   0x28
 
#define CP_INTC_SYS_ENABLE_IDX_CLR   0x2C
 
#define CP_INTC_GLOBAL_WAKEUP_ENABLE   0x30
 
#define CP_INTC_HOST_ENABLE_IDX_SET   0x34
 
#define CP_INTC_HOST_ENABLE_IDX_CLR   0x38
 
#define CP_INTC_PACING_PRESCALE   0x40
 
#define CP_INTC_VECTOR_BASE   0x50
 
#define CP_INTC_VECTOR_SIZE   0x54
 
#define CP_INTC_VECTOR_NULL   0x58
 
#define CP_INTC_PRIO_IDX   0x80
 
#define CP_INTC_PRIO_VECTOR   0x84
 
#define CP_INTC_SECURE_ENABLE   0x90
 
#define CP_INTC_SECURE_PRIO_IDX   0x94
 
#define CP_INTC_PACING_PARAM(n)   (0x0100 + (n << 4))
 
#define CP_INTC_PACING_DEC(n)   (0x0104 + (n << 4))
 
#define CP_INTC_PACING_MAP(n)   (0x0108 + (n << 4))
 
#define CP_INTC_SYS_RAW_STAT(n)   (0x0200 + (n << 2))
 
#define CP_INTC_SYS_STAT_CLR(n)   (0x0280 + (n << 2))
 
#define CP_INTC_SYS_ENABLE_SET(n)   (0x0300 + (n << 2))
 
#define CP_INTC_SYS_ENABLE_CLR(n)   (0x0380 + (n << 2))
 
#define CP_INTC_CHAN_MAP(n)   (0x0400 + (n << 2))
 
#define CP_INTC_HOST_MAP(n)   (0x0800 + (n << 2))
 
#define CP_INTC_HOST_PRIO_IDX(n)   (0x0900 + (n << 2))
 
#define CP_INTC_SYS_POLARITY(n)   (0x0D00 + (n << 2))
 
#define CP_INTC_SYS_TYPE(n)   (0x0D80 + (n << 2))
 
#define CP_INTC_WAKEUP_ENABLE(n)   (0x0E00 + (n << 2))
 
#define CP_INTC_DEBUG_SELECT(n)   (0x0F00 + (n << 2))
 
#define CP_INTC_SYS_SECURE_ENABLE(n)   (0x1000 + (n << 2))
 
#define CP_INTC_HOST_NESTING_LEVEL(n)   (0x1100 + (n << 2))
 
#define CP_INTC_HOST_ENABLE(n)   (0x1500 + (n << 2))
 
#define CP_INTC_HOST_PRIO_VECTOR(n)   (0x1600 + (n << 2))
 
#define CP_INTC_VECTOR_ADDR(n)   (0x2000 + (n << 2))
 

Functions

void __init cp_intc_init (void)
 
int __init cp_intc_of_init (struct device_node *, struct device_node *)
 

Macro Definition Documentation

#define CP_INTC_CHAN_MAP (   n)    (0x0400 + (n << 2))

Definition at line 41 of file cp_intc.h.

#define CP_INTC_CTRL   0x04

Definition at line 15 of file cp_intc.h.

#define CP_INTC_DEBUG_SELECT (   n)    (0x0F00 + (n << 2))

Definition at line 47 of file cp_intc.h.

#define CP_INTC_GLOBAL_ENABLE   0x10

Definition at line 17 of file cp_intc.h.

#define CP_INTC_GLOBAL_NESTING_LEVEL   0x1C

Definition at line 18 of file cp_intc.h.

#define CP_INTC_GLOBAL_WAKEUP_ENABLE   0x30

Definition at line 23 of file cp_intc.h.

#define CP_INTC_HOST_CTRL   0x0C

Definition at line 16 of file cp_intc.h.

#define CP_INTC_HOST_ENABLE (   n)    (0x1500 + (n << 2))

Definition at line 50 of file cp_intc.h.

#define CP_INTC_HOST_ENABLE_IDX_CLR   0x38

Definition at line 25 of file cp_intc.h.

#define CP_INTC_HOST_ENABLE_IDX_SET   0x34

Definition at line 24 of file cp_intc.h.

#define CP_INTC_HOST_MAP (   n)    (0x0800 + (n << 2))

Definition at line 42 of file cp_intc.h.

#define CP_INTC_HOST_NESTING_LEVEL (   n)    (0x1100 + (n << 2))

Definition at line 49 of file cp_intc.h.

#define CP_INTC_HOST_PRIO_IDX (   n)    (0x0900 + (n << 2))

Definition at line 43 of file cp_intc.h.

#define CP_INTC_HOST_PRIO_VECTOR (   n)    (0x1600 + (n << 2))

Definition at line 51 of file cp_intc.h.

#define CP_INTC_PACING_DEC (   n)    (0x0104 + (n << 4))

Definition at line 35 of file cp_intc.h.

#define CP_INTC_PACING_MAP (   n)    (0x0108 + (n << 4))

Definition at line 36 of file cp_intc.h.

#define CP_INTC_PACING_PARAM (   n)    (0x0100 + (n << 4))

Definition at line 34 of file cp_intc.h.

#define CP_INTC_PACING_PRESCALE   0x40

Definition at line 26 of file cp_intc.h.

#define CP_INTC_PRIO_IDX   0x80

Definition at line 30 of file cp_intc.h.

#define CP_INTC_PRIO_VECTOR   0x84

Definition at line 31 of file cp_intc.h.

#define CP_INTC_REV   0x00

Definition at line 14 of file cp_intc.h.

#define CP_INTC_SECURE_ENABLE   0x90

Definition at line 32 of file cp_intc.h.

#define CP_INTC_SECURE_PRIO_IDX   0x94

Definition at line 33 of file cp_intc.h.

#define CP_INTC_SYS_ENABLE_CLR (   n)    (0x0380 + (n << 2))

Definition at line 40 of file cp_intc.h.

#define CP_INTC_SYS_ENABLE_IDX_CLR   0x2C

Definition at line 22 of file cp_intc.h.

#define CP_INTC_SYS_ENABLE_IDX_SET   0x28

Definition at line 21 of file cp_intc.h.

#define CP_INTC_SYS_ENABLE_SET (   n)    (0x0300 + (n << 2))

Definition at line 39 of file cp_intc.h.

#define CP_INTC_SYS_POLARITY (   n)    (0x0D00 + (n << 2))

Definition at line 44 of file cp_intc.h.

#define CP_INTC_SYS_RAW_STAT (   n)    (0x0200 + (n << 2))

Definition at line 37 of file cp_intc.h.

#define CP_INTC_SYS_SECURE_ENABLE (   n)    (0x1000 + (n << 2))

Definition at line 48 of file cp_intc.h.

#define CP_INTC_SYS_STAT_CLR (   n)    (0x0280 + (n << 2))

Definition at line 38 of file cp_intc.h.

#define CP_INTC_SYS_STAT_IDX_CLR   0x24

Definition at line 20 of file cp_intc.h.

#define CP_INTC_SYS_STAT_IDX_SET   0x20

Definition at line 19 of file cp_intc.h.

#define CP_INTC_SYS_TYPE (   n)    (0x0D80 + (n << 2))

Definition at line 45 of file cp_intc.h.

#define CP_INTC_VECTOR_ADDR (   n)    (0x2000 + (n << 2))

Definition at line 52 of file cp_intc.h.

#define CP_INTC_VECTOR_BASE   0x50

Definition at line 27 of file cp_intc.h.

#define CP_INTC_VECTOR_NULL   0x58

Definition at line 29 of file cp_intc.h.

#define CP_INTC_VECTOR_SIZE   0x54

Definition at line 28 of file cp_intc.h.

#define CP_INTC_WAKEUP_ENABLE (   n)    (0x0E00 + (n << 2))

Definition at line 46 of file cp_intc.h.

Function Documentation

void __init cp_intc_init ( void  )

Definition at line 219 of file cp_intc.c.

int __init cp_intc_of_init ( struct device_node ,
struct device_node  
)

Definition at line 125 of file cp_intc.c.