Lines Matching refs:outb_p
291 outb_p(i, VGA_ATT_W); in vgacon_startup()
292 outb_p(i, VGA_ATT_W); in vgacon_startup()
294 outb_p(0x20, VGA_ATT_W); in vgacon_startup()
301 outb_p(color_table[i], VGA_PEL_IW); in vgacon_startup()
302 outb_p(default_red[i], VGA_PEL_D); in vgacon_startup()
303 outb_p(default_grn[i], VGA_PEL_D); in vgacon_startup()
304 outb_p(default_blu[i], VGA_PEL_D); in vgacon_startup()
485 outb_p(VGA_CRTC_CURSOR_START, vga_video_port_reg); in vgacon_set_cursor_size()
487 outb_p(VGA_CRTC_CURSOR_END, vga_video_port_reg); in vgacon_set_cursor_size()
497 outb_p(VGA_CRTC_CURSOR_START, vga_video_port_reg); in vgacon_set_cursor_size()
498 outb_p(curs, vga_video_port_val); in vgacon_set_cursor_size()
499 outb_p(VGA_CRTC_CURSOR_END, vga_video_port_reg); in vgacon_set_cursor_size()
500 outb_p(cure, vga_video_port_val); in vgacon_set_cursor_size()
581 outb_p(VGA_CRTC_MAX_SCAN, vga_video_port_reg); in vgacon_doresize()
587 outb_p(VGA_CRTC_MODE, vga_video_port_reg); in vgacon_doresize()
596 outb_p(VGA_CRTC_OVERFLOW, vga_video_port_reg); in vgacon_doresize()
605 outb_p(VGA_CRTC_V_SYNC_END, vga_video_port_reg); in vgacon_doresize()
607 outb_p(VGA_CRTC_V_SYNC_END, vga_video_port_reg); in vgacon_doresize()
608 outb_p(vsync_end & ~0x80, vga_video_port_val); in vgacon_doresize()
611 outb_p(VGA_CRTC_H_DISP, vga_video_port_reg); in vgacon_doresize()
612 outb_p(width - 1, vga_video_port_val); in vgacon_doresize()
613 outb_p(VGA_CRTC_OFFSET, vga_video_port_reg); in vgacon_doresize()
614 outb_p(width >> 1, vga_video_port_val); in vgacon_doresize()
617 outb_p(VGA_CRTC_V_DISP_END, vga_video_port_reg); in vgacon_doresize()
618 outb_p(scanlines_lo, vga_video_port_val); in vgacon_doresize()
619 outb_p(VGA_CRTC_OVERFLOW, vga_video_port_reg); in vgacon_doresize()
620 outb_p(r7,vga_video_port_val); in vgacon_doresize()
623 outb_p(VGA_CRTC_V_SYNC_END, vga_video_port_reg); in vgacon_doresize()
624 outb_p(vsync_end, vga_video_port_val); in vgacon_doresize()
710 outb_p(0x00, vga_video_port_reg); /* HorizontalTotal */ in vga_vesa_blank()
712 outb_p(0x01, vga_video_port_reg); /* HorizDisplayEnd */ in vga_vesa_blank()
714 outb_p(0x04, vga_video_port_reg); /* StartHorizRetrace */ in vga_vesa_blank()
716 outb_p(0x05, vga_video_port_reg); /* EndHorizRetrace */ in vga_vesa_blank()
718 outb_p(0x07, vga_video_port_reg); /* Overflow */ in vga_vesa_blank()
720 outb_p(0x10, vga_video_port_reg); /* StartVertRetrace */ in vga_vesa_blank()
722 outb_p(0x11, vga_video_port_reg); /* EndVertRetrace */ in vga_vesa_blank()
724 outb_p(0x17, vga_video_port_reg); /* ModeControl */ in vga_vesa_blank()
744 outb_p(0x10, vga_video_port_reg); /* StartVertRetrace */ in vga_vesa_blank()
745 outb_p(0xff, vga_video_port_val); /* maximum value */ in vga_vesa_blank()
746 outb_p(0x11, vga_video_port_reg); /* EndVertRetrace */ in vga_vesa_blank()
747 outb_p(0x40, vga_video_port_val); /* minimum (bits 0..3) */ in vga_vesa_blank()
748 outb_p(0x07, vga_video_port_reg); /* Overflow */ in vga_vesa_blank()
749 outb_p(vga_state.Overflow | 0x84, vga_video_port_val); /* bits 9,10 of vert. retrace */ in vga_vesa_blank()
758 outb_p(0x04, vga_video_port_reg); /* StartHorizRetrace */ in vga_vesa_blank()
759 outb_p(0xff, vga_video_port_val); /* maximum */ in vga_vesa_blank()
760 outb_p(0x05, vga_video_port_reg); /* EndHorizRetrace */ in vga_vesa_blank()
761 outb_p(0x00, vga_video_port_val); /* minimum (0) */ in vga_vesa_blank()
766 outb_p(vga_state.CrtCtrlIndex, vga_video_port_reg); in vga_vesa_blank()
776 outb_p(0x00, vga_video_port_reg); /* HorizontalTotal */ in vga_vesa_unblank()
777 outb_p(vga_state.HorizontalTotal, vga_video_port_val); in vga_vesa_unblank()
778 outb_p(0x01, vga_video_port_reg); /* HorizDisplayEnd */ in vga_vesa_unblank()
779 outb_p(vga_state.HorizDisplayEnd, vga_video_port_val); in vga_vesa_unblank()
780 outb_p(0x04, vga_video_port_reg); /* StartHorizRetrace */ in vga_vesa_unblank()
781 outb_p(vga_state.StartHorizRetrace, vga_video_port_val); in vga_vesa_unblank()
782 outb_p(0x05, vga_video_port_reg); /* EndHorizRetrace */ in vga_vesa_unblank()
783 outb_p(vga_state.EndHorizRetrace, vga_video_port_val); in vga_vesa_unblank()
784 outb_p(0x07, vga_video_port_reg); /* Overflow */ in vga_vesa_unblank()
785 outb_p(vga_state.Overflow, vga_video_port_val); in vga_vesa_unblank()
786 outb_p(0x10, vga_video_port_reg); /* StartVertRetrace */ in vga_vesa_unblank()
787 outb_p(vga_state.StartVertRetrace, vga_video_port_val); in vga_vesa_unblank()
788 outb_p(0x11, vga_video_port_reg); /* EndVertRetrace */ in vga_vesa_unblank()
789 outb_p(vga_state.EndVertRetrace, vga_video_port_val); in vga_vesa_unblank()
790 outb_p(0x17, vga_video_port_reg); /* ModeControl */ in vga_vesa_unblank()
791 outb_p(vga_state.ModeControl, vga_video_port_val); in vga_vesa_unblank()
797 outb_p(vga_state.CrtCtrlIndex, vga_video_port_reg); in vga_vesa_unblank()
1036 outb_p(0x07, vga_video_port_reg); /* CRTC overflow register */ in vgacon_adjust_height()
1038 outb_p(0x09, vga_video_port_reg); /* Font size register */ in vgacon_adjust_height()
1048 outb_p(0x07, vga_video_port_reg); /* CRTC overflow register */ in vgacon_adjust_height()
1049 outb_p(ovr, vga_video_port_val); in vgacon_adjust_height()
1050 outb_p(0x09, vga_video_port_reg); /* Font size */ in vgacon_adjust_height()
1051 outb_p(fsr, vga_video_port_val); in vgacon_adjust_height()
1052 outb_p(0x12, vga_video_port_reg); /* Vertical display limit */ in vgacon_adjust_height()
1053 outb_p(vde, vga_video_port_val); in vgacon_adjust_height()