via1 255 arch/m68k/include/asm/mac_via.h extern volatile __u8 *via1,*via2; via1 102 arch/m68k/mac/misc.c reg = via1[vBufB] & ~VIA1B_vRTCClk; via1 106 arch/m68k/mac/misc.c via1[vDirB] &= ~VIA1B_vRTCData; via1 112 arch/m68k/mac/misc.c via1[vBufB] = reg; via1 113 arch/m68k/mac/misc.c via1[vBufB] = reg | VIA1B_vRTCClk; via1 114 arch/m68k/mac/misc.c data = (data << 1) | (via1[vBufB] & VIA1B_vRTCData); via1 119 arch/m68k/mac/misc.c via1[vDirB] |= VIA1B_vRTCData; via1 128 arch/m68k/mac/misc.c reg = via1[vBufB] & ~(VIA1B_vRTCClk | VIA1B_vRTCData); via1 135 arch/m68k/mac/misc.c via1[vBufB] = reg | bit; via1 136 arch/m68k/mac/misc.c via1[vBufB] = reg | bit | VIA1B_vRTCClk; via1 187 arch/m68k/mac/misc.c via1[vBufB] = (via1[vBufB] | VIA1B_vRTCClk) & ~VIA1B_vRTCEnb; via1 205 arch/m68k/mac/misc.c via1[vBufB] |= VIA1B_vRTCEnb; via1 41 arch/m68k/mac/via.c volatile __u8 *via1, *via2; via1 113 arch/m68k/mac/via.c via1 = (void *)VIA1_BASE; via1 114 arch/m68k/mac/via.c pr_debug("VIA1 detected at %p\n", via1); via1 170 arch/m68k/mac/via.c via1[vIER] = 0x7F; via1 171 arch/m68k/mac/via.c via1[vIFR] = 0x7F; via1 172 arch/m68k/mac/via.c via1[vT1LL] = 0; via1 173 arch/m68k/mac/via.c via1[vT1LH] = 0; via1 174 arch/m68k/mac/via.c via1[vT1CL] = 0; via1 175 arch/m68k/mac/via.c via1[vT1CH] = 0; via1 176 arch/m68k/mac/via.c via1[vT2CL] = 0; via1 177 arch/m68k/mac/via.c via1[vT2CH] = 0; via1 178 arch/m68k/mac/via.c via1[vACR] &= ~0xC0; /* setup T1 timer with no PB7 output */ via1 179 arch/m68k/mac/via.c via1[vACR] &= ~0x03; /* disable port A & B latches */ via1 186 arch/m68k/mac/via.c via1[vDirB] |= 0x40; via1 187 arch/m68k/mac/via.c via1[vBufB] |= 0x40; via1 198 arch/m68k/mac/via.c via1[vDirB] |= VIA1B_vRTCEnb | VIA1B_vRTCClk | VIA1B_vRTCData; via1 199 arch/m68k/mac/via.c via1[vBufB] |= VIA1B_vRTCEnb | VIA1B_vRTCClk; via1 214 arch/m68k/mac/via.c via1[vDirB] |= 0x40; via1 215 arch/m68k/mac/via.c via1[vBufB] &= ~0x40; via1 272 arch/m68k/mac/via.c (uint) via1[vDirA], (uint) via1[vDirB], (uint) via1[vACR]); via1 274 arch/m68k/mac/via.c (uint) via1[vPCR], (uint) via1[vIFR], (uint) via1[vIER]); via1 402 arch/m68k/mac/via.c events = via1[vIFR] & via1[vIER] & 0x7F; via1 412 arch/m68k/mac/via.c via1[vIFR] = irq_bit; via1 425 arch/m68k/mac/via.c via1[vIFR] = irq_bit; via1 517 arch/m68k/mac/via.c via1[vIER] = IER_SET_BIT(irq_idx); via1 545 arch/m68k/mac/via.c via1[vIER] = IER_CLR_BIT(irq_idx); via1 566 arch/m68k/mac/via.c via1[vBufA] &= ~VIA1A_vHeadSel; via1 568 arch/m68k/mac/via.c via1[vBufA] |= VIA1A_vHeadSel; via1 618 arch/m68k/mac/via.c via1[vT1LL] = VIA_TC_LOW; via1 619 arch/m68k/mac/via.c via1[vT1LH] = VIA_TC_HIGH; via1 620 arch/m68k/mac/via.c via1[vT1CL] = VIA_TC_LOW; via1 621 arch/m68k/mac/via.c via1[vT1CH] = VIA_TC_HIGH; via1 622 arch/m68k/mac/via.c via1[vACR] |= 0x40; via1 644 arch/m68k/mac/via.c count_high = via1[vT1CH]; via1 647 arch/m68k/mac/via.c if (count_high > 0 && (via1[vIFR] & VIA_TIMER_1_INT)) via1 213 drivers/macintosh/via-cuda.c via = via1; via1 129 drivers/macintosh/via-macii.c via = via1; via1 158 drivers/macintosh/via-pmu.c static volatile unsigned char __iomem *via1; via1 360 drivers/macintosh/via-pmu.c via1 = via2 = ioremap(taddr, 0x2000); via1 361 drivers/macintosh/via-pmu.c if (via1 == NULL) { via1 366 drivers/macintosh/via-pmu.c out_8(&via1[IER], IER_CLR | 0x7f); /* disable all intrs */ via1 367 drivers/macintosh/via-pmu.c out_8(&via1[IFR], 0x7f); /* clear IFR */ via1 379 drivers/macintosh/via-pmu.c iounmap(via1); via1 380 drivers/macintosh/via-pmu.c via1 = via2 = NULL; via1 479 drivers/macintosh/via-pmu.c out_8(&via1[IER], IER_SET | SR_INT | CB1_INT); via1 1214 drivers/macintosh/via-pmu.c out_8(&via1[ACR], in_8(&via1[ACR]) | SR_OUT | SR_EXT); via1 1215 drivers/macintosh/via-pmu.c out_8(&via1[SR], x); via1 1223 drivers/macintosh/via-pmu.c out_8(&via1[ACR], (in_8(&via1[ACR]) & ~SR_OUT) | SR_EXT); via1 1224 drivers/macintosh/via-pmu.c in_8(&via1[SR]); /* resets SR */ via1 1329 drivers/macintosh/via-pmu.c out_8(&via1[IER], CB1_INT | IER_CLR); via1 1353 drivers/macintosh/via-pmu.c out_8(&via1[IER], CB1_INT | IER_SET); via1 1495 drivers/macintosh/via-pmu.c bite = in_8(&via1[SR]); via1 1605 drivers/macintosh/via-pmu.c intr = in_8(&via1[IFR]) & (SR_INT | CB1_INT); via1 1606 drivers/macintosh/via-pmu.c out_8(&via1[IFR], intr); via1 1624 drivers/macintosh/via-pmu.c intr, in_8(&via1[IER]), pmu_state); via1 1844 drivers/macintosh/via-pmu.c save_via[0] = in_8(&via1[ANH]); via1 1845 drivers/macintosh/via-pmu.c save_via[1] = in_8(&via1[DIRA]); via1 1846 drivers/macintosh/via-pmu.c save_via[2] = in_8(&via1[B]); via1 1847 drivers/macintosh/via-pmu.c save_via[3] = in_8(&via1[DIRB]); via1 1848 drivers/macintosh/via-pmu.c save_via[4] = in_8(&via1[PCR]); via1 1849 drivers/macintosh/via-pmu.c save_via[5] = in_8(&via1[ACR]); via1 1850 drivers/macintosh/via-pmu.c save_via[6] = in_8(&via1[T1CL]); via1 1851 drivers/macintosh/via-pmu.c save_via[7] = in_8(&via1[T1CH]); via1 1856 drivers/macintosh/via-pmu.c out_8(&via1[ANH], save_via[0]); via1 1857 drivers/macintosh/via-pmu.c out_8(&via1[DIRA], save_via[1]); via1 1858 drivers/macintosh/via-pmu.c out_8(&via1[B], save_via[2]); via1 1859 drivers/macintosh/via-pmu.c out_8(&via1[DIRB], save_via[3]); via1 1860 drivers/macintosh/via-pmu.c out_8(&via1[PCR], save_via[4]); via1 1861 drivers/macintosh/via-pmu.c out_8(&via1[ACR], save_via[5]); via1 1862 drivers/macintosh/via-pmu.c out_8(&via1[T1CL], save_via[6]); via1 1863 drivers/macintosh/via-pmu.c out_8(&via1[T1CH], save_via[7]); via1 1864 drivers/macintosh/via-pmu.c out_8(&via1[IER], IER_CLR | 0x7f); /* disable all intrs */ via1 1865 drivers/macintosh/via-pmu.c out_8(&via1[IFR], 0x7f); /* clear IFR */ via1 1866 drivers/macintosh/via-pmu.c out_8(&via1[IER], IER_SET | SR_INT | CB1_INT); via1 2523 drivers/macintosh/via-pmu.c via1[ACR] |= SR_OUT | SR_EXT; eieio(); via1 2524 drivers/macintosh/via-pmu.c via1[SR] = x; eieio(); via1 2533 drivers/macintosh/via-pmu.c via1[ACR] = (via1[ACR] & ~SR_OUT) | SR_EXT; eieio(); via1 2534 drivers/macintosh/via-pmu.c x = via1[SR]; eieio(); via1 2536 drivers/macintosh/via-pmu.c x = via1[SR]; eieio();