15 #include <linux/kernel.h>
23 static inline void unmask_asic_irq(
struct irq_data *
d)
25 unsigned long enable_bit;
28 enable_bit = (1 << (irq & 0x1f));
48 static inline void mask_asic_irq(
struct irq_data *d)
50 unsigned long disable_mask;
51 unsigned int irq = d->
irq;
53 disable_mask = ~(1 << (irq & 0x1f));
73 static struct irq_chip asic_irq_chip = {
75 .irq_mask = mask_asic_irq,
76 .irq_unmask = unmask_asic_irq,