Lines Matching refs:irq_bit
385 unsigned char irq_bit, events; in via1_irq() local
392 irq_bit = VIA_TIMER_1_INT; in via1_irq()
393 if (events & irq_bit) { in via1_irq()
397 via1[vIFR] = irq_bit; in via1_irq()
401 events &= ~irq_bit; in via1_irq()
407 irq_bit = 1; in via1_irq()
409 if (events & irq_bit) { in via1_irq()
410 via1[vIFR] = irq_bit; in via1_irq()
414 irq_bit <<= 1; in via1_irq()
415 } while (events >= irq_bit); in via1_irq()
421 unsigned char irq_bit, events; in via2_irq() local
428 irq_bit = 1; in via2_irq()
430 if (events & irq_bit) { in via2_irq()
431 via2[gIFR] = irq_bit | rbv_clear; in via2_irq()
435 irq_bit <<= 1; in via2_irq()
436 } while (events >= irq_bit); in via2_irq()