Lines Matching refs:ST_MASK
62 #define ST_MASK 0x30 /* mask for selecting ADB state bits */ macro
168 last_status = via[B] & (ST_MASK | CTLR_IRQ); in macii_init_via()
345 via[B] = (via[B] & ~ST_MASK) | ST_CMD; in macii_start()
386 status = via[B] & (ST_MASK | CTLR_IRQ); in macii_interrupt()
413 via[B] = (via[B] & ~ST_MASK) | ST_EVEN; in macii_interrupt()
441 via[B] = (via[B] & ~ST_MASK) | ST_IDLE; in macii_interrupt()
446 if ((via[B] & ST_MASK) == ST_CMD) { in macii_interrupt()
448 via[B] = (via[B] & ~ST_MASK) | ST_EVEN; in macii_interrupt()
451 via[B] ^= ST_MASK; in macii_interrupt()
458 WARN_ON((status & ST_MASK) == ST_CMD || in macii_interrupt()
459 (status & ST_MASK) == ST_IDLE); in macii_interrupt()
494 via[B] ^= ST_MASK; in macii_interrupt()
523 via[B] = (via[B] & ~ST_MASK) | ST_IDLE; in macii_interrupt()