linux/include/linux/irqchip/metag-ext.h
<<
>>
Prefs
   1/*
   2 * Copyright (C) 2012 Imagination Technologies
   3 */
   4
   5#ifndef _LINUX_IRQCHIP_METAG_EXT_H_
   6#define _LINUX_IRQCHIP_METAG_EXT_H_
   7
   8struct irq_data;
   9struct platform_device;
  10
  11/* called from core irq code at init */
  12int init_external_IRQ(void);
  13
  14/*
  15 * called from SoC init_irq() callback to dynamically indicate the lack of
  16 * HWMASKEXT registers.
  17 */
  18void meta_intc_no_mask(void);
  19
  20/*
  21 * These allow SoCs to specialise the interrupt controller from their init_irq
  22 * callbacks.
  23 */
  24
  25extern struct irq_chip meta_intc_edge_chip;
  26extern struct irq_chip meta_intc_level_chip;
  27
  28/* this should be called in the mask callback */
  29void meta_intc_mask_irq_simple(struct irq_data *data);
  30/* this should be called in the unmask callback */
  31void meta_intc_unmask_irq_simple(struct irq_data *data);
  32
  33#endif /* _LINUX_IRQCHIP_METAG_EXT_H_ */
  34