2 * Copyright (C) 2012 Imagination Technologies
5 #ifndef _LINUX_IRQCHIP_METAG_EXT_H_
6 #define _LINUX_IRQCHIP_METAG_EXT_H_
9 struct platform_device
;
11 /* called from core irq code at init */
12 int init_external_IRQ(void);
15 * called from SoC init_irq() callback to dynamically indicate the lack of
16 * HWMASKEXT registers.
18 void meta_intc_no_mask(void);
21 * These allow SoCs to specialise the interrupt controller from their init_irq
25 extern struct irq_chip meta_intc_edge_chip
;
26 extern struct irq_chip meta_intc_level_chip
;
28 /* this should be called in the mask callback */
29 void meta_intc_mask_irq_simple(struct irq_data
*data
);
30 /* this should be called in the unmask callback */
31 void meta_intc_unmask_irq_simple(struct irq_data
*data
);
33 #endif /* _LINUX_IRQCHIP_METAG_EXT_H_ */