Lines Matching refs:events
385 unsigned char irq_bit, events; in via1_irq() local
387 events = via1[vIFR] & via1[vIER] & 0x7F; in via1_irq()
388 if (!events) in via1_irq()
393 if (events & irq_bit) { in via1_irq()
401 events &= ~irq_bit; in via1_irq()
402 if (!events) in via1_irq()
409 if (events & irq_bit) { in via1_irq()
415 } while (events >= irq_bit); in via1_irq()
421 unsigned char irq_bit, events; in via2_irq() local
423 events = via2[gIFR] & via2[gIER] & 0x7F; in via2_irq()
424 if (!events) in via2_irq()
430 if (events & irq_bit) { in via2_irq()
436 } while (events >= irq_bit); in via2_irq()
447 unsigned char slot_bit, events; in via_nubus_irq() local
449 events = ~via2[gBufA] & 0x7F; in via_nubus_irq()
451 events &= via2[rSIER]; in via_nubus_irq()
453 events &= ~via2[vDirA]; in via_nubus_irq()
454 if (!events) in via_nubus_irq()
461 if (events & slot_bit) { in via_nubus_irq()
462 events &= ~slot_bit; in via_nubus_irq()
467 } while (events); in via_nubus_irq()
471 events = ~via2[gBufA] & 0x7F; in via_nubus_irq()
473 events &= via2[rSIER]; in via_nubus_irq()
475 events &= ~via2[vDirA]; in via_nubus_irq()
476 } while (events); in via_nubus_irq()