Home
last modified time | relevance | path

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

/linux/arch/m68k/mac/
H A Dvia.c43 volatile __u8 *via1, *via2; variable
119 via2 = NULL; in via_init()
127 via2 = (void *)RBV_BASE; in via_init()
128 pr_debug("VIA2 (RBV) detected at %p\n", via2); in via_init()
148 via2 = (void *) VIA2_BASE; in via_init()
149 pr_debug("VIA2 detected at %p\n", via2); in via_init()
225 via2[gIER] = 0x7F; in via_init()
226 via2[gIFR] = 0x7F | rbv_clear; in via_init()
228 via2[vT1CL] = 0; in via_init()
229 via2[vT1CH] = 0; in via_init()
[all …]
H A Dmisc.c325 via2[rBufB] &= ~0x04; in via_shutdown()
328 via2[vDirB] |= 0x04; in via_shutdown()
330 via2[vBufB] &= ~0x04; in via_shutdown()
/linux/drivers/macintosh/
H A Dvia-pmu.c155 static volatile unsigned char __iomem *via2; variable
348 via1 = via2 = ioremap(taddr, 0x2000); in find_via_pmu()
368 via1 = via2 = NULL; in find_via_pmu()
576 out_8(&via2[B], in_8(&via2[B]) | TREQ); in init_pmu()
577 out_8(&via2[DIRB], (in_8(&via2[DIRB]) | TREQ) & ~TACK); in init_pmu()
1187 while ((in_8(&via2[B]) & TACK) == 0) { in wait_for_ack()
1203 out_8(&via2[B], in_8(&via2[B]) & ~TREQ); /* assert TREQ */ in send_byte()
1204 (void)in_8(&via2[B]); in send_byte()
1212 out_8(&via2[B], in_8(&via2[B]) & ~TREQ); in recv_byte()
1213 (void)in_8(&via2[B]); in recv_byte()
[all …]
/linux/arch/m68k/include/asm/
H A Dmac_via.h255 extern volatile __u8 *via1,*via2;