33 #include <linux/types.h>
42 #if JMR3927_IRQ_END > NR_IRQS
43 #error JMR3927_IRQ_END > NR_IRQS
50 static void mask_irq_ioc(
struct irq_data *
d)
55 unsigned int bit = 1 << irq_nr;
60 static void unmask_irq_ioc(
struct irq_data *d)
65 unsigned int bit = 1 << irq_nr;
71 static int jmr3927_ioc_irqroute(
void)
83 static int jmr3927_irq_dispatch(
int pending)
92 irq = jmr3927_ioc_irqroute();
96 static struct irq_chip jmr3927_irq_ioc = {
97 .name =
"jmr3927_ioc",
98 .irq_mask = mask_irq_ioc,
99 .irq_unmask = unmask_irq_ioc,
123 irq_set_chip_and_handler(i, &jmr3927_irq_ioc,