Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / include / linux / irqchip / metag-ext.h
blobd120496370b9735a13ad11d7b78d0e459b3b98af
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (C) 2012 Imagination Technologies
4 */
6 #ifndef _LINUX_IRQCHIP_METAG_EXT_H_
7 #define _LINUX_IRQCHIP_METAG_EXT_H_
9 struct irq_data;
10 struct platform_device;
12 /* called from core irq code at init */
13 int init_external_IRQ(void);
16 * called from SoC init_irq() callback to dynamically indicate the lack of
17 * HWMASKEXT registers.
19 void meta_intc_no_mask(void);
22 * These allow SoCs to specialise the interrupt controller from their init_irq
23 * callbacks.
26 extern struct irq_chip meta_intc_edge_chip;
27 extern struct irq_chip meta_intc_level_chip;
29 /* this should be called in the mask callback */
30 void meta_intc_mask_irq_simple(struct irq_data *data);
31 /* this should be called in the unmask callback */
32 void meta_intc_unmask_irq_simple(struct irq_data *data);
34 #endif /* _LINUX_IRQCHIP_METAG_EXT_H_ */