Lines Matching refs:ST_MASK
57 #define ST_MASK 0x30 /* mask for selecting ADB state bits */ macro
172 last_status = via[B] & (ST_MASK|TREQ); in macii_init_via()
327 req, macii_state, (uint) via1[B] & (ST_MASK|TREQ)); in macii_start()
356 (uint) via[B] & (ST_MASK|TREQ)); in macii_start()
383 via[B] = (via[B] & ~ST_MASK) | ST_CMD; in macii_start()
433 status = via[B] & (ST_MASK|TREQ); in macii_interrupt()
441 via[B] = (via[B] & ~ST_MASK) | ST_EVEN; in macii_interrupt()
457 via[B] = (via[B] & ~ST_MASK) | ST_EVEN; in macii_interrupt()
481 via[B] = (via[B] & ~ST_MASK) | ST_IDLE; in macii_interrupt()
500 if ( (via[B] & ST_MASK) == ST_CMD ) { in macii_interrupt()
502 via[B] = (via[B] & ~ST_MASK) | ST_EVEN; in macii_interrupt()
505 via[B] ^= ST_MASK; in macii_interrupt()
538 via[B] ^= ST_MASK; in macii_interrupt()
579 via[B] ^= ST_MASK; in macii_interrupt()
588 if ((status & ST_MASK) == ST_IDLE) { in macii_interrupt()
590 via[B] = (via[B] & ~ST_MASK) | ST_EVEN; in macii_interrupt()
593 via[B] ^= ST_MASK; in macii_interrupt()
627 via[B] = (via[B] & ~ST_MASK) | ST_IDLE; in macii_interrupt()