/* Clear interrupt */ static void meson_ack_irq(unsigned int irq) { unsigned int mask; if (irq >= NR_IRQS) return; mask = 1 << IRQ_BIT(irq); WRITE_CBUS_REG(IRQ_CLR_REG(irq), mask); dsb(); }
/* Clear interrupt */ static void m2_ack_irq(struct irq_data *data) { unsigned int mask; unsigned int irq; irq = data->irq; if (irq >= NR_IRQS) return; mask = 1 << IRQ_BIT(irq); WRITE_CBUS_REG(IRQ_CLR_REG(irq), mask); dsb(); }