diff options
Diffstat (limited to 'include/linux/irqchip/arm-gic.h')
-rw-r--r-- | include/linux/irqchip/arm-gic.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/linux/irqchip/arm-gic.h b/include/linux/irqchip/arm-gic.h index 9509e8785cad..ef61d80946be 100644 --- a/include/linux/irqchip/arm-gic.h +++ b/include/linux/irqchip/arm-gic.h | |||
@@ -32,6 +32,31 @@ | |||
32 | #define GIC_DIST_CONFIG 0xc00 | 32 | #define GIC_DIST_CONFIG 0xc00 |
33 | #define GIC_DIST_SOFTINT 0xf00 | 33 | #define GIC_DIST_SOFTINT 0xf00 |
34 | 34 | ||
35 | #define GICH_HCR 0x0 | ||
36 | #define GICH_VTR 0x4 | ||
37 | #define GICH_VMCR 0x8 | ||
38 | #define GICH_MISR 0x10 | ||
39 | #define GICH_EISR0 0x20 | ||
40 | #define GICH_EISR1 0x24 | ||
41 | #define GICH_ELRSR0 0x30 | ||
42 | #define GICH_ELRSR1 0x34 | ||
43 | #define GICH_APR 0xf0 | ||
44 | #define GICH_LR0 0x100 | ||
45 | |||
46 | #define GICH_HCR_EN (1 << 0) | ||
47 | #define GICH_HCR_UIE (1 << 1) | ||
48 | |||
49 | #define GICH_LR_VIRTUALID (0x3ff << 0) | ||
50 | #define GICH_LR_PHYSID_CPUID_SHIFT (10) | ||
51 | #define GICH_LR_PHYSID_CPUID (7 << GICH_LR_PHYSID_CPUID_SHIFT) | ||
52 | #define GICH_LR_STATE (3 << 28) | ||
53 | #define GICH_LR_PENDING_BIT (1 << 28) | ||
54 | #define GICH_LR_ACTIVE_BIT (1 << 29) | ||
55 | #define GICH_LR_EOI (1 << 19) | ||
56 | |||
57 | #define GICH_MISR_EOI (1 << 0) | ||
58 | #define GICH_MISR_U (1 << 1) | ||
59 | |||
35 | struct device_node; | 60 | struct device_node; |
36 | 61 | ||
37 | extern struct irq_chip gic_arch_extn; | 62 | extern struct irq_chip gic_arch_extn; |