Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/macintosh/
Dvia-cuda.c87 #define SR_INT 0x04 /* Shift register full/empty */ macro
278 out_8(&via[IER], IER_SET|SR_INT); /* enable interrupt from SR */ in find_via_cuda()
363 if (in_8(&via[IFR]) & SR_INT) in sync_egret()
387 out_8(&via[IER], SR_INT); /* disable SR interrupt from VIA */ in cuda_init_via()
402 out_8(&via[IFR], SR_INT); in cuda_init_via()
411 WAIT_FOR(in_8(&via[IFR]) & SR_INT, "CUDA response to sync (2)"); in cuda_init_via()
413 out_8(&via[IFR], SR_INT); in cuda_init_via()
420 WAIT_FOR(in_8(&via[IFR]) & SR_INT, "CUDA response to sync (4)"); in cuda_init_via()
422 out_8(&via[IFR], SR_INT); in cuda_init_via()
589 if ((in_8(&via[IFR]) & SR_INT) == 0) { in cuda_interrupt()
[all …]
Dvia-macii.c70 #define SR_INT 0x04 /* Shift register full/empty */ macro
380 if (via[IFR] & SR_INT) in macii_interrupt()
381 via[IFR] = SR_INT; in macii_interrupt()
Dvia-pmu.c118 #define SR_INT 0x04 /* Shift register full/empty */ macro
470 out_8(&via1[IER], IER_SET | SR_INT | CB1_INT); in via_pmu_start()
1595 intr = in_8(&via1[IFR]) & (SR_INT | CB1_INT); in via_pmu_interrupt()
1604 intr = SR_INT; in via_pmu_interrupt()
1621 if (intr & SR_INT) { in via_pmu_interrupt()
1857 out_8(&via1[IER], IER_SET | SR_INT | CB1_INT); in restore_via_state()