Searched refs:via_reg (Results 1 - 10 of 10) sorted by relevance
/netbsd-current/sys/arch/mac68k/mac68k/ |
H A D | clock.c | 135 via_reg(VIA1, vIER) = V1IF_T1 | V1IF_T2; 138 via_reg(VIA1, vACR) |= ACR_T1LATCH; 141 via_reg(VIA1, vT1L) = CLK_INTL; 142 via_reg(VIA1, vT1LH) = CLK_INTH; 145 via_reg(VIA1, vT1C) = CLK_INTL; 146 via_reg(VIA1, vT1CH) = CLK_INTH; 153 via_reg(VIA1, vT2C) = 0x0ff; 154 via_reg(VIA1, vT2CH) = 0x0ff; 161 via_reg(VIA1, vIFR) |= V1IF_T1; 162 via_reg(VIA [all...] |
H A D | via.c | 151 via_reg(VIA1, vT1L) = 0; 152 via_reg(VIA1, vT1LH) = 0; 153 via_reg(VIA1, vT1C) = 0; 154 via_reg(VIA1, vT1CH) = 0; 155 via_reg(VIA1, vT2C) = 0; 156 via_reg(VIA1, vT2CH) = 0; 159 via_reg(VIA1, vACR) &= 0x3f; 179 via_reg(VIA1, vBufB) |= (0x40); 180 via_reg(VIA1, vDirB) |= (0x40); 235 via_reg(VIA [all...] |
H A D | machdep.c | 1980 via_reg(VIA1, vIER) = 0x7f; /* disable VIA1 int */ 1981 via_reg(VIA2, vIER) = 0x7f; /* disable VIA2 int */ 1990 via_reg(VIA1, vIER) = 0x6f; /* disable VIA1 int */ 1992 via_reg(VIA2, vIER) = 0x7f; /* disable VIA2 int */ 2008 via_reg(VIA1, vIER) = 0x6f; /* disable VIA1 int */ 2010 via_reg(VIA2, rIER) = 0x7f; /* disable VIA2 int */ 2020 via_reg(VIA1, vIER) = 0x7f; /* disable VIA1 int */ 2021 via_reg(VIA2, vIER) = 0x7f; /* disable VIA2 int */ 2032 via_reg(VIA1, vBufB) &= (0xff ^ DB1O_AuxIntEnb); 2033 via_reg(VIA [all...] |
H A D | iop.c | 157 via_reg(VIA2, vIER) = 0x81; 158 via_reg(VIA2, vIFR) = 0x01; 395 printf("loading msg to iop: cs: 0x%x V1-%x- ", (unsigned) iop->iop->control_status, (unsigned)via_reg(VIA1, vIFR)); 397 printf("msg loaded to iop: cs: 0x%x V1-%x- ", (unsigned) iop->iop->control_status, (unsigned)via_reg(VIA1, vIFR)); 401 printf(" cs: 0x%x V1-%x- ", (unsigned) iop->iop->control_status, (unsigned)via_reg(VIA1, vIFR));
|
H A D | macrom.c | 1115 via_reg(VIA1, vIFR) = 0x4; 1116 via_reg(VIA1, vIER) = 0x84;
|
/netbsd-current/sys/arch/mac68k/dev/ |
H A D | pm_direct.c | 71 #define PM_SR() via_reg(VIA1, vSR) 72 #define PM_VIA_INTR_ENABLE() via_reg(VIA1, vIER) = 0x90 73 #define PM_VIA_INTR_DISABLE() via_reg(VIA1, vIER) = 0x10 74 #define PM_VIA_CLR_INTR() via_reg(VIA1, vIFR) = 0x90 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(VIA [all...] |
H A D | adb_direct.c | 131 #define ADB_SET_STATE_IDLE_II() via_reg(VIA1, vBufB) |= (vPB4 | vPB5) 132 #define ADB_SET_STATE_IDLE_IISI() via_reg(VIA1, vBufB) &= ~(vPB4 | vPB5) 133 #define ADB_SET_STATE_IDLE_CUDA() via_reg(VIA1, vBufB) |= (vPB4 | vPB5) 134 #define ADB_SET_STATE_CMD() via_reg(VIA1, vBufB) &= ~(vPB4 | vPB5) 135 #define ADB_SET_STATE_EVEN() via_reg(VIA1, vBufB) = ((via_reg(VIA1, \ 137 #define ADB_SET_STATE_ODD() via_reg(VIA1, vBufB) = ((via_reg(VIA1, \ 139 #define ADB_SET_STATE_ACTIVE() via_reg(VIA1, vBufB) |= vPB5 140 #define ADB_SET_STATE_INACTIVE() via_reg(VIA [all...] |
H A D | akbd.c | 535 intbits = via_reg(VIA1, vIFR); 539 via_reg(VIA1, vIFR) = V1IF_ADBRDY; 543 via_reg(VIA1, vIFR) = 0x10;
|
/netbsd-current/sys/arch/mac68k/include/ |
H A D | viareg.h | 197 #define via_reg(v, r) (*(Via1Base+(v)*0x2000+(r))) macro
|
/netbsd-current/sys/arch/macppc/dev/ |
H A D | viareg.h | 195 #define via_reg(v, r) (*(Via1Base + (r))) macro
|
Completed in 262 milliseconds