xref: /linux/include/linux/irqchip/arm-gic-common.h (revision 24bce201d79807b668bf9d9e0aca801c5c0d5f78)
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