Lines Matching refs:lpc32xx_events
76 static const struct lpc32xx_event_info lpc32xx_events[NR_IRQS] = { variable
231 if (lpc32xx_events[d->irq].mask != 0) in lpc32xx_ack_irq()
232 __raw_writel(lpc32xx_events[d->irq].mask, in lpc32xx_ack_irq()
233 lpc32xx_events[d->irq].event_group->rawstat_reg); in lpc32xx_ack_irq()
260 if (lpc32xx_events[irq].mask != 0) { in __lpc32xx_set_irq_type()
261 reg = __raw_readl(lpc32xx_events[irq].event_group->edge_reg); in __lpc32xx_set_irq_type()
264 reg |= lpc32xx_events[irq].mask; in __lpc32xx_set_irq_type()
266 reg &= ~lpc32xx_events[irq].mask; in __lpc32xx_set_irq_type()
268 __raw_writel(reg, lpc32xx_events[irq].event_group->edge_reg); in __lpc32xx_set_irq_type()
310 if (lpc32xx_events[d->irq].mask != 0) { in lpc32xx_irq_wake()
311 eventreg = __raw_readl(lpc32xx_events[d->irq]. in lpc32xx_irq_wake()
315 eventreg |= lpc32xx_events[d->irq].mask; in lpc32xx_irq_wake()
317 eventreg &= ~lpc32xx_events[d->irq].mask; in lpc32xx_irq_wake()
323 __raw_writel(lpc32xx_events[d->irq].mask, in lpc32xx_irq_wake()
324 lpc32xx_events[d->irq]. in lpc32xx_irq_wake()
329 lpc32xx_events[d->irq].event_group->enab_reg); in lpc32xx_irq_wake()
335 __raw_writel(lpc32xx_events[d->irq].mask, in lpc32xx_irq_wake()
336 lpc32xx_events[d->irq].event_group->rawstat_reg); in lpc32xx_irq_wake()