Home
last modified time | relevance | path

Searched refs:WritePIO_8 (Results 1 – 4 of 4) sorted by relevance

/haiku/src/add-ons/accelerants/s3/
H A Dregister_io.cpp125 WritePIO_8(0x3d4, index); in ReadCrtcReg()
137 WritePIO_8(0x3d4, index); in WriteCrtcReg()
138 WritePIO_8(0x3d5, value); in WriteCrtcReg()
152 WritePIO_8(0x3d4, index); in WriteCrtcReg()
153 WritePIO_8(0x3d5, (ReadPIO_8(0x3d5) & ~mask) | (value & mask)); in WriteCrtcReg()
167 WritePIO_8(0x3c4, index); in ReadSeqReg()
179 WritePIO_8(0x3c4, index); in WriteSeqReg()
180 WritePIO_8(0x3c5, value); in WriteSeqReg()
194 WritePIO_8(0x3c4, index); in WriteSeqReg()
195 WritePIO_8(0x3c5, (ReadPIO_8(0x3c5) & ~mask) | (value & mask)); in WriteSeqReg()
[all …]
H A Dvirge_init.cpp85 WritePIO_8(VGA_ENABLE, ReadPIO_8(VGA_ENABLE) | 0x01); // enable VGA in Virge_Init()
86 WritePIO_8(MISC_OUT_W, ReadPIO_8(MISC_OUT_R) | 0x01); // enable color in Virge_Init()
91 WritePIO_8(CRTC_INDEX, 0x59); in Virge_Init()
92 WritePIO_8(CRTC_DATA, (uint8)((uint32)(si.videoMemPCI) >> 24)); in Virge_Init()
93 WritePIO_8(CRTC_INDEX, 0x5A); in Virge_Init()
94 WritePIO_8(CRTC_DATA, (uint8)((uint32)(si.videoMemPCI) >> 16)); in Virge_Init()
98 WritePIO_8(CRTC_INDEX, 0x53); in Virge_Init()
99 WritePIO_8(CRTC_DATA, ReadPIO_8(CRTC_DATA) | 0x8); in Virge_Init()
H A Dtrio64_init.cpp88 WritePIO_8(VGA_ENABLE, ReadPIO_8(VGA_ENABLE) | 0x01); in Trio64_Init()
89 WritePIO_8(MISC_OUT_W, ReadPIO_8(MISC_OUT_R) | 0x01); // enable color in Trio64_Init()
91 WritePIO_8(CRTC_INDEX, 0x53); in Trio64_Init()
92 WritePIO_8(CRTC_DATA, ReadPIO_8(CRTC_DATA) | 0x8); // enable MMIO in Trio64_Init()
H A Dregister_io.h31 inline void WritePIO_8(uint32 addr, uint8 value) { WritePIO(addr, 1, value); } in WritePIO_8() function