Contributors: 7
Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
Marc Zyngier |
82 |
49.10% |
2 |
25.00% |
Robert Richter |
43 |
25.75% |
1 |
12.50% |
Srinivas Kandagatla |
25 |
14.97% |
1 |
12.50% |
Julien Grall |
13 |
7.78% |
1 |
12.50% |
Thomas Gleixner |
2 |
1.20% |
1 |
12.50% |
Ard Biesheuvel |
1 |
0.60% |
1 |
12.50% |
Liviu Dudau |
1 |
0.60% |
1 |
12.50% |
Total |
167 |
|
8 |
|
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (C) 2002 ARM Limited, All Rights Reserved.
*/
#ifndef _IRQ_GIC_COMMON_H
#define _IRQ_GIC_COMMON_H
#include <linux/of.h>
#include <linux/irqdomain.h>
#include <linux/irqchip/arm-gic-common.h>
struct gic_quirk {
const char *desc;
const char *compatible;
bool (*init)(void *data);
u32 iidr;
u32 mask;
};
int gic_configure_irq(unsigned int irq, unsigned int type,
void __iomem *base, void (*sync_access)(void));
void gic_dist_config(void __iomem *base, int gic_irqs,
void (*sync_access)(void));
void gic_cpu_config(void __iomem *base, int nr, void (*sync_access)(void));
void gic_enable_quirks(u32 iidr, const struct gic_quirk *quirks,
void *data);
void gic_enable_of_quirks(const struct device_node *np,
const struct gic_quirk *quirks, void *data);
void gic_set_kvm_info(const struct gic_kvm_info *info);
#endif /* _IRQ_GIC_COMMON_H */