Home
last modified time | relevance | path

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

1234

/openbmc/linux/arch/x86/xen/
H A Dvga.c13 struct screen_info *screen_info) in xen_init_vga() argument
17 screen_info->orig_video_mode = 3; in xen_init_vga()
18 screen_info->orig_video_isVGA = 1; in xen_init_vga()
19 screen_info->orig_video_lines = 25; in xen_init_vga()
20 screen_info->orig_video_cols = 80; in xen_init_vga()
21 screen_info->orig_video_ega_bx = 3; in xen_init_vga()
22 screen_info->orig_video_points = 16; in xen_init_vga()
23 screen_info->orig_y = screen_info->orig_video_lines - 1; in xen_init_vga()
34 screen_info->orig_video_points = in xen_init_vga()
43 screen_info->orig_video_isVGA = VIDEO_TYPE_VLFB; in xen_init_vga()
[all …]
/openbmc/linux/drivers/firmware/efi/
H A Dsysfb_efi.c103 if (screen_info.lfb_base == 0) { in efifb_set_system()
145 screen_info.lfb_base = 0; in efifb_set_system()
149 if (screen_info.lfb_base) { in efifb_set_system()
162 screen_info.lfb_linelength = 0; in efifb_set_system()
163 screen_info.lfb_width = 0; in efifb_set_system()
164 screen_info.lfb_height = 0; in efifb_set_system()
171 screen_info.lfb_base, screen_info.lfb_width, in efifb_set_system()
172 screen_info.lfb_height, screen_info.lfb_linelength); in efifb_set_system()
362 screen_info.lfb_width = screen_info.lfb_height; in sysfb_apply_efi_quirks()
363 screen_info.lfb_height = temp; in sysfb_apply_efi_quirks()
[all …]
H A Dearlycon.c39 efi_fb = memremap(fb_base, screen_info.lfb_size, in efi_earlycon_remap_fb()
79 len = screen_info.lfb_linelength; in efi_earlycon_clear_scanline()
102 len = screen_info.lfb_linelength; in efi_earlycon_scroll_up()
103 height = screen_info.lfb_height; in efi_earlycon_scroll_up()
148 struct screen_info *si; in efi_earlycon_write()
154 si = &screen_info; in efi_earlycon_write()
229 struct screen_info *si; in efi_earlycon_setup()
235 if (screen_info.orig_video_isVGA != VIDEO_TYPE_EFI) { in efi_earlycon_setup()
240 fb_base = screen_info.lfb_base; in efi_earlycon_setup()
242 fb_base |= (u64)screen_info.ext_lfb_base << 32; in efi_earlycon_setup()
[all …]
H A Defi-init.c60 struct screen_info *si; in init_screen_info()
68 screen_info = *si; in init_screen_info()
72 if (memblock_is_map_memory(screen_info.lfb_base)) in init_screen_info()
73 memblock_mark_nomap(screen_info.lfb_base, in init_screen_info()
74 screen_info.lfb_size); in init_screen_info()
/openbmc/linux/drivers/video/fbdev/
H A Defifb.c153 struct screen_info *si = &screen_info; in efifb_show_boot_graphics()
315 if (screen_info.lfb_base) in fb_base_is_valid()
382 if (!screen_info.lfb_depth) in efifb_probe()
384 if (!screen_info.pages) in efifb_probe()
385 screen_info.pages = 1; in efifb_probe()
394 screen_info.blue_size = 8; in efifb_probe()
395 screen_info.blue_pos = 0; in efifb_probe()
397 screen_info.green_pos = 8; in efifb_probe()
398 screen_info.red_size = 8; in efifb_probe()
399 screen_info.red_pos = 16; in efifb_probe()
[all …]
H A Dvesafb.c300 screen_info.vesapm_seg = 0; in vesafb_probe()
326 if (screen_info.vesapm_seg) { in vesafb_probe()
328 screen_info.vesapm_seg,screen_info.vesapm_off); in vesafb_probe()
402 screen_info.rsvd_size, in vesafb_probe()
403 screen_info.red_size, in vesafb_probe()
404 screen_info.green_size, in vesafb_probe()
405 screen_info.blue_size, in vesafb_probe()
406 screen_info.rsvd_pos, in vesafb_probe()
407 screen_info.red_pos, in vesafb_probe()
408 screen_info.green_pos, in vesafb_probe()
[all …]
/openbmc/linux/arch/x86/boot/
H 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 …]
H 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 …]
H 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()
/openbmc/u-boot/include/linux/
H A Dscreen_info.h10 struct screen_info { struct
72 extern struct screen_info screen_info;
74 #define ORIG_X (screen_info.orig_x)
75 #define ORIG_Y (screen_info.orig_y)
76 #define ORIG_VIDEO_MODE (screen_info.orig_video_mode)
77 #define ORIG_VIDEO_COLS (screen_info.orig_video_cols)
78 #define ORIG_VIDEO_EGA_BX (screen_info.orig_video_ega_bx)
79 #define ORIG_VIDEO_LINES (screen_info.orig_video_lines)
80 #define ORIG_VIDEO_ISVGA (screen_info.orig_video_isVGA)
81 #define ORIG_VIDEO_POINTS (screen_info.orig_video_points)
/openbmc/u-boot/drivers/pci/
H A Dpci_rom.c204 void setup_video(struct screen_info *screen_info) in setup_video() argument
214 screen_info->lfb_width = vesa->x_resolution; in setup_video()
215 screen_info->lfb_height = vesa->y_resolution; in setup_video()
216 screen_info->lfb_depth = vesa->bits_per_pixel; in setup_video()
218 screen_info->lfb_base = vesa->phys_base_ptr; in setup_video()
219 screen_info->lfb_size = in setup_video()
220 ALIGN(screen_info->lfb_linelength * screen_info->lfb_height, in setup_video()
222 screen_info->lfb_size >>= 16; in setup_video()
223 screen_info->red_size = vesa->red_mask_size; in setup_video()
224 screen_info->red_pos = vesa->red_mask_pos; in setup_video()
[all …]
/openbmc/linux/include/linux/
H A Dsysfb.h13 struct screen_info;
91 bool sysfb_parse_mode(const struct screen_info *si,
93 struct platform_device *sysfb_create_simplefb(const struct screen_info *si,
98 static inline bool sysfb_parse_mode(const struct screen_info *si, in sysfb_parse_mode()
104 static inline struct platform_device *sysfb_create_simplefb(const struct screen_info *si, in sysfb_create_simplefb()
H A Dscreen_info.h7 extern struct screen_info screen_info;
/openbmc/linux/arch/arm/kernel/
H 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()
H A Defi.c126 if (screen_info.orig_video_isVGA == VIDEO_TYPE_EFI) { in arm_efi_init()
128 screen_info.orig_video_cols = 80; in arm_efi_init()
129 screen_info.orig_video_lines = 25; in arm_efi_init()
/openbmc/linux/drivers/video/console/
H A Dvgacon.c168 if ((screen_info.orig_video_lines == 0) || in vgacon_startup()
169 (screen_info.orig_video_cols == 0)) in vgacon_startup()
180 vga_video_num_lines = screen_info.orig_video_lines; in vgacon_startup()
181 vga_video_num_columns = screen_info.orig_video_cols; in vgacon_startup()
184 if (screen_info.orig_video_mode == 7) { in vgacon_startup()
231 if (!screen_info.orig_video_isVGA) { in vgacon_startup()
374 !(screen_info.flags & VIDEO_FLAGS_NOCURSOR); in vgacon_init()
1059 screen_info.orig_video_cols = width; in vgacon_resize()
1060 screen_info.orig_video_lines = height; in vgacon_resize()
1095 c->state.x = screen_info.orig_x; in vgacon_save_screen()
[all …]
/openbmc/linux/drivers/firmware/efi/libstub/
H A Dscreen_info.c24 struct screen_info *__alloc_screen_info(void) in __alloc_screen_info()
26 struct screen_info *si; in __alloc_screen_info()
44 void free_screen_info(struct screen_info *si) in free_screen_info()
H A Defi-stub.c50 void __weak free_screen_info(struct screen_info *si) in free_screen_info()
54 static struct screen_info *setup_graphics(void) in setup_graphics()
60 struct screen_info *si = NULL; in setup_graphics()
161 struct screen_info *si; in efi_stub_common()
H A Defi-stub-entry.c12 struct screen_info *alloc_screen_info(void) in alloc_screen_info()
16 return (void *)&screen_info + screen_info_offset; in alloc_screen_info()
/openbmc/linux/arch/loongarch/kernel/
H A Defi.c73 struct screen_info *si; in init_screen_info()
83 screen_info = *si; in init_screen_info()
87 memblock_reserve(screen_info.lfb_base, screen_info.lfb_size); in init_screen_info()
/openbmc/linux/arch/hexagon/kernel/
H A Dscreen_info.c3 struct screen_info screen_info; variable
/openbmc/linux/arch/x86/boot/compressed/
H A Dmisc.c135 x = boot_params->screen_info.orig_x; in __putstr()
136 y = boot_params->screen_info.orig_y; in __putstr()
157 boot_params->screen_info.orig_x = x; in __putstr()
158 boot_params->screen_info.orig_y = y; in __putstr()
408 if (boot_params->screen_info.orig_video_mode == 7) { in extract_kernel()
416 lines = boot_params->screen_info.orig_video_lines; in extract_kernel()
417 cols = boot_params->screen_info.orig_video_cols; in extract_kernel()
/openbmc/u-boot/arch/x86/lib/
H A Dzimage.c249 setup_base->screen_info.cl_magic = COMMAND_LINE_MAGIC; in setup_zimage()
250 setup_base->screen_info.cl_offset = COMMAND_LINE_OFFSET; in setup_zimage()
274 setup_base->screen_info.cl_magic = COMMAND_LINE_MAGIC; in setup_zimage()
275 setup_base->screen_info.cl_offset = in setup_zimage()
291 setup_video(&setup_base->screen_info); in setup_zimage()
/openbmc/linux/arch/ia64/kernel/
H A Dsetup.c90 struct screen_info screen_info; variable
507 memset(&screen_info, 0, sizeof(screen_info)); in screen_info_setup()
525 screen_info.orig_x = orig_x; in screen_info_setup()
526 screen_info.orig_y = orig_y; in screen_info_setup()
527 screen_info.orig_video_cols = num_cols; in screen_info_setup()
528 screen_info.orig_video_lines = num_rows; in screen_info_setup()
529 screen_info.orig_video_points = font_height; in screen_info_setup()
530 screen_info.orig_video_mode = 3; /* XXX fake */ in screen_info_setup()
531 screen_info.orig_video_isVGA = 1; /* XXX fake */ in screen_info_setup()
532 screen_info.orig_video_ega_bx = 3; /* XXX fake */ in screen_info_setup()
/openbmc/u-boot/arch/x86/include/asm/
H A Dzimage.h37 void setup_video(struct screen_info *screen_info);

1234