Lines Matching refs:vgabase

182 	vgastate.vgabase = NULL;  in vgacon_startup()
624 vga_w(vgastate.vgabase, VGA_PEL_MSK, 0xff); in vga_set_palette()
626 vga_w(vgastate.vgabase, VGA_PEL_IW, table[i]); in vga_set_palette()
627 vga_w(vgastate.vgabase, VGA_PEL_D, vc->vc_palette[j++] >> 2); in vga_set_palette()
628 vga_w(vgastate.vgabase, VGA_PEL_D, vc->vc_palette[j++] >> 2); in vga_set_palette()
629 vga_w(vgastate.vgabase, VGA_PEL_D, vc->vc_palette[j++] >> 2); in vga_set_palette()
662 vga_state.SeqCtrlIndex = vga_r(state->vgabase, VGA_SEQ_I); in vga_vesa_blank()
664 vga_state.CrtMiscIO = vga_r(state->vgabase, VGA_MIS_R); in vga_vesa_blank()
683 vga_state.ClockingMode = vga_rseq(state->vgabase, VGA_SEQ_CLOCK_MODE); in vga_vesa_blank()
689 vga_wseq(state->vgabase, VGA_SEQ_CLOCK_MODE, vga_state.ClockingMode | 0x20); in vga_vesa_blank()
693 vga_w(state->vgabase, VGA_MIS_W, vga_state.CrtMiscIO & 0xEF); in vga_vesa_blank()
722 vga_w(state->vgabase, VGA_SEQ_I, vga_state.SeqCtrlIndex); in vga_vesa_blank()
731 vga_w(state->vgabase, VGA_MIS_W, vga_state.CrtMiscIO); in vga_vesa_unblank()
750 vga_wseq(state->vgabase, VGA_SEQ_CLOCK_MODE, vga_state.ClockingMode); in vga_vesa_unblank()
753 vga_w(state->vgabase, VGA_SEQ_I, vga_state.SeqCtrlIndex); in vga_vesa_unblank()
762 vga_w(state->vgabase, VGA_PEL_MSK, 0xff); in vga_pal_blank()
764 vga_w(state->vgabase, VGA_PEL_IW, i); in vga_pal_blank()
765 vga_w(state->vgabase, VGA_PEL_D, 0); in vga_pal_blank()
766 vga_w(state->vgabase, VGA_PEL_D, 0); in vga_pal_blank()
767 vga_w(state->vgabase, VGA_PEL_D, 0); in vga_pal_blank()
853 vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x1); in vgacon_do_font_op()
855 vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, 0x04); in vgacon_do_font_op()
857 vga_wseq(state->vgabase, VGA_SEQ_MEMORY_MODE, 0x07); in vgacon_do_font_op()
859 vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x03); in vgacon_do_font_op()
862 vga_wgfx(state->vgabase, VGA_GFX_PLANE_READ, 0x02); in vgacon_do_font_op()
864 vga_wgfx(state->vgabase, VGA_GFX_MODE, 0x00); in vgacon_do_font_op()
866 vga_wgfx(state->vgabase, VGA_GFX_MISC, 0x00); in vgacon_do_font_op()
904 vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x01); in vgacon_do_font_op()
906 vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, 0x03); in vgacon_do_font_op()
908 vga_wseq(state->vgabase, VGA_SEQ_MEMORY_MODE, 0x03); in vgacon_do_font_op()
911 vga_wseq(state->vgabase, VGA_SEQ_CHARACTER_MAP, font_select); in vgacon_do_font_op()
913 vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x03); in vgacon_do_font_op()
916 vga_wgfx(state->vgabase, VGA_GFX_PLANE_READ, 0x00); in vgacon_do_font_op()
918 vga_wgfx(state->vgabase, VGA_GFX_MODE, 0x10); in vgacon_do_font_op()
920 vga_wgfx(state->vgabase, VGA_GFX_MISC, beg); in vgacon_do_font_op()
929 vga_wattr(state->vgabase, VGA_ATC_PLANE_ENABLE, ch512 ? 0x07 : 0x0f); in vgacon_do_font_op()
933 vga_wattr(state->vgabase, VGA_AR_ENABLE_DISPLAY, 0); in vgacon_do_font_op()