xref: /linux/include/linux/irqchip/arm-gic-common.h (revision 9e56ff53b4115875667760445b028357848b4748)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * include/linux/irqchip/arm-gic-common.h
4  *
5  * Copyright (C) 2016 ARM Limited, All Rights Reserved.
6  */
7 #ifndef __LINUX_IRQCHIP_ARM_GIC_COMMON_H
8 #define __LINUX_IRQCHIP_ARM_GIC_COMMON_H
9 
10 #include <linux/irqchip/arm-vgic-info.h>
11 
12 #define GICD_INT_DEF_PRI		0xa0
13 #define GICD_INT_DEF_PRI_X4		((GICD_INT_DEF_PRI << 24) |\
14 					(GICD_INT_DEF_PRI << 16) |\
15 					(GICD_INT_DEF_PRI << 8) |\
16 					GICD_INT_DEF_PRI)
17 
18 struct irq_domain;
19 struct fwnode_handle;
20 int gicv2m_init(struct fwnode_handle *parent_handle,
21 		struct irq_domain *parent);
22 
23 #endif /* __LINUX_IRQCHIP_ARM_GIC_COMMON_H */
24