Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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[vT1LL] = 0; in via_init()
173 via1[vT1LH] = 0; in via_init()
174 via1[vT1CL] = 0; in via_init()
175 via1[vT1CH] = 0; in via_init()
176 via1[vT2CL] = 0; in via_init()
[all …]
Dmisc.c102 reg = via1[vBufB] & ~VIA1B_vRTCClk; in via_rtc_recv()
106 via1[vDirB] &= ~VIA1B_vRTCData; in via_rtc_recv()
112 via1[vBufB] = reg; in via_rtc_recv()
113 via1[vBufB] = reg | VIA1B_vRTCClk; in via_rtc_recv()
114 data = (data << 1) | (via1[vBufB] & VIA1B_vRTCData); in via_rtc_recv()
119 via1[vDirB] |= VIA1B_vRTCData; in via_rtc_recv()
128 reg = via1[vBufB] & ~(VIA1B_vRTCClk | VIA1B_vRTCData); in via_rtc_send()
135 via1[vBufB] = reg | bit; in via_rtc_send()
136 via1[vBufB] = reg | bit | VIA1B_vRTCClk; in via_rtc_send()
187 via1[vBufB] = (via1[vBufB] | VIA1B_vRTCClk) & ~VIA1B_vRTCEnb; in via_rtc_command()
[all …]
/kernel/linux/linux-5.10/drivers/macintosh/
Dvia-pmu.c155 static volatile unsigned char __iomem *via1; variable
357 via1 = via2 = ioremap(taddr, 0x2000); in find_via_pmu()
358 if (via1 == NULL) { in find_via_pmu()
363 out_8(&via1[IER], IER_CLR | 0x7f); /* disable all intrs */ in find_via_pmu()
364 out_8(&via1[IFR], 0x7f); /* clear IFR */ in find_via_pmu()
376 iounmap(via1); in find_via_pmu()
377 via1 = via2 = NULL; in find_via_pmu()
476 out_8(&via1[IER], IER_SET | SR_INT | CB1_INT); in via_pmu_start()
1210 out_8(&via1[ACR], in_8(&via1[ACR]) | SR_OUT | SR_EXT); in send_byte()
1211 out_8(&via1[SR], x); in send_byte()
[all …]
Dvia-macii.c136 via = via1; in macii_probe()
Dvia-cuda.c213 via = via1; in find_via_cuda()
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dmac_via.h255 extern volatile __u8 *via1,*via2;