Lines Matching refs:in_8

111 		out_8(&via[B], in_8(&via[B]) | TIP);  in assert_TIP()
113 out_8(&via[B], in_8(&via[B]) & ~TIP); in assert_TIP()
120 out_8(&via[B], in_8(&via[B]) | TIP | TACK); in assert_TIP_and_TACK()
122 out_8(&via[B], in_8(&via[B]) & ~(TIP | TACK)); in assert_TIP_and_TACK()
129 out_8(&via[B], in_8(&via[B]) | TACK); in assert_TACK()
131 out_8(&via[B], in_8(&via[B]) & ~TACK); in assert_TACK()
136 out_8(&via[B], in_8(&via[B]) ^ TACK); in toggle_TACK()
143 out_8(&via[B], in_8(&via[B]) & ~TACK); in negate_TACK()
145 out_8(&via[B], in_8(&via[B]) | TACK); in negate_TACK()
152 out_8(&via[B], in_8(&via[B]) & ~(TIP | TACK)); in negate_TIP_and_TACK()
154 out_8(&via[B], in_8(&via[B]) | TIP | TACK); in negate_TIP_and_TACK()
343 if (TREQ_asserted(in_8(&via[B]))) { in sync_egret()
349 (void)in_8(&via[SR]); in sync_egret()
351 if (!TREQ_asserted(in_8(&via[B]))) in sync_egret()
355 } else if (in_8(&via[B]) & TIP) { in sync_egret()
363 if (in_8(&via[IFR]) & SR_INT) in sync_egret()
364 (void)in_8(&via[SR]); in sync_egret()
385 (void)in_8(&via[IER]); in cuda_init_via()
390 out_8(&via[DIRB], (in_8(&via[DIRB]) | TACK | TIP) & ~TREQ); /* TACK & TIP out */ in cuda_init_via()
391 out_8(&via[ACR], (in_8(&via[ACR]) & ~SR_CTRL) | SR_EXT); /* SR data in */ in cuda_init_via()
392 (void)in_8(&via[SR]); /* clear any left-over data */ in cuda_init_via()
401 (void)in_8(&via[SR]); in cuda_init_via()
408 WAIT_FOR(TREQ_asserted(in_8(&via[B])), "CUDA response to sync"); in cuda_init_via()
411 WAIT_FOR(in_8(&via[IFR]) & SR_INT, "CUDA response to sync (2)"); in cuda_init_via()
412 (void)in_8(&via[SR]); in cuda_init_via()
419 WAIT_FOR(!TREQ_asserted(in_8(&via[B])), "CUDA response to sync (3)"); in cuda_init_via()
420 WAIT_FOR(in_8(&via[IFR]) & SR_INT, "CUDA response to sync (4)"); in cuda_init_via()
421 (void)in_8(&via[SR]); in cuda_init_via()
544 if (TREQ_asserted(in_8(&via[B]))) in cuda_start()
548 out_8(&via[ACR], in_8(&via[ACR]) | SR_OUT); in cuda_start()
589 if ((in_8(&via[IFR]) & SR_INT) == 0) { in cuda_interrupt()
597 status = in_8(&via[B]) & (TIP | TACK | TREQ); in cuda_interrupt()
602 (void)in_8(&via[SR]); in cuda_interrupt()
612 (void)in_8(&via[SR]); in cuda_interrupt()
622 out_8(&via[ACR], in_8(&via[ACR]) & ~SR_OUT); in cuda_interrupt()
623 (void)in_8(&via[SR]); in cuda_interrupt()
641 out_8(&via[ACR], in_8(&via[ACR]) & ~SR_OUT); in cuda_interrupt()
642 (void)in_8(&via[SR]); in cuda_interrupt()
666 (void)in_8(&via[SR]); in cuda_interrupt()
668 *reply_ptr++ = in_8(&via[SR]); in cuda_interrupt()
686 (void)in_8(&via[SR]); in cuda_interrupt()
719 if (cuda_state == idle && TREQ_asserted(in_8(&via[B]))) { in cuda_interrupt()