1
2
3
4
5
6
7 #ifndef __ASM_ARM_HARDWARE_VIC_H
8 #define __ASM_ARM_HARDWARE_VIC_H
9
10 #include <linux/types.h>
11
12 #define VIC_RAW_STATUS 0x08
13 #define VIC_INT_ENABLE 0x10
14 #define VIC_INT_ENABLE_CLEAR 0x14
15
16 struct device_node;
17 struct pt_regs;
18
19 void __vic_init(void __iomem *base, int parent_irq, int irq_start,
20 u32 vic_sources, u32 resume_sources, struct device_node *node);
21 void vic_init(void __iomem *base, unsigned int irq_start, u32 vic_sources, u32 resume_sources);
22 int vic_init_cascaded(void __iomem *base, unsigned int parent_irq,
23 u32 vic_sources, u32 resume_sources);
24
25 #endif