Searched refs:vBufB (Results 1 - 10 of 10) sorted by relevance
/netbsd-current/sys/arch/mac68k/dev/ |
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, \ 136 vBufB) | vPB4) & ~vPB5) 137 #define ADB_SET_STATE_ODD() via_reg(VIA1, vBufB) = ((via_reg(VIA1, \ 138 vBufB) | vPB5) & ~vPB4) 139 #define ADB_SET_STATE_ACTIVE() via_reg(VIA1, vBufB) |= vPB5 140 #define ADB_SET_STATE_INACTIVE() via_reg(VIA1, vBufB) [all...] |
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))
|
/netbsd-current/sys/arch/macppc/dev/ |
H A D | cuda.c | 385 (cuda_read_reg(sc, vBufB) & vPB3) == vPB3*/) { 457 reg = cuda_read_reg(sc, vBufB); 459 cuda_write_reg(sc, vBufB, reg); 467 reg = cuda_read_reg(sc, vBufB); 469 cuda_write_reg(sc, vBufB, reg); 477 reg = cuda_read_reg(sc, vBufB); 479 cuda_write_reg(sc, vBufB, reg); 507 reg = cuda_read_reg(sc, vBufB); 509 cuda_write_reg(sc, vBufB, reg); 517 reg = cuda_read_reg(sc, vBufB); [all...] |
H A D | adb_direct.c | 119 #define ADB_SET_STATE_IDLE_CUDA() via_reg_or(VIA1, vBufB, (vPB4 | vPB5)) 120 #define ADB_SET_STATE_TIP() via_reg_and(VIA1, vBufB, ~vPB5) 121 #define ADB_CLR_STATE_TIP() via_reg_or(VIA1, vBufB, vPB5) 122 #define ADB_TOGGLE_STATE_ACK_CUDA() via_reg_xor(VIA1, vBufB, vPB4) 123 #define ADB_SET_STATE_ACKOFF_CUDA() via_reg_or(VIA1, vBufB, vPB4) 129 #define ADB_INTR_IS_OFF (vPB3 == (read_via_reg(VIA1, vBufB) & vPB3)) 130 #define ADB_INTR_IS_ON (0 == (read_via_reg(VIA1, vBufB) & vPB3))
|
H A D | viareg.h | 152 #define vBufB 0x0000 /* register B */ macro
|
H A D | pmu.c | 656 reg = pmu_read_reg(sc, vBufB); 658 pmu_write_reg(sc, vBufB, reg); 666 reg = pmu_read_reg(sc, vBufB); 668 pmu_write_reg(sc, vBufB, reg); 674 return ((pmu_read_reg(sc, vBufB) & vPB3) == 0);
|
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))
|
/netbsd-current/sys/arch/mac68k/mac68k/ |
H A D | via.c | 179 via_reg(VIA1, vBufB) |= (0x40); 199 via2_reg(vBufB) |= 0x02; /* Unlock NuBus */ 478 via2_reg(vBufB) &= ~0x04; /* Shut down */
|
H A D | machdep.c | 2032 via_reg(VIA1, vBufB) &= (0xff ^ DB1O_AuxIntEnb);
|
/netbsd-current/sys/arch/mac68k/include/ |
H A D | viareg.h | 157 #define vBufB 0 /* register B */ macro
|
Completed in 142 milliseconds