Lines Matching refs:screen_info
49 #include <linux/screen_info.h>
379 if (screen_info.orig_video_isVGA == VIDEO_TYPE_VLFB) {
389 /* boot_params.screen_info initialized? */
390 if ((screen_info.orig_video_mode == 0) &&
391 (screen_info.orig_video_lines == 0) &&
392 (screen_info.orig_video_cols == 0))
396 if ((screen_info.orig_video_mode == 0x0D) || /* 320x200/4 */
397 (screen_info.orig_video_mode == 0x0E) || /* 640x200/4 */
398 (screen_info.orig_video_mode == 0x10) || /* 640x350/4 */
399 (screen_info.orig_video_mode == 0x12) || /* 640x480/4 */
400 (screen_info.orig_video_mode == 0x6A)) /* 800x600/4 (VESA) */
403 vga_video_num_lines = screen_info.orig_video_lines;
404 vga_video_num_columns = screen_info.orig_video_cols;
407 if (screen_info.orig_video_mode == 7) {
412 if ((screen_info.orig_video_ega_bx & 0xff) != 0x10) {
440 if ((screen_info.orig_video_ega_bx & 0xff) != 0x10) {
445 if (!screen_info.orig_video_isVGA) {
539 vga_default_font_height = screen_info.orig_video_points;
540 vga_video_font_height = screen_info.orig_video_points;
546 vgacon_xres = screen_info.orig_video_cols * VGA_FONTWIDTH;
592 !(screen_info.flags & VIDEO_FLAGS_NOCURSOR);
823 int rows = screen_info.orig_video_lines * vga_default_font_height/
843 vga_video_num_columns <= screen_info.orig_video_cols &&
1301 if (width % 2 || width > screen_info.orig_video_cols ||
1302 height > (screen_info.orig_video_lines * vga_default_font_height)/
1334 c->vc_x = screen_info.orig_x;
1335 c->vc_y = screen_info.orig_y;