Lines Matching refs:IOWriteB
2141 IOWriteB(VGA_AC_INDEX, Index); in VgaSetSinglePaletteRegister()
2144 IOWriteB(VGA_AC_WRITE, Value); in VgaSetSinglePaletteRegister()
2175 IOWriteB(VGA_SEQ_INDEX, VGA_SEQ_CLOCK_REG); in VgaSetRegisters()
2176 IOWriteB(VGA_SEQ_DATA , IOReadB(VGA_SEQ_DATA) | VGA_SEQ_CLOCK_SD); in VgaSetRegisters()
2179 IOWriteB(VGA_MISC_WRITE, Registers->Misc); in VgaSetRegisters()
2182 IOWriteB(VGA_SEQ_INDEX, VGA_SEQ_RESET_REG); in VgaSetRegisters()
2183 IOWriteB(VGA_SEQ_DATA , VGA_SEQ_RESET_AR ); in VgaSetRegisters()
2188 IOWriteB(VGA_SEQ_INDEX, i); in VgaSetRegisters()
2189 IOWriteB(VGA_SEQ_DATA , Registers->Sequencer[i]); in VgaSetRegisters()
2193 IOWriteB(VGA_SEQ_INDEX, VGA_SEQ_RESET_REG); in VgaSetRegisters()
2194 IOWriteB(VGA_SEQ_DATA , VGA_SEQ_RESET_SR | VGA_SEQ_RESET_AR); in VgaSetRegisters()
2197 IOWriteB(VGA_CRTC_INDEX, VGA_CRTC_END_HORZ_BLANKING_REG); in VgaSetRegisters()
2198 IOWriteB(VGA_CRTC_DATA , IOReadB(VGA_CRTC_DATA) | 0x80); in VgaSetRegisters()
2199 IOWriteB(VGA_CRTC_INDEX, VGA_CRTC_END_VERT_RETRACE_REG); in VgaSetRegisters()
2200 IOWriteB(VGA_CRTC_DATA , IOReadB(VGA_CRTC_DATA) & ~0x80); in VgaSetRegisters()
2208 IOWriteB(VGA_CRTC_INDEX, i); in VgaSetRegisters()
2209 IOWriteB(VGA_CRTC_DATA , Registers->CRT[i]); in VgaSetRegisters()
2215 IOWriteB(VGA_GC_INDEX, i); in VgaSetRegisters()
2216 IOWriteB(VGA_GC_DATA , Registers->Graphics[i]); in VgaSetRegisters()
2226 IOWriteB(VGA_DAC_MASK, 0xFF); in VgaSetRegisters()
2230 IOWriteB(VGA_AC_INDEX, 0x20); in VgaSetRegisters()
2233 IOWriteB(VGA_SEQ_INDEX, VGA_SEQ_CLOCK_REG); in VgaSetRegisters()
2234 IOWriteB(VGA_SEQ_DATA , IOReadB(VGA_SEQ_DATA) & ~VGA_SEQ_CLOCK_SD); in VgaSetRegisters()
2252 IOWriteB(VGA_DAC_WRITE_INDEX, i); in VgaSetPalette()
2253 IOWriteB(VGA_DAC_DATA, VGA_COLOR_TO_DAC(GetRValue(Palette[i]))); in VgaSetPalette()
2254 IOWriteB(VGA_DAC_DATA, VGA_COLOR_TO_DAC(GetGValue(Palette[i]))); in VgaSetPalette()
2255 IOWriteB(VGA_DAC_DATA, VGA_COLOR_TO_DAC(GetBValue(Palette[i]))); in VgaSetPalette()
2261 IOWriteB(VGA_DAC_WRITE_INDEX, i); in VgaSetPalette()
2262 IOWriteB(VGA_DAC_DATA, VGA_COLOR_TO_DAC(0x00)); in VgaSetPalette()
2263 IOWriteB(VGA_DAC_DATA, VGA_COLOR_TO_DAC(0x00)); in VgaSetPalette()
2264 IOWriteB(VGA_DAC_DATA, VGA_COLOR_TO_DAC(0x00)); in VgaSetPalette()
2327 IOWriteB(VGA_CRTC_INDEX, VGA_CRTC_CURSOR_LOC_LOW_REG); in VidBiosSetCursorPosition()
2328 IOWriteB(VGA_CRTC_DATA , LOBYTE(Offset)); in VidBiosSetCursorPosition()
2329 IOWriteB(VGA_CRTC_INDEX, VGA_CRTC_CURSOR_LOC_HIGH_REG); in VidBiosSetCursorPosition()
2330 IOWriteB(VGA_CRTC_DATA , HIBYTE(Offset)); in VidBiosSetCursorPosition()
2375 IOWriteB(VGA_CRTC_INDEX, VGA_CRTC_CURSOR_START_REG); in VidBiosSetCursorShape()
2376 IOWriteB(VGA_CRTC_DATA , HIBYTE(CursorStartEnd)); in VidBiosSetCursorShape()
2377 IOWriteB(VGA_CRTC_INDEX, VGA_CRTC_CURSOR_END_REG); in VidBiosSetCursorShape()
2378 IOWriteB(VGA_CRTC_DATA , LOBYTE(CursorStartEnd)); in VidBiosSetCursorShape()
2389 IOWriteB(VGA_CRTC_INDEX, VGA_CRTC_CURSOR_LOC_LOW_REG); in VidBiosSyncCursorPosition()
2391 IOWriteB(VGA_CRTC_INDEX, VGA_CRTC_CURSOR_LOC_HIGH_REG); in VidBiosSyncCursorPosition()
2420 IOWriteB(VGA_GC_INDEX, VGA_GC_MISC_REG); in VidBiosClearScreen()
2504 IOWriteB(VGA_CRTC_INDEX, VGA_CRTC_START_ADDR_LOW_REG); in VidBiosSetVideoMode()
2505 IOWriteB(VGA_CRTC_DATA , LOBYTE(Bda->VideoPageOffset)); in VidBiosSetVideoMode()
2506 IOWriteB(VGA_CRTC_INDEX, VGA_CRTC_START_ADDR_HIGH_REG); in VidBiosSetVideoMode()
2507 IOWriteB(VGA_CRTC_DATA , HIBYTE(Bda->VideoPageOffset)); in VidBiosSetVideoMode()
2604 IOWriteB(VGA_CRTC_INDEX, VGA_CRTC_START_ADDR_LOW_REG); in VidBiosSetVideoPage()
2605 IOWriteB(VGA_CRTC_DATA , LOBYTE(Bda->VideoPageOffset)); in VidBiosSetVideoPage()
2606 IOWriteB(VGA_CRTC_INDEX, VGA_CRTC_START_ADDR_HIGH_REG); in VidBiosSetVideoPage()
2607 IOWriteB(VGA_CRTC_DATA , HIBYTE(Bda->VideoPageOffset)); in VidBiosSetVideoPage()
2658 IOWriteB(VGA_GC_INDEX, VGA_GC_ROTATE_REG); in VidBiosDrawGlyph()
2660 IOWriteB(VGA_GC_DATA, OldRotate | 0x18); in VidBiosDrawGlyph()
2690 IOWriteB(VGA_GC_INDEX, VGA_GC_ROTATE_REG); in VidBiosDrawGlyph()
2691 IOWriteB(VGA_GC_DATA, OldRotate); in VidBiosDrawGlyph()
2710 IOWriteB(VGA_GC_INDEX, VGA_GC_ROTATE_REG); in VidBiosDrawGlyph()
2712 IOWriteB(VGA_GC_DATA, OldRotate | 0x18); in VidBiosDrawGlyph()
2740 IOWriteB(VGA_GC_INDEX, VGA_GC_ROTATE_REG); in VidBiosDrawGlyph()
2741 IOWriteB(VGA_GC_DATA, OldRotate); in VidBiosDrawGlyph()
2761 IOWriteB(VGA_SEQ_INDEX, VGA_SEQ_MASK_REG); in VidBiosDrawGlyph()
2763 IOWriteB(VGA_SEQ_DATA, 0x0F); in VidBiosDrawGlyph()
2766 IOWriteB(VGA_GC_INDEX, VGA_GC_RESET_REG); in VidBiosDrawGlyph()
2768 IOWriteB(VGA_GC_DATA, 0x00); in VidBiosDrawGlyph()
2771 IOWriteB(VGA_GC_INDEX, VGA_GC_ENABLE_RESET_REG); in VidBiosDrawGlyph()
2773 IOWriteB(VGA_GC_DATA, (~HIBYTE(CharData)) & 0x0F); in VidBiosDrawGlyph()
2776 IOWriteB(VGA_GC_INDEX, VGA_GC_MODE_REG); in VidBiosDrawGlyph()
2778 IOWriteB(VGA_GC_DATA, 0x00); in VidBiosDrawGlyph()
2783 IOWriteB(VGA_GC_INDEX, VGA_GC_ROTATE_REG); in VidBiosDrawGlyph()
2785 IOWriteB(VGA_GC_DATA, OldRotate | 0x18); in VidBiosDrawGlyph()
2812 IOWriteB(VGA_SEQ_INDEX, VGA_SEQ_MASK_REG); in VidBiosDrawGlyph()
2813 IOWriteB(VGA_SEQ_DATA, OldPlaneWrite); in VidBiosDrawGlyph()
2814 IOWriteB(VGA_GC_INDEX, VGA_GC_RESET_REG); in VidBiosDrawGlyph()
2815 IOWriteB(VGA_GC_DATA, OldReset); in VidBiosDrawGlyph()
2816 IOWriteB(VGA_GC_INDEX, VGA_GC_ENABLE_RESET_REG); in VidBiosDrawGlyph()
2817 IOWriteB(VGA_GC_DATA, OldEnableReset); in VidBiosDrawGlyph()
2818 IOWriteB(VGA_GC_INDEX, VGA_GC_MODE_REG); in VidBiosDrawGlyph()
2819 IOWriteB(VGA_GC_DATA, OldMode); in VidBiosDrawGlyph()
2823 IOWriteB(VGA_GC_INDEX, VGA_GC_ROTATE_REG); in VidBiosDrawGlyph()
2824 IOWriteB(VGA_GC_DATA, OldRotate); in VidBiosDrawGlyph()
3143 IOWriteB(VGA_AC_INDEX, 0x20); in VidBiosVideoService()
3168 IOWriteB(VGA_AC_INDEX, 0x20); in VidBiosVideoService()
3216 IOWriteB(VGA_AC_INDEX, 0x20); in VidBiosVideoService()
3227 IOWriteB(VGA_AC_INDEX, 0x20); in VidBiosVideoService()
3246 IOWriteB(VGA_AC_INDEX, VGA_AC_OVERSCAN_REG); in VidBiosVideoService()
3247 IOWriteB(VGA_AC_WRITE, Buffer[VGA_AC_PAL_F_REG + 1]); in VidBiosVideoService()
3251 IOWriteB(VGA_AC_INDEX, 0x20); in VidBiosVideoService()
3262 IOWriteB(VGA_AC_INDEX, VGA_AC_CONTROL_REG); in VidBiosVideoService()
3278 IOWriteB(VGA_AC_INDEX, VGA_AC_CONTROL_REG); in VidBiosVideoService()
3279 IOWriteB(VGA_AC_WRITE, VgaAcControlReg); in VidBiosVideoService()
3283 IOWriteB(VGA_AC_INDEX, 0x20); in VidBiosVideoService()
3292 IOWriteB(VGA_AC_INDEX, getBL()); in VidBiosVideoService()
3299 IOWriteB(VGA_AC_INDEX, 0x20); in VidBiosVideoService()
3308 IOWriteB(VGA_AC_INDEX, VGA_AC_OVERSCAN_REG); in VidBiosVideoService()
3315 IOWriteB(VGA_AC_INDEX, 0x20); in VidBiosVideoService()
3330 IOWriteB(VGA_AC_INDEX, i); in VidBiosVideoService()
3338 IOWriteB(VGA_AC_INDEX, VGA_AC_OVERSCAN_REG); in VidBiosVideoService()
3343 IOWriteB(VGA_AC_INDEX, 0x20); in VidBiosVideoService()
3352 IOWriteB(VGA_DAC_WRITE_INDEX, getBL()); in VidBiosVideoService()
3355 IOWriteB(VGA_DAC_DATA, getDH()); in VidBiosVideoService()
3356 IOWriteB(VGA_DAC_DATA, getCH()); in VidBiosVideoService()
3357 IOWriteB(VGA_DAC_DATA, getCL()); in VidBiosVideoService()
3370 IOWriteB(VGA_DAC_WRITE_INDEX, getBL()); in VidBiosVideoService()
3375 IOWriteB(VGA_DAC_DATA, *Buffer++); in VidBiosVideoService()
3376 IOWriteB(VGA_DAC_DATA, *Buffer++); in VidBiosVideoService()
3377 IOWriteB(VGA_DAC_DATA, *Buffer++); in VidBiosVideoService()
3390 IOWriteB(VGA_AC_INDEX, VGA_AC_CONTROL_REG); in VidBiosVideoService()
3391 IOWriteB(VGA_AC_WRITE, (IOReadB(VGA_AC_READ) & 0x7F) | (getBH() << 7)); in VidBiosVideoService()
3397 IOWriteB(VGA_AC_INDEX, VGA_AC_COLOR_SEL_REG); in VidBiosVideoService()
3398 IOWriteB(VGA_AC_WRITE, getBH()); in VidBiosVideoService()
3412 IOWriteB(VGA_DAC_READ_INDEX, getBL()); in VidBiosVideoService()
3430 IOWriteB(VGA_DAC_READ_INDEX, getBL()); in VidBiosVideoService()
3446 IOWriteB(VGA_DAC_MASK, getBL()); in VidBiosVideoService()
3742 IOWriteB(VGA_SEQ_INDEX, VGA_SEQ_CLOCK_REG); in VidBiosVideoService()
3750 IOWriteB(VGA_SEQ_DATA, Clocking); in VidBiosVideoService()