Home
last modified time | relevance | path

Searched refs:screen_info (Results 1 – 25 of 55) sorted by relevance

123

/arch/x86/xen/
Dvga.c14 struct screen_info *screen_info = &boot_params.screen_info; in xen_init_vga() local
18 screen_info->orig_video_mode = 3; in xen_init_vga()
19 screen_info->orig_video_isVGA = 1; in xen_init_vga()
20 screen_info->orig_video_lines = 25; in xen_init_vga()
21 screen_info->orig_video_cols = 80; in xen_init_vga()
22 screen_info->orig_video_ega_bx = 3; in xen_init_vga()
23 screen_info->orig_video_points = 16; in xen_init_vga()
24 screen_info->orig_y = screen_info->orig_video_lines - 1; in xen_init_vga()
31 screen_info->orig_video_lines = info->u.text_mode_3.rows; in xen_init_vga()
32 screen_info->orig_video_cols = info->u.text_mode_3.columns; in xen_init_vga()
[all …]
/arch/x86/kernel/
Dsysfb_efi.c71 void efifb_setup_from_dmi(struct screen_info *si, const char *opt) in efifb_setup_from_dmi()
104 if (screen_info.lfb_base == 0) { in efifb_set_system()
110 screen_info.lfb_base = choose_value(info->base, in efifb_set_system()
111 screen_info.lfb_base, OVERRIDE_BASE, in efifb_set_system()
138 if (screen_info.lfb_base >= start && in efifb_set_system()
139 screen_info.lfb_base < end) { in efifb_set_system()
146 screen_info.lfb_base = 0; in efifb_set_system()
150 if (screen_info.lfb_base) { in efifb_set_system()
151 screen_info.lfb_linelength = choose_value(info->stride, in efifb_set_system()
152 screen_info.lfb_linelength, OVERRIDE_STRIDE, in efifb_set_system()
[all …]
Dsysfb.c43 struct screen_info *si = &screen_info; in sysfb_init()
Dkexec-bzimage64.c214 memcpy(&params->screen_info, &boot_params.screen_info, in setup_boot_parameters()
215 sizeof(struct screen_info)); in setup_boot_parameters()
218 params->screen_info.ext_mem_k = 0; in setup_boot_parameters()
245 params->screen_info.ext_mem_k = mem_k; in setup_boot_parameters()
248 params->screen_info.ext_mem_k = 0xfc00; /* 64M*/ in setup_boot_parameters()
Dsysfb_simplefb.c31 __init bool parse_mode(const struct screen_info *si, in parse_mode()
64 __init int create_simplefb(const struct screen_info *si, in create_simplefb()
Dearly_printk.c377 boot_params.screen_info.orig_video_isVGA == 1) { in setup_early_printk()
378 max_xpos = boot_params.screen_info.orig_video_cols; in setup_early_printk()
379 max_ypos = boot_params.screen_info.orig_video_lines; in setup_early_printk()
380 current_ypos = boot_params.screen_info.orig_y; in setup_early_printk()
/arch/ia64/dig/
Dsetup.c44 memset(&screen_info, 0, sizeof(screen_info)); in dig_setup()
63 screen_info.orig_x = orig_x; in dig_setup()
64 screen_info.orig_y = orig_y; in dig_setup()
65 screen_info.orig_video_cols = num_cols; in dig_setup()
66 screen_info.orig_video_lines = num_rows; in dig_setup()
67 screen_info.orig_video_points = font_height; in dig_setup()
68 screen_info.orig_video_mode = 3; /* XXX fake */ in dig_setup()
69 screen_info.orig_video_isVGA = 1; /* XXX fake */ in dig_setup()
70 screen_info.orig_video_ega_bx = 3; /* XXX fake */ in dig_setup()
/arch/x86/boot/
Dvideo-vesa.c179 boot_params.screen_info.red_size = dac_size; in vesa_dac_set_8bits()
180 boot_params.screen_info.green_size = dac_size; in vesa_dac_set_8bits()
181 boot_params.screen_info.blue_size = dac_size; in vesa_dac_set_8bits()
182 boot_params.screen_info.rsvd_size = dac_size; in vesa_dac_set_8bits()
184 boot_params.screen_info.red_pos = 0; in vesa_dac_set_8bits()
185 boot_params.screen_info.green_pos = 0; in vesa_dac_set_8bits()
186 boot_params.screen_info.blue_pos = 0; in vesa_dac_set_8bits()
187 boot_params.screen_info.rsvd_pos = 0; in vesa_dac_set_8bits()
202 boot_params.screen_info.vesapm_seg = oreg.es; in vesa_store_pm_info()
203 boot_params.screen_info.vesapm_off = oreg.di; in vesa_store_pm_info()
[all …]
Dvideo.c32 boot_params.screen_info.orig_x = oreg.dl; in store_cursor_position()
33 boot_params.screen_info.orig_y = oreg.dh; in store_cursor_position()
36 boot_params.screen_info.flags |= VIDEO_FLAGS_NOCURSOR; in store_cursor_position()
39 boot_params.screen_info.flags |= VIDEO_FLAGS_NOCURSOR; in store_cursor_position()
53 boot_params.screen_info.orig_video_mode = oreg.al & 0x7f; in store_video_mode()
54 boot_params.screen_info.orig_video_page = oreg.bh; in store_video_mode()
76 if (boot_params.screen_info.orig_video_mode == 0x07) { in store_mode_params()
86 boot_params.screen_info.orig_video_points = font_size; in store_mode_params()
96 boot_params.screen_info.orig_video_cols = x; in store_mode_params()
97 boot_params.screen_info.orig_video_lines = y; in store_mode_params()
[all …]
Dvideo-bios.c52 if (new_mode != boot_params.screen_info.orig_video_mode) { in set_bios_mode()
56 ireg.ax = boot_params.screen_info.orig_video_mode; in set_bios_mode()
69 u8 saved_mode = boot_params.screen_info.orig_video_mode; in bios_probe()
/arch/x86/platform/efi/
Dearly_printk.c34 base = boot_params.screen_info.lfb_base; in early_efi_map_fb()
35 size = boot_params.screen_info.lfb_size; in early_efi_map_fb()
51 base = boot_params.screen_info.lfb_base; in early_efi_map()
70 len = boot_params.screen_info.lfb_linelength; in early_efi_clear_scanline()
85 len = boot_params.screen_info.lfb_linelength; in early_efi_scroll_up()
86 height = boot_params.screen_info.lfb_height; in early_efi_scroll_up()
129 struct screen_info *si; in early_efi_write()
134 si = &boot_params.screen_info; in early_efi_write()
201 struct screen_info *si; in early_efi_setup()
205 si = &boot_params.screen_info; in early_efi_setup()
/arch/x86/include/asm/
Dsysfb.h77 bool parse_mode(const struct screen_info *si,
79 int create_simplefb(const struct screen_info *si,
84 static inline bool parse_mode(const struct screen_info *si, in parse_mode()
90 static inline int create_simplefb(const struct screen_info *si, in create_simplefb()
/arch/arm64/include/asm/
Defi.h91 #define alloc_screen_info(x...) &screen_info
94 struct screen_info *si) in free_screen_info()
99 extern struct screen_info screen_info __attribute__((__visibility__("hidden")));
101 static inline void efifb_setup_from_dmi(struct screen_info *si, const char *opt) in efifb_setup_from_dmi()
/arch/arm/kernel/
Datags_parse.c77 screen_info.orig_x = tag->u.videotext.x; in parse_tag_videotext()
78 screen_info.orig_y = tag->u.videotext.y; in parse_tag_videotext()
79 screen_info.orig_video_page = tag->u.videotext.video_page; in parse_tag_videotext()
80 screen_info.orig_video_mode = tag->u.videotext.video_mode; in parse_tag_videotext()
81 screen_info.orig_video_cols = tag->u.videotext.video_cols; in parse_tag_videotext()
82 screen_info.orig_video_ega_bx = tag->u.videotext.video_ega_bx; in parse_tag_videotext()
83 screen_info.orig_video_lines = tag->u.videotext.video_lines; in parse_tag_videotext()
84 screen_info.orig_video_isVGA = tag->u.videotext.video_isvga; in parse_tag_videotext()
85 screen_info.orig_video_points = tag->u.videotext.video_points; in parse_tag_videotext()
/arch/hexagon/kernel/
Dscreen_info.c3 struct screen_info screen_info; variable
/arch/arm/mach-footbridge/
Dcats-hw.c83 screen_info.orig_video_lines = 25; in fixup_cats()
84 screen_info.orig_video_points = 16; in fixup_cats()
85 screen_info.orig_y = 24; in fixup_cats()
/arch/mips/loongson64/common/
Dsetup.c43 screen_info = (struct screen_info) { in plat_mem_setup()
/arch/arm/include/asm/
Defi.h64 struct screen_info *alloc_screen_info(efi_system_table_t *sys_table_arg);
65 void free_screen_info(efi_system_table_t *sys_table, struct screen_info *si);
67 static inline void efifb_setup_from_dmi(struct screen_info *si, const char *opt) in efifb_setup_from_dmi()
/arch/x86/boot/compressed/
Dmisc.c124 x = boot_params->screen_info.orig_x; in __putstr()
125 y = boot_params->screen_info.orig_y; in __putstr()
146 boot_params->screen_info.orig_x = x; in __putstr()
147 boot_params->screen_info.orig_y = y; in __putstr()
366 if (boot_params->screen_info.orig_video_mode == 7) { in extract_kernel()
374 lines = boot_params->screen_info.orig_video_lines; in extract_kernel()
375 cols = boot_params->screen_info.orig_video_cols; in extract_kernel()
/arch/mips/sibyte/swarm/
Dsetup.c145 screen_info = (struct screen_info) { in plat_mem_setup()
/arch/arm64/kernel/
Defi.c59 struct screen_info screen_info __section(.data);
/arch/nios2/kernel/
Dsetup.c42 struct screen_info screen_info; variable
/arch/cris/kernel/
Dsetup.c31 struct screen_info screen_info; variable
/arch/mips/jazz/
Dsetup.c79 screen_info = (struct screen_info) { in plat_mem_setup()
/arch/m32r/include/asm/
Dsetup.h23 #define SCREEN_INFO (*(struct screen_info *) (PARAM+0x200))

123