Lines Matching refs:irq_nr
68 unsigned int irq_nr = d->irq - TXX9_IRQ_BASE; in txx9_irq_unmask() local
69 u32 __iomem *ilrp = &txx9_ircptr->ilr[(irq_nr % 16 ) / 2]; in txx9_irq_unmask()
70 int ofs = irq_nr / 16 * 16 + (irq_nr & 1) * 8; in txx9_irq_unmask()
73 | (txx9irq[irq_nr].level << ofs), in txx9_irq_unmask()
79 unsigned int irq_nr = d->irq - TXX9_IRQ_BASE; in txx9_irq_mask() local
80 u32 __iomem *ilrp = &txx9_ircptr->ilr[(irq_nr % 16) / 2]; in txx9_irq_mask()
81 int ofs = irq_nr / 16 * 16 + (irq_nr & 1) * 8; in txx9_irq_mask()
91 unsigned int irq_nr = d->irq - TXX9_IRQ_BASE; in txx9_irq_mask_ack() local
95 if (unlikely(TXx9_IRCR_EDGE(txx9irq[irq_nr].mode))) in txx9_irq_mask_ack()
96 __raw_writel(TXx9_IRSCR_EIClrE | irq_nr, &txx9_ircptr->scr); in txx9_irq_mask_ack()
101 unsigned int irq_nr = d->irq - TXX9_IRQ_BASE; in txx9_irq_set_type() local
117 crp = &txx9_ircptr->cr[(unsigned int)irq_nr / 8]; in txx9_irq_set_type()
119 ofs = (irq_nr & (8 - 1)) * 2; in txx9_irq_set_type()
123 txx9irq[irq_nr].mode = mode; in txx9_irq_set_type()