Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/macintosh/
Dvia-macii.c62 #define ST_MASK 0x30 /* mask for selecting ADB state bits */ macro
182 last_status = via[B] & (ST_MASK|CTLR_IRQ); in macii_init_via()
365 via[B] = (via[B] & ~ST_MASK) | ST_CMD; in macii_start()
404 status = via[B] & (ST_MASK|CTLR_IRQ); in macii_interrupt()
431 via[B] = (via[B] & ~ST_MASK) | ST_EVEN; in macii_interrupt()
459 via[B] = (via[B] & ~ST_MASK) | ST_IDLE; in macii_interrupt()
464 if ( (via[B] & ST_MASK) == ST_CMD ) { in macii_interrupt()
466 via[B] = (via[B] & ~ST_MASK) | ST_EVEN; in macii_interrupt()
469 via[B] ^= ST_MASK; in macii_interrupt()
476 BUG_ON((status & ST_MASK) == ST_CMD || in macii_interrupt()
[all …]