Home
last modified time | relevance | path

Searched refs:via1 (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/arch/m68k/mac/
Dvia.c41 volatile __u8 *via1, *via2; variable
113 via1 = (void *)VIA1_BASE; in via_init()
114 pr_debug("VIA1 detected at %p\n", via1); in via_init()
170 via1[vIER] = 0x7F; in via_init()
171 via1[vIFR] = 0x7F; in via_init()
172 via1[vT1CL] = 0; in via_init()
173 via1[vT1CH] = 0; in via_init()
174 via1[vT2CL] = 0; in via_init()
175 via1[vT2CH] = 0; in via_init()
176 via1[vACR] &= ~0xC0; /* setup T1 timer with no PB7 output */ in via_init()
[all …]
Dmisc.c101 reg = via1[vBufB] & ~VIA1B_vRTCClk; in via_rtc_recv()
105 via1[vDirB] &= ~VIA1B_vRTCData; in via_rtc_recv()
111 via1[vBufB] = reg; in via_rtc_recv()
112 via1[vBufB] = reg | VIA1B_vRTCClk; in via_rtc_recv()
113 data = (data << 1) | (via1[vBufB] & VIA1B_vRTCData); in via_rtc_recv()
118 via1[vDirB] |= VIA1B_vRTCData; in via_rtc_recv()
127 reg = via1[vBufB] & ~(VIA1B_vRTCClk | VIA1B_vRTCData); in via_rtc_send()
134 via1[vBufB] = reg | bit; in via_rtc_send()
135 via1[vBufB] = reg | bit | VIA1B_vRTCClk; in via_rtc_send()
186 via1[vBufB] = (via1[vBufB] | VIA1B_vRTCClk) & ~VIA1B_vRTCEnb; in via_rtc_command()
[all …]
/linux-6.6.21/drivers/macintosh/
Dvia-pmu.c154 static volatile unsigned char __iomem *via1; variable
348 via1 = via2 = ioremap(taddr, 0x2000); in find_via_pmu()
349 if (via1 == NULL) { in find_via_pmu()
354 out_8(&via1[IER], IER_CLR | 0x7f); /* disable all intrs */ in find_via_pmu()
355 out_8(&via1[IFR], 0x7f); /* clear IFR */ in find_via_pmu()
367 iounmap(via1); in find_via_pmu()
368 via1 = via2 = NULL; in find_via_pmu()
465 out_8(&via1[IER], IER_SET | SR_INT | CB1_INT); in via_pmu_start()
1201 out_8(&via1[ACR], in_8(&via1[ACR]) | SR_OUT | SR_EXT); in send_byte()
1202 out_8(&via1[SR], x); in send_byte()
[all …]
Dvia-macii.c134 via = via1; in macii_probe()
Dvia-cuda.c216 via = via1; in find_via_cuda()
/linux-6.6.21/arch/m68k/include/asm/
Dmac_via.h255 extern volatile __u8 *via1,*via2;