Home
last modified time | relevance | path

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

/linux-6.6.21/arch/m68k/mac/
Dvia.c41 volatile __u8 *via1, *via2; variable
117 via2 = NULL; in via_init()
125 via2 = (void *)RBV_BASE; in via_init()
126 pr_debug("VIA2 (RBV) detected at %p\n", via2); in via_init()
146 via2 = (void *) VIA2_BASE; in via_init()
147 pr_debug("VIA2 detected at %p\n", via2); in via_init()
223 via2[gIER] = 0x7F; in via_init()
224 via2[gIFR] = 0x7F | rbv_clear; in via_init()
226 via2[vT1CL] = 0; in via_init()
227 via2[vT1CH] = 0; in via_init()
[all …]
Dmisc.c323 via2[rBufB] &= ~0x04; in via_shutdown()
326 via2[vDirB] |= 0x04; in via_shutdown()
328 via2[vBufB] &= ~0x04; in via_shutdown()
/linux-6.6.21/drivers/macintosh/
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-6.6.21/arch/m68k/include/asm/
Dmac_via.h255 extern volatile __u8 *via1,*via2;