Lines Matching refs:vga_si
92 static struct screen_info *vga_si; variable
190 if (!vga_si || in vgacon_startup()
191 vga_si->orig_video_isVGA == VIDEO_TYPE_VLFB || in vgacon_startup()
192 vga_si->orig_video_isVGA == VIDEO_TYPE_EFI) { in vgacon_startup()
203 if ((vga_si->orig_video_lines == 0) || in vgacon_startup()
204 (vga_si->orig_video_cols == 0)) in vgacon_startup()
208 if ((vga_si->orig_video_mode == 0x0D) || /* 320x200/4 */ in vgacon_startup()
209 (vga_si->orig_video_mode == 0x0E) || /* 640x200/4 */ in vgacon_startup()
210 (vga_si->orig_video_mode == 0x10) || /* 640x350/4 */ in vgacon_startup()
211 (vga_si->orig_video_mode == 0x12) || /* 640x480/4 */ in vgacon_startup()
212 (vga_si->orig_video_mode == 0x6A)) /* 800x600/4 (VESA) */ in vgacon_startup()
215 vga_video_num_lines = vga_si->orig_video_lines; in vgacon_startup()
216 vga_video_num_columns = vga_si->orig_video_cols; in vgacon_startup()
219 if (vga_si->orig_video_mode == 7) { in vgacon_startup()
224 if ((vga_si->orig_video_ega_bx & 0xff) != 0x10) { in vgacon_startup()
261 if ((vga_si->orig_video_ega_bx & 0xff) != 0x10) { in vgacon_startup()
266 if (!vga_si->orig_video_isVGA) { in vgacon_startup()
357 vga_default_font_height = vga_si->orig_video_points; in vgacon_startup()
358 vga_video_font_height = vga_si->orig_video_points; in vgacon_startup()
364 vgacon_xres = vga_si->orig_video_cols * VGA_FONTWIDTH; in vgacon_startup()
409 !(vga_si->flags & VIDEO_FLAGS_NOCURSOR); in vgacon_init()
621 int rows = vga_si->orig_video_lines * vga_default_font_height/ in vgacon_switch()
641 vga_video_num_columns <= vga_si->orig_video_cols && in vgacon_switch()
1088 vga_si->orig_video_cols = width; in vgacon_resize()
1089 vga_si->orig_video_lines = height; in vgacon_resize()
1093 if (width % 2 || width > vga_si->orig_video_cols || in vgacon_resize()
1094 height > (vga_si->orig_video_lines * vga_default_font_height)/ in vgacon_resize()
1124 c->state.x = vga_si->orig_x; in vgacon_save_screen()
1125 c->state.y = vga_si->orig_y; in vgacon_save_screen()
1218 if (!si || vga_si) in vgacon_register_screen()
1222 vga_si = si; in vgacon_register_screen()