Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/macintosh/
Dvia-macii.c60 #define ST_MASK 0x30 /* mask for selecting ADB state bits */ macro
343 via[B] = (via[B] & ~ST_MASK) | ST_CMD; in macii_start()
388 status = via[B] & (ST_MASK | CTLR_IRQ); in macii_interrupt()
392 WARN_ON((status & ST_MASK) != ST_IDLE); in macii_interrupt()
416 via[B] = (via[B] & ~ST_MASK) | ST_EVEN; in macii_interrupt()
492 if ((via[B] & ST_MASK) == ST_CMD) { in macii_interrupt()
494 via[B] = (via[B] & ~ST_MASK) | ST_EVEN; in macii_interrupt()
497 via[B] ^= ST_MASK; in macii_interrupt()
503 WARN_ON((status & ST_MASK) == ST_CMD || in macii_interrupt()
504 (status & ST_MASK) == ST_IDLE); in macii_interrupt()
[all …]