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.c55 #define TREQ 0x08 /* Transfer request (input) */ macro
259 out_8(&via[DIRB], (in_8(&via[DIRB]) | TACK | TIP) & ~TREQ); /* TACK & TIP out */ in cuda_init_via()
279 WAIT_FOR((in_8(&via[B]) & TREQ) == 0, "CUDA response to sync"); in cuda_init_via()
290 WAIT_FOR(in_8(&via[B]) & TREQ, "CUDA response to sync (3)"); in cuda_init_via()
417 if ((in_8(&via[B]) & TREQ) == 0) in cuda_start()
467 status = (~in_8(&via[B]) & (TIP|TREQ)) | (in_8(&via[ACR]) & SR_OUT); in cuda_interrupt()
472 if (status != TREQ) in cuda_interrupt()
483 if (status != TREQ) in cuda_interrupt()
493 if (status == TREQ + TIP + SR_OUT) { in cuda_interrupt()
540 if (status != TIP + TREQ) in cuda_interrupt()
[all …]
Dvia-pmu68k.c69 #define TREQ 0x04 /* Transfer request (output) */ macro
196 via2[B] |= TREQ; /* negate TREQ */ in pmu_init()
197 via2[DIRB] = (via2[DIRB] | TREQ) & ~TACK; /* TACK in, TREQ out */ in pmu_init()
515 via2[B] &= ~TREQ; /* assert TREQ */ in send_byte()
525 via2[B] &= ~TREQ; in recv_byte()
592 via2[B] |= TREQ; in pmu_interrupt()
Dvia-pmu.c97 #define TREQ 0x10 /* Transfer request (output) */ macro
531 out_8(&via[B], via[B] | TREQ); /* negate TREQ */ in init_pmu()
532 out_8(&via[DIRB], (via[DIRB] | TREQ) & ~TACK); /* TACK in, TREQ out */ in init_pmu()
1156 out_8(&v[B], in_8(&v[B]) & ~TREQ); /* assert TREQ */ in send_byte()
1167 out_8(&v[B], in_8(&v[B]) & ~TREQ); in recv_byte()
1420 if (via[B] & TREQ) { in pmu_sr_intr()
1434 out_8(&via[B], in_8(&via[B]) | TREQ); in pmu_sr_intr()
2340 via[B] &= ~TREQ; eieio(); in polled_handshake()
2343 via[B] |= TREQ; eieio(); in polled_handshake()