]>
Commit | Line | Data |
---|---|---|
1a59d1b8 | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
fa0fe48f | 2 | /* |
4baa9922 | 3 | * arch/arm/include/asm/hardware/vic.h |
fa0fe48f RK |
4 | * |
5 | * Copyright (c) ARM Limited 2003. All rights reserved. | |
fa0fe48f RK |
6 | */ |
7 | #ifndef __ASM_ARM_HARDWARE_VIC_H | |
8 | #define __ASM_ARM_HARDWARE_VIC_H | |
9 | ||
cf21af54 RH |
10 | #include <linux/types.h> |
11 | ||
fa0fe48f | 12 | #define VIC_RAW_STATUS 0x08 |
fa0fe48f RK |
13 | #define VIC_INT_ENABLE 0x10 /* 1 = enable, 0 = disable */ |
14 | #define VIC_INT_ENABLE_CLEAR 0x14 | |
f9b28ccb JI |
15 | |
16 | struct device_node; | |
1558368e JI |
17 | struct pt_regs; |
18 | ||
e641b987 LW |
19 | void __vic_init(void __iomem *base, int parent_irq, int irq_start, |
20 | u32 vic_sources, u32 resume_sources, struct device_node *node); | |
c07f87f2 | 21 | void vic_init(void __iomem *base, unsigned int irq_start, u32 vic_sources, u32 resume_sources); |
e641b987 LW |
22 | int vic_init_cascaded(void __iomem *base, unsigned int parent_irq, |
23 | u32 vic_sources, u32 resume_sources); | |
fa0fe48f RK |
24 | |
25 | #endif |