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

Go to the source code of this file.

Macros

#define __PLAT_SAMSUNG_IRQS_H   __FILE__
 
#define S5P_IRQ_OFFSET   (32)
 
#define S5P_IRQ(x)   ((x) + S5P_IRQ_OFFSET)
 
#define S5P_VIC0_BASE   S5P_IRQ(0)
 
#define S5P_VIC1_BASE   S5P_IRQ(32)
 
#define S5P_VIC2_BASE   S5P_IRQ(64)
 
#define S5P_VIC3_BASE   S5P_IRQ(96)
 
#define VIC_BASE(x)   (S5P_VIC0_BASE + ((x)*32))
 
#define IRQ_VIC0_BASE   S5P_VIC0_BASE
 
#define IRQ_VIC1_BASE   S5P_VIC1_BASE
 
#define IRQ_VIC2_BASE   S5P_VIC2_BASE
 
#define S5P_IRQ_VIC0(x)   (S5P_VIC0_BASE + (x))
 
#define S5P_IRQ_VIC1(x)   (S5P_VIC1_BASE + (x))
 
#define S5P_IRQ_VIC2(x)   (S5P_VIC2_BASE + (x))
 
#define S5P_IRQ_VIC3(x)   (S5P_VIC3_BASE + (x))
 
#define S5P_TIMER_IRQ(x)   (IRQ_TIMER_BASE + (x))
 
#define IRQ_TIMER0   S5P_TIMER_IRQ(0)
 
#define IRQ_TIMER1   S5P_TIMER_IRQ(1)
 
#define IRQ_TIMER2   S5P_TIMER_IRQ(2)
 
#define IRQ_TIMER3   S5P_TIMER_IRQ(3)
 
#define IRQ_TIMER4   S5P_TIMER_IRQ(4)
 
#define IRQ_TIMER_COUNT   (5)
 
#define IRQ_EINT(x)
 
#define EINT_OFFSET(irq)
 
#define IRQ_EINT_BIT(x)   EINT_OFFSET(x)
 
#define S5P_GPIOINT_GROUP_COUNT   4
 
#define S5P_GPIOINT_GROUP_SIZE   8
 
#define S5P_GPIOINT_COUNT   (S5P_GPIOINT_GROUP_COUNT * S5P_GPIOINT_GROUP_SIZE)
 
#define S5P_IRQ_TYPE_LEVEL_LOW   (0x00)
 
#define S5P_IRQ_TYPE_LEVEL_HIGH   (0x01)
 
#define S5P_IRQ_TYPE_EDGE_FALLING   (0x02)
 
#define S5P_IRQ_TYPE_EDGE_RISING   (0x03)
 
#define S5P_IRQ_TYPE_EDGE_BOTH   (0x04)
 

Macro Definition Documentation

#define __PLAT_SAMSUNG_IRQS_H   __FILE__

Definition at line 14 of file irqs.h.

#define EINT_OFFSET (   irq)
Value:
((irq) - S5P_EINT_BASE1) : \
((irq) + 16 - S5P_EINT_BASE2))

Definition at line 59 of file irqs.h.

#define IRQ_EINT (   x)
Value:
((x) < 16 ? ((x) + S5P_EINT_BASE1) \
: ((x) - 16 + S5P_EINT_BASE2))

Definition at line 56 of file irqs.h.

#define IRQ_EINT_BIT (   x)    EINT_OFFSET(x)

Definition at line 63 of file irqs.h.

#define IRQ_TIMER0   S5P_TIMER_IRQ(0)

Definition at line 49 of file irqs.h.

#define IRQ_TIMER1   S5P_TIMER_IRQ(1)

Definition at line 50 of file irqs.h.

#define IRQ_TIMER2   S5P_TIMER_IRQ(2)

Definition at line 51 of file irqs.h.

#define IRQ_TIMER3   S5P_TIMER_IRQ(3)

Definition at line 52 of file irqs.h.

#define IRQ_TIMER4   S5P_TIMER_IRQ(4)

Definition at line 53 of file irqs.h.

#define IRQ_TIMER_COUNT   (5)

Definition at line 54 of file irqs.h.

#define IRQ_VIC0_BASE   S5P_VIC0_BASE

Definition at line 36 of file irqs.h.

#define IRQ_VIC1_BASE   S5P_VIC1_BASE

Definition at line 37 of file irqs.h.

#define IRQ_VIC2_BASE   S5P_VIC2_BASE

Definition at line 38 of file irqs.h.

#define S5P_GPIOINT_COUNT   (S5P_GPIOINT_GROUP_COUNT * S5P_GPIOINT_GROUP_SIZE)

Definition at line 72 of file irqs.h.

#define S5P_GPIOINT_GROUP_COUNT   4

Definition at line 70 of file irqs.h.

#define S5P_GPIOINT_GROUP_SIZE   8

Definition at line 71 of file irqs.h.

#define S5P_IRQ (   x)    ((x) + S5P_IRQ_OFFSET)

Definition at line 27 of file irqs.h.

#define S5P_IRQ_OFFSET   (32)

Definition at line 25 of file irqs.h.

#define S5P_IRQ_TYPE_EDGE_BOTH   (0x04)

Definition at line 79 of file irqs.h.

#define S5P_IRQ_TYPE_EDGE_FALLING   (0x02)

Definition at line 77 of file irqs.h.

#define S5P_IRQ_TYPE_EDGE_RISING   (0x03)

Definition at line 78 of file irqs.h.

#define S5P_IRQ_TYPE_LEVEL_HIGH   (0x01)

Definition at line 76 of file irqs.h.

#define S5P_IRQ_TYPE_LEVEL_LOW   (0x00)

Definition at line 75 of file irqs.h.

#define S5P_IRQ_VIC0 (   x)    (S5P_VIC0_BASE + (x))

Definition at line 42 of file irqs.h.

#define S5P_IRQ_VIC1 (   x)    (S5P_VIC1_BASE + (x))

Definition at line 43 of file irqs.h.

#define S5P_IRQ_VIC2 (   x)    (S5P_VIC2_BASE + (x))

Definition at line 44 of file irqs.h.

#define S5P_IRQ_VIC3 (   x)    (S5P_VIC3_BASE + (x))

Definition at line 45 of file irqs.h.

#define S5P_TIMER_IRQ (   x)    (IRQ_TIMER_BASE + (x))

Definition at line 47 of file irqs.h.

#define S5P_VIC0_BASE   S5P_IRQ(0)

Definition at line 29 of file irqs.h.

#define S5P_VIC1_BASE   S5P_IRQ(32)

Definition at line 30 of file irqs.h.

#define S5P_VIC2_BASE   S5P_IRQ(64)

Definition at line 31 of file irqs.h.

#define S5P_VIC3_BASE   S5P_IRQ(96)

Definition at line 32 of file irqs.h.

#define VIC_BASE (   x)    (S5P_VIC0_BASE + ((x)*32))

Definition at line 34 of file irqs.h.