Home
last modified time | relevance | path

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

/Linux-v4.19/arch/m68k/mac/
Dvia.c40 volatile __u8 *via1, *via2; variable
122 via1 = (void *)VIA1_BASE; in via_init()
123 pr_debug("VIA1 detected at %p\n", via1); in via_init()
179 via1[vIER] = 0x7F; in via_init()
180 via1[vIFR] = 0x7F; in via_init()
181 via1[vT1LL] = 0; in via_init()
182 via1[vT1LH] = 0; in via_init()
183 via1[vT1CL] = 0; in via_init()
184 via1[vT1CH] = 0; in via_init()
185 via1[vT2CL] = 0; in via_init()
[all …]
Dmisc.c157 reg = via1[vBufB] & ~VIA1B_vRTCClk; in via_pram_readbyte()
161 via1[vDirB] &= ~VIA1B_vRTCData; in via_pram_readbyte()
167 via1[vBufB] = reg; in via_pram_readbyte()
168 via1[vBufB] = reg | VIA1B_vRTCClk; in via_pram_readbyte()
169 data = (data << 1) | (via1[vBufB] & VIA1B_vRTCData); in via_pram_readbyte()
174 via1[vDirB] |= VIA1B_vRTCData; in via_pram_readbyte()
183 reg = via1[vBufB] & ~(VIA1B_vRTCClk | VIA1B_vRTCData); in via_pram_writebyte()
190 via1[vBufB] = reg | bit; in via_pram_writebyte()
191 via1[vBufB] = reg | bit | VIA1B_vRTCClk; in via_pram_writebyte()
213 via1[vBufB] = (via1[vBufB] | VIA1B_vRTCClk) & ~VIA1B_vRTCEnb; in via_pram_command()
[all …]
/Linux-v4.19/drivers/macintosh/
Dvia-pmu.c158 static volatile unsigned char __iomem *via1; variable
360 via1 = via2 = ioremap(taddr, 0x2000); in find_via_pmu()
361 if (via1 == NULL) { in find_via_pmu()
366 out_8(&via1[IER], IER_CLR | 0x7f); /* disable all intrs */ in find_via_pmu()
367 out_8(&via1[IFR], 0x7f); /* clear IFR */ in find_via_pmu()
379 iounmap(via1); in find_via_pmu()
380 via1 = via2 = NULL; in find_via_pmu()
479 out_8(&via1[IER], IER_SET | SR_INT | CB1_INT); in via_pmu_start()
1214 out_8(&via1[ACR], in_8(&via1[ACR]) | SR_OUT | SR_EXT); in send_byte()
1215 out_8(&via1[SR], x); in send_byte()
[all …]
Dvia-macii.c145 via = via1; in macii_probe()
Dvia-cuda.c213 via = via1; in find_via_cuda()
/Linux-v4.19/arch/m68k/include/asm/
Dmac_via.h255 extern volatile __u8 *via1,*via2;