Home
last modified time | relevance | path

Searched refs:ST_MASK (Results 1 – 1 of 1) sorted by relevance

/drivers/macintosh/
Dvia-macii.c62 #define ST_MASK 0x30 /* mask for selecting ADB state bits */ macro
345 via[B] = (via[B] & ~ST_MASK) | ST_CMD; in macii_start()
390 status = via[B] & (ST_MASK | CTLR_IRQ); in macii_interrupt()
394 WARN_ON((status & ST_MASK) != ST_IDLE); in macii_interrupt()
418 via[B] = (via[B] & ~ST_MASK) | ST_EVEN; in macii_interrupt()
494 if ((via[B] & ST_MASK) == ST_CMD) { in macii_interrupt()
496 via[B] = (via[B] & ~ST_MASK) | ST_EVEN; in macii_interrupt()
499 via[B] ^= ST_MASK; in macii_interrupt()
505 WARN_ON((status & ST_MASK) == ST_CMD || in macii_interrupt()
506 (status & ST_MASK) == ST_IDLE); in macii_interrupt()
[all …]