Lines Matching refs:TREQ
55 #define TREQ 0x08 /* Transfer request (input) */
265 out_8(&via[DIRB], (in_8(&via[DIRB]) | TACK | TIP) & ~TREQ); /* TACK & TIP out */
284 /* wait for the CUDA to assert TREQ in response */
285 WAIT_FOR((in_8(&via[B]) & TREQ) == 0, "CUDA response to sync");
295 /* wait for the CUDA to negate TREQ and the corresponding interrupt */
296 WAIT_FOR(in_8(&via[B]) & TREQ, "CUDA response to sync (3)");
423 if ((in_8(&via[B]) & TREQ) == 0)
475 status = (~in_8(&via[B]) & (TIP|TREQ)) | (in_8(&via[ACR]) & SR_OUT);
480 if (status != TREQ)
491 if (status != TREQ)
501 if (status == TREQ + TIP + SR_OUT) {
547 /* assert status == TIP | TREQ */
548 if (status != TIP + TREQ)
583 if (status == TREQ) {