Home
last modified time | relevance | path

Searched refs:SR_INT (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/drivers/macintosh/
Dvia-cuda.c67 #define SR_INT 0x04 /* Shift register full/empty */ macro
188 out_8(&via[IER], IER_SET|SR_INT); /* enable interrupt from SR */ in find_via_cuda()
273 out_8(&via[IER], SR_INT); /* disable SR interrupt from VIA */ in cuda_init_via()
279 out_8(&via[IFR], SR_INT); in cuda_init_via()
288 WAIT_FOR(in_8(&via[IFR]) & SR_INT, "CUDA response to sync (2)"); in cuda_init_via()
290 out_8(&via[IFR], SR_INT); in cuda_init_via()
297 WAIT_FOR(in_8(&via[IFR]) & SR_INT, "CUDA response to sync (4)"); in cuda_init_via()
299 out_8(&via[IFR], SR_INT); in cuda_init_via()
467 if ((in_8(&via[IFR]) & SR_INT) == 0) { in cuda_interrupt()
471 out_8(&via[IFR], SR_INT); in cuda_interrupt()
Dvia-maciisi.c56 #define SR_INT 0x04 /* Shift register full/empty */ macro
150 via[IER] = IER_CLR | SR_INT; in maciisi_stfu()
164 while (!(via[IFR] & SR_INT) && poll_timeout-- > 0) in maciisi_stfu()
186 via[IER] = IER_SET | SR_INT; in maciisi_stfu()
205 via[IER] = IER_SET | SR_INT; in maciisi_init_via()
209 via[IFR] = SR_INT; in maciisi_init_via()
421 if (via[IFR] & SR_INT) { in maciisi_poll()
451 if (!(via[IFR] & SR_INT)) { in maciisi_interrupt()
Dvia-macii.c72 #define SR_INT 0x04 /* Shift register full/empty */ macro
395 if (via[IFR] & SR_INT) in macii_interrupt()
396 via[IFR] = SR_INT; in macii_interrupt()
Dvia-pmu68k.c76 #define SR_INT 0x04 /* Shift register full/empty */ macro
558 if (via1[IFR] & SR_INT) { in pmu_poll()
559 via1[IFR] = SR_INT; in pmu_poll()
Dvia-pmu.c110 #define SR_INT 0x04 /* Shift register full/empty */ macro
434 out_8(&via[IER], IER_SET | SR_INT | CB1_INT); in via_pmu_start()
1453 out_8(&via[IFR], SR_INT); in pmu_sr_intr()
1566 intr = in_8(&via[IFR]) & (SR_INT | CB1_INT); in via_pmu_interrupt()
1581 if (intr & SR_INT) { in via_pmu_interrupt()
1780 out_8(&via[IER], IER_SET | SR_INT | CB1_INT); in restore_via_state()