Home
last modified time | relevance | path

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

/drivers/macintosh/
Dvia-macii.c61 #define ST_MASK 0x30 /* mask for selecting ADB state bits */ macro
181 last_status = via[B] & (ST_MASK|CTLR_IRQ); in macii_init_via()
364 via[B] = (via[B] & ~ST_MASK) | ST_CMD; in macii_start()
403 status = via[B] & (ST_MASK|CTLR_IRQ); in macii_interrupt()
430 via[B] = (via[B] & ~ST_MASK) | ST_EVEN; in macii_interrupt()
458 via[B] = (via[B] & ~ST_MASK) | ST_IDLE; in macii_interrupt()
463 if ( (via[B] & ST_MASK) == ST_CMD ) { in macii_interrupt()
465 via[B] = (via[B] & ~ST_MASK) | ST_EVEN; in macii_interrupt()
468 via[B] ^= ST_MASK; in macii_interrupt()
475 BUG_ON((status & ST_MASK) == ST_CMD || in macii_interrupt()
[all …]
Dvia-maciisi.c46 #define ST_MASK 0x30 /* mask for selecting ADB state bits */ macro