Lines Matching defs:value
35 gsp.value = 0;
41 return gsp.value;
45 void WritePIO(uint32 addr, uint8 numBytes, uint32 value)
51 gsp.value = value;
92 void WriteReg8(uint32 addr, uint8 value)
95 WritePIO(addr, 1, value);
97 OUTREG8(addr, value);
101 void WriteReg16(uint32 addr, uint16 value)
104 WritePIO(addr, 2, value);
106 OUTREG16(addr, value);
110 void WriteReg32(uint32 addr, uint32 value)
113 WritePIO(addr, 4, value);
115 OUTREG32(addr, value);
134 void WriteCrtcReg(uint8 index, uint8 value)
138 WritePIO_8(0x3d5, value);
141 OUTREG8(0x83d5, value);
146 void WriteCrtcReg(uint8 index, uint8 value, uint8 mask)
148 // Write a value to a CRTC reg using a mask. The mask selects the
153 WritePIO_8(0x3d5, (ReadPIO_8(0x3d5) & ~mask) | (value & mask));
156 OUTREG8(0x83d5, (INREG8(0x83d5) & ~mask) | (value & mask));
176 void WriteSeqReg(uint8 index, uint8 value)
180 WritePIO_8(0x3c5, value);
183 OUTREG8(0x83c5, value);
188 void WriteSeqReg(uint8 index, uint8 value, uint8 mask)
190 // Write a value to a Sequencer reg using a mask. The mask selects the
195 WritePIO_8(0x3c5, (ReadPIO_8(0x3c5) & ~mask) | (value & mask));
198 OUTREG8(0x83c5, (INREG8(0x83c5) & ~mask) | (value & mask));
215 void WriteMiscOutReg(uint8 value)
218 WritePIO_8(0x3c2, value);
220 OUTREG8(0x83c2, value);