Lines Matching refs:lpc32xx_events
76 static const struct lpc32xx_event_info lpc32xx_events[NR_IRQS] = { variable
223 if (lpc32xx_events[d->irq].mask != 0) in lpc32xx_ack_irq()
224 __raw_writel(lpc32xx_events[d->irq].mask, in lpc32xx_ack_irq()
225 lpc32xx_events[d->irq].event_group->rawstat_reg); in lpc32xx_ack_irq()
252 if (lpc32xx_events[irq].mask != 0) { in __lpc32xx_set_irq_type()
253 reg = __raw_readl(lpc32xx_events[irq].event_group->edge_reg); in __lpc32xx_set_irq_type()
256 reg |= lpc32xx_events[irq].mask; in __lpc32xx_set_irq_type()
258 reg &= ~lpc32xx_events[irq].mask; in __lpc32xx_set_irq_type()
260 __raw_writel(reg, lpc32xx_events[irq].event_group->edge_reg); in __lpc32xx_set_irq_type()
302 if (lpc32xx_events[d->irq].mask != 0) { in lpc32xx_irq_wake()
303 eventreg = __raw_readl(lpc32xx_events[d->irq]. in lpc32xx_irq_wake()
307 eventreg |= lpc32xx_events[d->irq].mask; in lpc32xx_irq_wake()
309 eventreg &= ~lpc32xx_events[d->irq].mask; in lpc32xx_irq_wake()
312 lpc32xx_events[d->irq].event_group->enab_reg); in lpc32xx_irq_wake()
318 __raw_writel(lpc32xx_events[d->irq].mask, in lpc32xx_irq_wake()
319 lpc32xx_events[d->irq].event_group->rawstat_reg); in lpc32xx_irq_wake()