Home
last modified time | relevance | path

Searched refs:TREQ (Results 1 – 4 of 4) sorted by relevance

/drivers/macintosh/
Dvia-maciisi.c43 #define TREQ 0x08 /* Transfer request (input) */ macro
139 int status = via[B] & (TIP|TREQ); in maciisi_stfu()
141 if (status & TREQ) { in maciisi_stfu()
154 status = via[B] & (TIP|TREQ); in maciisi_stfu()
156 if (!(status & TREQ)) in maciisi_stfu()
165 status = via[B] & (TIP|TREQ); in maciisi_stfu()
172 if(via[B] & TREQ) in maciisi_stfu()
196 via[DIRB] = (via[DIRB] | TACK | TIP) & ~TREQ; in maciisi_init_via()
200 printk(KERN_DEBUG "maciisi_init_via: initial status %x\n", via[B] & (TIP|TREQ)); in maciisi_init_via()
215 if(via[B] & TREQ) in maciisi_init_via()
[all …]
Dvia-cuda.c54 #define TREQ 0x08 /* Transfer request (input) */ macro
264 out_8(&via[DIRB], (in_8(&via[DIRB]) | TACK | TIP) & ~TREQ); /* TACK & TIP out */ in cuda_init_via()
284 WAIT_FOR((in_8(&via[B]) & TREQ) == 0, "CUDA response to sync"); in cuda_init_via()
295 WAIT_FOR(in_8(&via[B]) & TREQ, "CUDA response to sync (3)"); in cuda_init_via()
423 if ((in_8(&via[B]) & TREQ) == 0) in cuda_start()
476 status = (~in_8(&via[B]) & (TIP|TREQ)) | (in_8(&via[ACR]) & SR_OUT); in cuda_interrupt()
481 if (status != TREQ) in cuda_interrupt()
492 if (status != TREQ) in cuda_interrupt()
502 if (status == TREQ + TIP + SR_OUT) { in cuda_interrupt()
549 if (status != TIP + TREQ) in cuda_interrupt()
[all …]
Dvia-pmu68k.c67 #define TREQ 0x04 /* Transfer request (output) */ macro
194 via2[B] |= TREQ; /* negate TREQ */ in pmu_init()
195 via2[DIRB] = (via2[DIRB] | TREQ) & ~TACK; /* TACK in, TREQ out */ in pmu_init()
513 via2[B] &= ~TREQ; /* assert TREQ */ in send_byte()
523 via2[B] &= ~TREQ; in recv_byte()
590 via2[B] |= TREQ; in pmu_interrupt()
Dvia-pmu.c101 #define TREQ 0x10 /* Transfer request (output) */ macro
534 out_8(&via[B], in_8(&via[B]) | TREQ); in init_pmu()
535 out_8(&via[DIRB], (in_8(&via[DIRB]) | TREQ) & ~TACK); in init_pmu()
1193 out_8(&v[B], in_8(&v[B]) & ~TREQ); /* assert TREQ */ in send_byte()
1204 out_8(&v[B], in_8(&v[B]) & ~TREQ); in recv_byte()
1457 if (in_8(&via[B]) & TREQ) { in pmu_sr_intr()
1471 out_8(&via[B], in_8(&via[B]) | TREQ); in pmu_sr_intr()
2430 via[B] &= ~TREQ; eieio(); in polled_handshake()
2433 via[B] |= TREQ; eieio(); in polled_handshake()