Home
last modified time | relevance | path

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

12345678910>>...24

/linux/arch/x86/xen/
A 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()
35 screen_info->orig_video_points = in xen_init_vga()
44 screen_info->orig_video_isVGA = VIDEO_TYPE_VLFB; in xen_init_vga()
[all …]
/linux/drivers/firmware/efi/
A Dsysfb_efi.c105 if (screen_info.lfb_base == 0) { in efifb_set_system()
147 screen_info.lfb_base = 0; in efifb_set_system()
151 if (screen_info.lfb_base) { in efifb_set_system()
164 screen_info.lfb_linelength = 0; in efifb_set_system()
165 screen_info.lfb_width = 0; in efifb_set_system()
166 screen_info.lfb_height = 0; in efifb_set_system()
173 screen_info.lfb_base, screen_info.lfb_width, in efifb_set_system()
174 screen_info.lfb_height, screen_info.lfb_linelength); in efifb_set_system()
348 screen_info.lfb_width = screen_info.lfb_height; in sysfb_apply_efi_quirks()
349 screen_info.lfb_height = temp; in sysfb_apply_efi_quirks()
[all …]
A Dearlycon.c36 efi_fb = memremap(fb_base, screen_info.lfb_size, in efi_earlycon_remap_fb()
76 len = screen_info.lfb_linelength; in efi_earlycon_clear_scanline()
91 len = screen_info.lfb_linelength; in efi_earlycon_scroll_up()
92 height = screen_info.lfb_height; in efi_earlycon_scroll_up()
137 struct screen_info *si; in efi_earlycon_write()
142 si = &screen_info; in efi_earlycon_write()
210 struct screen_info *si; in efi_earlycon_setup()
214 if (screen_info.orig_video_isVGA != VIDEO_TYPE_EFI) in efi_earlycon_setup()
217 fb_base = screen_info.lfb_base; in efi_earlycon_setup()
219 fb_base |= (u64)screen_info.ext_lfb_base << 32; in efi_earlycon_setup()
[all …]
A Defi-init.c65 struct screen_info *si; in init_screen_info()
74 screen_info = *si; in init_screen_info()
78 screen_info.orig_video_cols = 80; in init_screen_info()
79 screen_info.orig_video_lines = 25; in init_screen_info()
82 if (screen_info.orig_video_isVGA == VIDEO_TYPE_EFI && in init_screen_info()
83 memblock_is_map_memory(screen_info.lfb_base)) in init_screen_info()
84 memblock_mark_nomap(screen_info.lfb_base, screen_info.lfb_size); in init_screen_info()
/linux/drivers/video/fbdev/
A Defifb.c146 struct screen_info *si = &screen_info; in efifb_show_boot_graphics()
302 if (screen_info.lfb_base) in fb_base_is_valid()
379 if (!screen_info.lfb_depth) in efifb_probe()
381 if (!screen_info.pages) in efifb_probe()
382 screen_info.pages = 1; in efifb_probe()
391 screen_info.blue_size = 8; in efifb_probe()
392 screen_info.blue_pos = 0; in efifb_probe()
394 screen_info.green_pos = 8; in efifb_probe()
395 screen_info.red_size = 8; in efifb_probe()
396 screen_info.red_pos = 16; in efifb_probe()
[all …]
A Dvesafb.c293 screen_info.vesapm_seg = 0; in vesafb_probe()
325 if (screen_info.vesapm_seg) { in vesafb_probe()
327 screen_info.vesapm_seg,screen_info.vesapm_off); in vesafb_probe()
401 screen_info.rsvd_size, in vesafb_probe()
402 screen_info.red_size, in vesafb_probe()
403 screen_info.green_size, in vesafb_probe()
404 screen_info.blue_size, in vesafb_probe()
405 screen_info.rsvd_pos, in vesafb_probe()
406 screen_info.red_pos, in vesafb_probe()
407 screen_info.green_pos, in vesafb_probe()
[all …]
/linux/arch/x86/boot/
A Dvideo-vesa.c177 boot_params.screen_info.red_size = dac_size; in vesa_dac_set_8bits()
178 boot_params.screen_info.green_size = dac_size; in vesa_dac_set_8bits()
179 boot_params.screen_info.blue_size = dac_size; in vesa_dac_set_8bits()
180 boot_params.screen_info.rsvd_size = dac_size; in vesa_dac_set_8bits()
182 boot_params.screen_info.red_pos = 0; in vesa_dac_set_8bits()
183 boot_params.screen_info.green_pos = 0; in vesa_dac_set_8bits()
184 boot_params.screen_info.blue_pos = 0; in vesa_dac_set_8bits()
185 boot_params.screen_info.rsvd_pos = 0; in vesa_dac_set_8bits()
200 boot_params.screen_info.vesapm_seg = oreg.es; in vesa_store_pm_info()
201 boot_params.screen_info.vesapm_off = oreg.di; in vesa_store_pm_info()
[all …]
A Dvideo.c30 boot_params.screen_info.orig_x = oreg.dl; in store_cursor_position()
31 boot_params.screen_info.orig_y = oreg.dh; in store_cursor_position()
34 boot_params.screen_info.flags |= VIDEO_FLAGS_NOCURSOR; in store_cursor_position()
52 boot_params.screen_info.orig_video_page = oreg.bh; in store_video_mode()
94 boot_params.screen_info.orig_video_cols = x; in store_mode_params()
95 boot_params.screen_info.orig_video_lines = y; in store_mode_params()
242 saved.x = boot_params.screen_info.orig_video_cols; in save_screen()
244 saved.curx = boot_params.screen_info.orig_x; in save_screen()
245 saved.cury = boot_params.screen_info.orig_y; in save_screen()
259 int xs = boot_params.screen_info.orig_video_cols; in restore_screen()
[all …]
A Dvideo-bios.c50 if (new_mode != boot_params.screen_info.orig_video_mode) { in set_bios_mode()
54 ireg.ax = boot_params.screen_info.orig_video_mode; in set_bios_mode()
67 u8 saved_mode = boot_params.screen_info.orig_video_mode; in bios_probe()
/linux/arch/arm/kernel/
A Datags_parse.c75 screen_info.orig_x = tag->u.videotext.x; in parse_tag_videotext()
76 screen_info.orig_y = tag->u.videotext.y; in parse_tag_videotext()
77 screen_info.orig_video_page = tag->u.videotext.video_page; in parse_tag_videotext()
78 screen_info.orig_video_mode = tag->u.videotext.video_mode; in parse_tag_videotext()
79 screen_info.orig_video_cols = tag->u.videotext.video_cols; in parse_tag_videotext()
80 screen_info.orig_video_ega_bx = tag->u.videotext.video_ega_bx; in parse_tag_videotext()
81 screen_info.orig_video_lines = tag->u.videotext.video_lines; in parse_tag_videotext()
82 screen_info.orig_video_isVGA = tag->u.videotext.video_isvga; in parse_tag_videotext()
83 screen_info.orig_video_points = tag->u.videotext.video_points; in parse_tag_videotext()
/linux/drivers/video/console/
A Dvgacon.c197 if ((screen_info.orig_video_lines == 0) || in vgacon_startup()
198 (screen_info.orig_video_cols == 0)) in vgacon_startup()
209 vga_video_num_lines = screen_info.orig_video_lines; in vgacon_startup()
210 vga_video_num_columns = screen_info.orig_video_cols; in vgacon_startup()
213 if (screen_info.orig_video_mode == 7) { in vgacon_startup()
260 if (!screen_info.orig_video_isVGA) { in vgacon_startup()
403 !(screen_info.flags & VIDEO_FLAGS_NOCURSOR); in vgacon_init()
1098 screen_info.orig_video_cols = width; in vgacon_resize()
1099 screen_info.orig_video_lines = height; in vgacon_resize()
1134 c->state.x = screen_info.orig_x; in vgacon_save_screen()
[all …]
/linux/include/linux/
A Dsysfb.h73 bool sysfb_parse_mode(const struct screen_info *si,
75 int sysfb_create_simplefb(const struct screen_info *si,
80 static inline bool sysfb_parse_mode(const struct screen_info *si, in sysfb_parse_mode()
86 static inline int sysfb_create_simplefb(const struct screen_info *si, in sysfb_create_simplefb()
A Dscreen_info.h7 extern struct screen_info screen_info;
/linux/arch/x86/boot/compressed/
A Dmisc.c129 x = boot_params->screen_info.orig_x; in __putstr()
130 y = boot_params->screen_info.orig_y; in __putstr()
151 boot_params->screen_info.orig_x = x; in __putstr()
152 boot_params->screen_info.orig_y = y; in __putstr()
362 if (boot_params->screen_info.orig_video_mode == 7) { in extract_kernel()
370 lines = boot_params->screen_info.orig_video_lines; in extract_kernel()
371 cols = boot_params->screen_info.orig_video_cols; in extract_kernel()
/linux/arch/ia64/kernel/
A Dsetup.c89 struct screen_info screen_info; variable
505 memset(&screen_info, 0, sizeof(screen_info)); in screen_info_setup()
523 screen_info.orig_x = orig_x; in screen_info_setup()
524 screen_info.orig_y = orig_y; in screen_info_setup()
525 screen_info.orig_video_cols = num_cols; in screen_info_setup()
526 screen_info.orig_video_lines = num_rows; in screen_info_setup()
527 screen_info.orig_video_points = font_height; in screen_info_setup()
528 screen_info.orig_video_mode = 3; /* XXX fake */ in screen_info_setup()
529 screen_info.orig_video_isVGA = 1; /* XXX fake */ in screen_info_setup()
530 screen_info.orig_video_ega_bx = 3; /* XXX fake */ in screen_info_setup()
/linux/arch/arm/mach-footbridge/
A 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()
/linux/arch/hexagon/kernel/
A Dscreen_info.c3 struct screen_info screen_info; variable
/linux/arch/arm64/kernel/
A Defi.c57 struct screen_info screen_info __section(".data");
58 EXPORT_SYMBOL(screen_info);
/linux/drivers/firmware/efi/libstub/
A Darm32-stub.c81 struct screen_info *alloc_screen_info(void) in alloc_screen_info()
83 struct screen_info *si; in alloc_screen_info()
107 void free_screen_info(struct screen_info *si) in free_screen_info()
/linux/arch/riscv/include/asm/
A Defi.h36 #define alloc_screen_info(x...) (&screen_info)
38 static inline void free_screen_info(struct screen_info *si) in free_screen_info()
/linux/drivers/video/fbdev/intelfb/
A Dintelfbdrv.c953 var->xres = screen_info.lfb_width; in get_initial_mode()
954 var->yres = screen_info.lfb_height; in get_initial_mode()
955 var->bits_per_pixel = screen_info.lfb_depth; in get_initial_mode()
956 switch (screen_info.lfb_depth) { in get_initial_mode()
991 var->red.offset = screen_info.red_pos; in get_initial_mode()
992 var->red.length = screen_info.red_size; in get_initial_mode()
993 var->green.offset = screen_info.green_pos; in get_initial_mode()
994 var->green.length = screen_info.green_size; in get_initial_mode()
995 var->blue.offset = screen_info.blue_pos; in get_initial_mode()
996 var->blue.length = screen_info.blue_size; in get_initial_mode()
[all …]
/linux/arch/x86/kernel/
A Dkexec-bzimage64.c203 memcpy(&params->screen_info, &screen_info, sizeof(struct screen_info)); in setup_boot_parameters()
206 params->screen_info.ext_mem_k = 0; in setup_boot_parameters()
236 params->screen_info.ext_mem_k = mem_k; in setup_boot_parameters()
239 params->screen_info.ext_mem_k = 0xfc00; /* 64M*/ in setup_boot_parameters()
A Dearly_printk.c374 boot_params.screen_info.orig_video_isVGA == 1) { in setup_early_printk()
375 max_xpos = boot_params.screen_info.orig_video_cols; in setup_early_printk()
376 max_ypos = boot_params.screen_info.orig_video_lines; in setup_early_printk()
377 current_ypos = boot_params.screen_info.orig_y; in setup_early_printk()
/linux/drivers/firmware/
A Dsysfb.c39 struct screen_info *si = &screen_info; in sysfb_init()
/linux/arch/arm/include/asm/
A Defi.h52 struct screen_info *alloc_screen_info(void);
53 void free_screen_info(struct screen_info *si);

Completed in 31 milliseconds

12345678910>>...24