Lines Matching refs:irq_nr

55 	unsigned int irq_nr = d->irq - TXX9_IRQ_BASE;  in tx4939_irq_unmask()  local
58 if (irq_nr < 32) { in tx4939_irq_unmask()
59 irq_nr--; in tx4939_irq_unmask()
60 lvlp = &tx4939_ircptr->lvl[(irq_nr % 16) / 2].r; in tx4939_irq_unmask()
62 irq_nr -= 32; in tx4939_irq_unmask()
63 lvlp = &tx4939_ircptr->lvl[8 + (irq_nr % 16) / 2].r; in tx4939_irq_unmask()
65 ofs = (irq_nr & 16) + (irq_nr & 1) * 8; in tx4939_irq_unmask()
67 | (tx4939irq[irq_nr].level << ofs), in tx4939_irq_unmask()
73 unsigned int irq_nr = d->irq - TXX9_IRQ_BASE; in tx4939_irq_mask() local
76 if (irq_nr < 32) { in tx4939_irq_mask()
77 irq_nr--; in tx4939_irq_mask()
78 lvlp = &tx4939_ircptr->lvl[(irq_nr % 16) / 2].r; in tx4939_irq_mask()
80 irq_nr -= 32; in tx4939_irq_mask()
81 lvlp = &tx4939_ircptr->lvl[8 + (irq_nr % 16) / 2].r; in tx4939_irq_mask()
83 ofs = (irq_nr & 16) + (irq_nr & 1) * 8; in tx4939_irq_mask()
92 unsigned int irq_nr = d->irq - TXX9_IRQ_BASE; in tx4939_irq_mask_ack() local
95 if (TXx9_IRCR_EDGE(tx4939irq[irq_nr].mode)) { in tx4939_irq_mask_ack()
96 irq_nr--; in tx4939_irq_mask_ack()
98 __raw_writel((TXx9_IRSCR_EIClrE | (irq_nr & 0xf)) in tx4939_irq_mask_ack()
99 << (irq_nr & 0x10), in tx4939_irq_mask_ack()
106 unsigned int irq_nr = d->irq - TXX9_IRQ_BASE; in tx4939_irq_set_type() local
130 if (irq_nr < 32) { in tx4939_irq_set_type()
131 irq_nr--; in tx4939_irq_set_type()
132 crp = &tx4939_ircptr->dm[(irq_nr & 8) >> 3].r; in tx4939_irq_set_type()
134 irq_nr -= 32; in tx4939_irq_set_type()
135 crp = &tx4939_ircptr->dm2[((irq_nr & 8) >> 3)].r; in tx4939_irq_set_type()
137 ofs = (((irq_nr & 16) >> 1) | (irq_nr & (8 - 1))) * 2; in tx4939_irq_set_type()
142 tx4939irq[irq_nr].mode = mode; in tx4939_irq_set_type()