2019-06-04 11:11:33 +03:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2016-04-11 18:32:54 +03:00
|
|
|
/*
|
|
|
|
* include/linux/irqchip/arm-gic-common.h
|
|
|
|
*
|
|
|
|
* Copyright (C) 2016 ARM Limited, All Rights Reserved.
|
|
|
|
*/
|
|
|
|
#ifndef __LINUX_IRQCHIP_ARM_GIC_COMMON_H
|
|
|
|
#define __LINUX_IRQCHIP_ARM_GIC_COMMON_H
|
|
|
|
|
2021-02-27 13:23:45 +03:00
|
|
|
#include <linux/irqchip/arm-vgic-info.h>
|
2016-04-11 18:32:54 +03:00
|
|
|
|
2018-08-28 18:51:18 +03:00
|
|
|
#define GICD_INT_DEF_PRI 0xa0
|
|
|
|
#define GICD_INT_DEF_PRI_X4 ((GICD_INT_DEF_PRI << 24) |\
|
|
|
|
(GICD_INT_DEF_PRI << 16) |\
|
|
|
|
(GICD_INT_DEF_PRI << 8) |\
|
|
|
|
GICD_INT_DEF_PRI)
|
|
|
|
|
2019-06-10 13:52:01 +03:00
|
|
|
struct irq_domain;
|
|
|
|
struct fwnode_handle;
|
|
|
|
int gicv2m_init(struct fwnode_handle *parent_handle,
|
|
|
|
struct irq_domain *parent);
|
|
|
|
|
2016-04-11 18:32:54 +03:00
|
|
|
#endif /* __LINUX_IRQCHIP_ARM_GIC_COMMON_H */
|