Lines Matching refs:irq
46 unsigned int irq = data->irq; in q40_irq_startup() local
49 switch (irq) { in q40_irq_startup()
53 irq); in q40_irq_startup()
131 static irqreturn_t q40_timer_int(int irq, void *dev_id) in q40_timer_int() argument
172 struct IRQ_TABLE{ unsigned mask; int irq ;}; member
180 { .mask = Q40_IRQ3_MASK, .irq = 3 }, /* ser 1 */
181 { .mask = Q40_IRQ4_MASK, .irq = 4 }, /* ser 2 */
182 { .mask = Q40_IRQ14_MASK, .irq = 14 }, /* IDE 1 */
183 { .mask = Q40_IRQ15_MASK, .irq = 15 }, /* IDE 2 */
184 { .mask = Q40_IRQ6_MASK, .irq = 6 }, /* floppy, handled elsewhere */
185 { .mask = Q40_IRQ7_MASK, .irq = 7 }, /* par */
186 { .mask = Q40_IRQ5_MASK, .irq = 5 },
187 { .mask = Q40_IRQ10_MASK, .irq = 10 },
209 static void q40_irq_handler(unsigned int irq, struct pt_regs *fp) in q40_irq_handler() argument
223 switch (irq) { in q40_irq_handler()
237 irq = eirqs[i].irq; in q40_irq_handler()
244 if (irq > 4 && irq <= 15 && mext_disabled) { in q40_irq_handler()
248 if (q40_state[irq] & IRQ_INPROGRESS) { in q40_irq_handler()
254 disable_irq(irq); in q40_irq_handler()
264 q40_state[irq] |= IRQ_INPROGRESS; in q40_irq_handler()
265 do_IRQ(irq, fp); in q40_irq_handler()
266 q40_state[irq] &= ~IRQ_INPROGRESS; in q40_irq_handler()
274 if (irq > 4) { in q40_irq_handler()
276 enable_irq(irq); in q40_irq_handler()
304 unsigned int irq = data->irq; in q40_irq_enable() local
306 if (irq >= 5 && irq <= 15) { in q40_irq_enable()
318 unsigned int irq = data->irq; in q40_irq_disable() local
325 if (irq >= 5 && irq <= 15) { in q40_irq_disable()