24 #include <linux/types.h>
28 #define GT641XX_IRQ_TO_BIT(irq) (1U << (irq - GT641XX_IRQ_BASE))
32 static void ack_gt641xx_irq(
struct irq_data *
d)
44 static void mask_gt641xx_irq(
struct irq_data *
d)
56 static void mask_ack_gt641xx_irq(
struct irq_data *
d)
72 static void unmask_gt641xx_irq(
struct irq_data *
d)
84 static struct irq_chip gt641xx_irq_chip = {
86 .irq_ack = ack_gt641xx_irq,
87 .irq_mask = mask_gt641xx_irq,
88 .irq_mask_ack = mask_ack_gt641xx_irq,
89 .irq_unmask = unmask_gt641xx_irq,
106 for (i = 1; i < 30; i++) {
107 if (cause & (1
U << i)) {
128 for (i = 1; i < 30; i++)