Searched refs:VIA2 (Results 1 - 13 of 13) sorted by relevance
/netbsd-current/sys/arch/mac68k/mac68k/ |
H A D | clock.c | 234 * Here, we have implemented code that causes VIA2's timer to count 272 via_reg(VIA2, vT1L) = (profint - 1) & 0xff; 273 via_reg(VIA2, vT1LH) = (profint - 1) >> 8; 274 via_reg(VIA2, vACR) |= ACR_T1LATCH; 275 via_reg(VIA2, vT1C) = (profint - 1) & 0xff; 276 via_reg(VIA2, vT1CH) = (profint - 1) >> 8; 282 via_reg(VIA2, vT1L) = 0; 283 via_reg(VIA2, vT1LH) = 0; 284 via_reg(VIA2, vT1C) = 0; 285 via_reg(VIA2, vT1C [all...] |
H A D | via.c | 72 int VIA2 = VIA2OFF; /* default for II, IIx, IIcx, SE/30. */ variable 96 /* VIA2 interrupt handler table */ 107 /* Arg array for VIA2 interrupts. */ 163 if (VIA2 == VIA2OFF) { 164 /* Initialize VIA2 */ 403 if (VIA2 == VIA2OFF) 454 if (VIA2 == VIA2OFF) { 476 if (VIA2 == VIA2OFF) { 479 } else if (VIA2 == RBVOFF) { 481 } else if (VIA2 [all...] |
H A D | machdep.c | 1975 VIA2 = VIA2OFF; 1981 via_reg(VIA2, vIER) = 0x7f; /* disable VIA2 int */ 1984 VIA2 = VIA2OFF; 1992 via_reg(VIA2, vIER) = 0x7f; /* disable VIA2 int */ 1998 * The Duo definitely does not use a VIA2, but it looks 1999 * like the VIA2 functions might be on the MSC at the RBV 2002 VIA2 = RBVOFF; 2010 via_reg(VIA2, rIE [all...] |
H A D | iop.c | 157 via_reg(VIA2, vIER) = 0x81; 158 via_reg(VIA2, vIFR) = 0x01;
|
H A D | macrom.c | 950 VIA2 * 0x2000); /* see via.h */
|
/netbsd-current/sys/arch/mac68k/dev/ |
H A D | pm_direct.c | 75 #define PM_SET_STATE_ACKON() via_reg(VIA2, vBufB) |= 0x04 76 #define PM_SET_STATE_ACKOFF() via_reg(VIA2, vBufB) &= ~0x04 77 #define PM_IS_ON (0x02 == (via_reg(VIA2, vBufB) & 0x02)) 78 #define PM_IS_OFF (0x00 == (via_reg(VIA2, vBufB) & 0x02)) 339 via_reg(VIA2, vDirA) = 0x00; 347 *data = via_reg(VIA2, 0x200); 358 via_reg(VIA2, vDirA) = 0x00; 373 via_reg(VIA2, vDirA) = 0xff; 374 via_reg(VIA2, 0x200) = data; 392 via_reg(VIA2, vDir [all...] |
H A D | mac68k5380.c | 170 if (VIA2 == VIA2OFF) { 171 scsi_enable = Via1Base + VIA2 * 0x2000 + vIER; 172 scsi_flag = Via1Base + VIA2 * 0x2000 + vIFR; 174 scsi_enable = Via1Base + VIA2 * 0x2000 + rIER; 175 scsi_flag = Via1Base + VIA2 * 0x2000 + rIFR;
|
/netbsd-current/sys/arch/mac68k/obio/ |
H A D | sbc_obio.c | 224 /* Enable SCSI interrupts through VIA2 */ 256 if (VIA2 == VIA2OFF) 274 if (VIA2 == VIA2OFF) 291 if (VIA2 == VIA2OFF)
|
H A D | asc.c | 381 if (VIA2 == VIA2OFF)
|
H A D | ascaudio.c | 847 if (VIA2 == VIA2OFF)
|
/netbsd-current/sys/arch/mac68k/include/ |
H A D | viareg.h | 69 /* VIA2 data register A */ 80 /* VIA2 data register B */ 115 * VIA2 interrupts 125 /* VIA2 interrupt bits */ 148 #define VIA2OFF 1 /* VIA2 addr = VIA1_addr + 0x2000 */ 153 extern int VIA2;
|
/netbsd-current/sys/arch/macppc/dev/ |
H A D | viareg.h | 68 /* VIA2 data register A */ 79 /* VIA2 data register B */ 114 * VIA2 interrupts 124 /* VIA2 interrupt bits */ 145 #define VIA2OFF 1 /* VIA2 addr = VIA1_addr * 0x2000 */ 149 #define VIA2 0 macro
|
H A D | pm_direct.c | 77 #define PM_SET_STATE_ACKON() via_reg_or(VIA2, vBufB, 0x10) 78 #define PM_SET_STATE_ACKOFF() via_reg_and(VIA2, vBufB, ~0x10) 79 #define PM_IS_ON (0x08 == (read_via_reg(VIA2, vBufB) & 0x08)) 80 #define PM_IS_OFF (0x00 == (read_via_reg(VIA2, vBufB) & 0x08))
|
Completed in 339 milliseconds