Lines Matching refs:vgabase
213 vgastate.vgabase = NULL; in vgacon_startup()
667 vga_w(vgastate.vgabase, VGA_PEL_MSK, 0xff); in vga_set_palette()
669 vga_w(vgastate.vgabase, VGA_PEL_IW, table[i]); in vga_set_palette()
670 vga_w(vgastate.vgabase, VGA_PEL_D, vc->vc_palette[j++] >> 2); in vga_set_palette()
671 vga_w(vgastate.vgabase, VGA_PEL_D, vc->vc_palette[j++] >> 2); in vga_set_palette()
672 vga_w(vgastate.vgabase, VGA_PEL_D, vc->vc_palette[j++] >> 2); in vga_set_palette()
705 vga_state.SeqCtrlIndex = vga_r(state->vgabase, VGA_SEQ_I); in vga_vesa_blank()
707 vga_state.CrtMiscIO = vga_r(state->vgabase, VGA_MIS_R); in vga_vesa_blank()
726 vga_state.ClockingMode = vga_rseq(state->vgabase, VGA_SEQ_CLOCK_MODE); in vga_vesa_blank()
732 vga_wseq(state->vgabase, VGA_SEQ_CLOCK_MODE, vga_state.ClockingMode | 0x20); in vga_vesa_blank()
736 vga_w(state->vgabase, VGA_MIS_W, vga_state.CrtMiscIO & 0xEF); in vga_vesa_blank()
765 vga_w(state->vgabase, VGA_SEQ_I, vga_state.SeqCtrlIndex); in vga_vesa_blank()
774 vga_w(state->vgabase, VGA_MIS_W, vga_state.CrtMiscIO); in vga_vesa_unblank()
793 vga_wseq(state->vgabase, VGA_SEQ_CLOCK_MODE, vga_state.ClockingMode); in vga_vesa_unblank()
796 vga_w(state->vgabase, VGA_SEQ_I, vga_state.SeqCtrlIndex); in vga_vesa_unblank()
805 vga_w(state->vgabase, VGA_PEL_MSK, 0xff); in vga_pal_blank()
807 vga_w(state->vgabase, VGA_PEL_IW, i); in vga_pal_blank()
808 vga_w(state->vgabase, VGA_PEL_D, 0); in vga_pal_blank()
809 vga_w(state->vgabase, VGA_PEL_D, 0); in vga_pal_blank()
810 vga_w(state->vgabase, VGA_PEL_D, 0); in vga_pal_blank()
914 vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x1); in vgacon_do_font_op()
916 vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, 0x04); in vgacon_do_font_op()
918 vga_wseq(state->vgabase, VGA_SEQ_MEMORY_MODE, 0x07); in vgacon_do_font_op()
920 vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x03); in vgacon_do_font_op()
923 vga_wgfx(state->vgabase, VGA_GFX_PLANE_READ, 0x02); in vgacon_do_font_op()
925 vga_wgfx(state->vgabase, VGA_GFX_MODE, 0x00); in vgacon_do_font_op()
927 vga_wgfx(state->vgabase, VGA_GFX_MISC, 0x00); in vgacon_do_font_op()
965 vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x01); in vgacon_do_font_op()
967 vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, 0x03); in vgacon_do_font_op()
969 vga_wseq(state->vgabase, VGA_SEQ_MEMORY_MODE, 0x03); in vgacon_do_font_op()
972 vga_wseq(state->vgabase, VGA_SEQ_CHARACTER_MAP, font_select); in vgacon_do_font_op()
974 vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x03); in vgacon_do_font_op()
977 vga_wgfx(state->vgabase, VGA_GFX_PLANE_READ, 0x00); in vgacon_do_font_op()
979 vga_wgfx(state->vgabase, VGA_GFX_MODE, 0x10); in vgacon_do_font_op()
981 vga_wgfx(state->vgabase, VGA_GFX_MISC, beg); in vgacon_do_font_op()
990 vga_wattr(state->vgabase, VGA_ATC_PLANE_ENABLE, ch512 ? 0x07 : 0x0f); in vgacon_do_font_op()
994 vga_wattr(state->vgabase, VGA_AR_ENABLE_DISPLAY, 0); in vgacon_do_font_op()