Home
last modified time | relevance | path

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

123

/Linux-v6.1/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 …]
/Linux-v6.1/drivers/firmware/efi/
Dsysfb_efi.c70 void efifb_setup_from_dmi(struct screen_info *si, const char *opt) in efifb_setup_from_dmi()
103 if (screen_info.lfb_base == 0) { in efifb_set_system()
109 screen_info.lfb_base = choose_value(info->base, in efifb_set_system()
110 screen_info.lfb_base, OVERRIDE_BASE, in efifb_set_system()
137 if (screen_info.lfb_base >= start && in efifb_set_system()
138 screen_info.lfb_base < end) { in efifb_set_system()
145 screen_info.lfb_base = 0; in efifb_set_system()
149 if (screen_info.lfb_base) { in efifb_set_system()
150 screen_info.lfb_linelength = choose_value(info->stride, in efifb_set_system()
151 screen_info.lfb_linelength, OVERRIDE_STRIDE, in efifb_set_system()
[all …]
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()
218 if (screen_info.capabilities & VIDEO_CAPABILITY_64BIT_BASE) in efi_earlycon_setup()
[all …]
Defi-init.c58 if (screen_info.orig_video_isVGA == VIDEO_TYPE_EFI && in init_screen_info()
59 memblock_is_map_memory(screen_info.lfb_base)) in init_screen_info()
60 memblock_mark_nomap(screen_info.lfb_base, screen_info.lfb_size); in init_screen_info()
/Linux-v6.1/drivers/video/fbdev/
Defifb.c104 static void efifb_copy_bmp(u8 *src, u32 *dst, int width, struct screen_info *si) in efifb_copy_bmp()
126 static bool efifb_bgrt_sanity_check(struct screen_info *si, u32 bmp_width) in efifb_bgrt_sanity_check()
137 static bool efifb_bgrt_sanity_check(struct screen_info *si, u32 bmp_width) in efifb_bgrt_sanity_check()
146 struct screen_info *si = &screen_info; in efifb_show_boot_graphics()
287 efifb_setup_from_dmi(&screen_info, this_opt); in efifb_setup()
290 screen_info.lfb_base = simple_strtoul(this_opt+5, NULL, 0); in efifb_setup()
292 screen_info.lfb_linelength = simple_strtoul(this_opt+7, NULL, 0) * 4; in efifb_setup()
294 screen_info.lfb_height = simple_strtoul(this_opt+7, NULL, 0); in efifb_setup()
296 screen_info.lfb_width = simple_strtoul(this_opt+6, NULL, 0); in efifb_setup()
309 if (screen_info.lfb_base) in fb_base_is_valid()
[all …]
Dvesafb.c257 if (screen_info.orig_video_isVGA != VIDEO_TYPE_VLFB) in vesafb_probe()
260 vga_compat = (screen_info.capabilities & 2) ? 0 : 1; in vesafb_probe()
261 vesafb_fix.smem_start = screen_info.lfb_base; in vesafb_probe()
262 vesafb_defined.bits_per_pixel = screen_info.lfb_depth; in vesafb_probe()
265 vesafb_defined.xres = screen_info.lfb_width; in vesafb_probe()
266 vesafb_defined.yres = screen_info.lfb_height; in vesafb_probe()
267 vesafb_fix.line_length = screen_info.lfb_linelength; in vesafb_probe()
279 size_total = screen_info.lfb_size * 65536; in vesafb_probe()
299 screen_info.vesapm_seg = 0; in vesafb_probe()
325 info->apertures->ranges[0].base = screen_info.lfb_base; in vesafb_probe()
[all …]
/Linux-v6.1/arch/x86/boot/
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 …]
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()
37 boot_params.screen_info.flags |= VIDEO_FLAGS_NOCURSOR; in store_cursor_position()
51 boot_params.screen_info.orig_video_mode = oreg.al & 0x7f; in store_video_mode()
52 boot_params.screen_info.orig_video_page = oreg.bh; in store_video_mode()
74 if (boot_params.screen_info.orig_video_mode == 0x07) { in store_mode_params()
84 boot_params.screen_info.orig_video_points = font_size; in store_mode_params()
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()
[all …]
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-v6.1/arch/arm/kernel/
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()
Defi.c89 struct screen_info *si; in load_screen_info_table()
97 screen_info = *si; in load_screen_info_table()
101 screen_info.orig_video_cols = 80; in load_screen_info_table()
102 screen_info.orig_video_lines = 25; in load_screen_info_table()
104 if (memblock_is_map_memory(screen_info.lfb_base)) in load_screen_info_table()
105 memblock_mark_nomap(screen_info.lfb_base, in load_screen_info_table()
106 screen_info.lfb_size); in load_screen_info_table()
/Linux-v6.1/arch/loongarch/include/asm/
Defi.h12 void efifb_setup_from_dmi(struct screen_info *si, const char *opt);
22 static inline struct screen_info *alloc_screen_info(void) in alloc_screen_info()
24 return &screen_info; in alloc_screen_info()
27 static inline void free_screen_info(struct screen_info *si) in free_screen_info()
/Linux-v6.1/drivers/video/console/
Dvgacon.c164 if (screen_info.orig_video_isVGA == VIDEO_TYPE_VLFB || in vgacon_startup()
165 screen_info.orig_video_isVGA == VIDEO_TYPE_EFI) { in vgacon_startup()
176 if ((screen_info.orig_video_lines == 0) || in vgacon_startup()
177 (screen_info.orig_video_cols == 0)) in vgacon_startup()
181 if ((screen_info.orig_video_mode == 0x0D) || /* 320x200/4 */ in vgacon_startup()
182 (screen_info.orig_video_mode == 0x0E) || /* 640x200/4 */ in vgacon_startup()
183 (screen_info.orig_video_mode == 0x10) || /* 640x350/4 */ in vgacon_startup()
184 (screen_info.orig_video_mode == 0x12) || /* 640x480/4 */ in vgacon_startup()
185 (screen_info.orig_video_mode == 0x6A)) /* 800x600/4 (VESA) */ in vgacon_startup()
188 vga_video_num_lines = screen_info.orig_video_lines; in vgacon_startup()
[all …]
/Linux-v6.1/include/linux/
Dsysfb.h85 bool sysfb_parse_mode(const struct screen_info *si,
87 struct platform_device *sysfb_create_simplefb(const struct screen_info *si,
92 static inline bool sysfb_parse_mode(const struct screen_info *si, in sysfb_parse_mode()
98 static inline struct platform_device *sysfb_create_simplefb(const struct screen_info *si, in sysfb_create_simplefb()
Dscreen_info.h7 extern struct screen_info screen_info;
/Linux-v6.1/arch/x86/boot/compressed/
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()
368 if (boot_params->screen_info.orig_video_mode == 7) { in extract_kernel()
376 lines = boot_params->screen_info.orig_video_lines; in extract_kernel()
377 cols = boot_params->screen_info.orig_video_cols; in extract_kernel()
/Linux-v6.1/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()
/Linux-v6.1/arch/hexagon/kernel/
Dscreen_info.c3 struct screen_info screen_info; variable
/Linux-v6.1/arch/loongarch/kernel/
Defi.c83 if (screen_info.orig_video_isVGA == VIDEO_TYPE_EFI) in efi_init()
84 memblock_reserve(screen_info.lfb_base, screen_info.lfb_size); in efi_init()
/Linux-v6.1/arch/ia64/kernel/
Dsetup.c89 struct screen_info screen_info; variable
502 memset(&screen_info, 0, sizeof(screen_info)); in screen_info_setup()
520 screen_info.orig_x = orig_x; in screen_info_setup()
521 screen_info.orig_y = orig_y; in screen_info_setup()
522 screen_info.orig_video_cols = num_cols; in screen_info_setup()
523 screen_info.orig_video_lines = num_rows; in screen_info_setup()
524 screen_info.orig_video_points = font_height; in screen_info_setup()
525 screen_info.orig_video_mode = 3; /* XXX fake */ in screen_info_setup()
526 screen_info.orig_video_isVGA = 1; /* XXX fake */ in screen_info_setup()
527 screen_info.orig_video_ega_bx = 3; /* XXX fake */ in screen_info_setup()
/Linux-v6.1/arch/arm64/kernel/
Defi.c73 struct screen_info screen_info __section(".data");
74 EXPORT_SYMBOL(screen_info);
/Linux-v6.1/arch/riscv/include/asm/
Defi.h38 #define alloc_screen_info(x...) (&screen_info)
40 static inline void free_screen_info(struct screen_info *si) in free_screen_info()
/Linux-v6.1/drivers/firmware/efi/libstub/
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-v6.1/arch/arm/include/asm/
Defi.h46 struct screen_info *alloc_screen_info(void);
47 void free_screen_info(struct screen_info *si);
/Linux-v6.1/drivers/firmware/
Dsysfb.c74 struct screen_info *si = &screen_info; in sysfb_init()

123