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()
84 unsigned int irq_nr = d->irq - TXX9_IRQ_BASE; in txx9_irq_mask() local
85 u32 __iomem *ilrp = &txx9_ircptr->ilr[(irq_nr % 16) / 2]; in txx9_irq_mask()
86 int ofs = irq_nr / 16 * 16 + (irq_nr & 1) * 8; in txx9_irq_mask()
104 unsigned int irq_nr = d->irq - TXX9_IRQ_BASE; in txx9_irq_mask_ack() local
108 if (unlikely(TXx9_IRCR_EDGE(txx9irq[irq_nr].mode))) in txx9_irq_mask_ack()
109 __raw_writel(TXx9_IRSCR_EIClrE | irq_nr, &txx9_ircptr->scr); in txx9_irq_mask_ack()
114 unsigned int irq_nr = d->irq - TXX9_IRQ_BASE; in txx9_irq_set_type() local
130 crp = &txx9_ircptr->cr[(unsigned int)irq_nr / 8]; in txx9_irq_set_type()
132 ofs = (irq_nr & (8 - 1)) * 2; in txx9_irq_set_type()
136 txx9irq[irq_nr].mode = mode; in txx9_irq_set_type()