/kernel/linux/linux-5.10/arch/x86/xen/ |
H A D | vga.c | 2 #include <linux/screen_info.h> 14 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 in xen_init_vga() [all...] |
/kernel/linux/linux-6.6/arch/x86/xen/ |
H A D | vga.c | 2 #include <linux/screen_info.h> 13 struct screen_info *screen_info) in xen_init_vga() 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 in xen_init_vga() 12 xen_init_vga(const struct dom0_vga_console_info *info, size_t size, struct screen_info *screen_info) xen_init_vga() argument [all...] |
/kernel/linux/linux-6.6/drivers/firmware/efi/ |
H A D | sysfb_efi.c | 25 #include <linux/screen_info.h> 70 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 in efifb_set_system() [all...] |
H A D | earlycon.c | 12 #include <linux/screen_info.h> 39 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 in efi_earlycon_setup() [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | efifb.c | 18 #include <linux/screen_info.h> 101 static void efifb_copy_bmp(u8 *src, u32 *dst, int width, struct screen_info *si) in efifb_copy_bmp() 123 static bool efifb_bgrt_sanity_check(struct screen_info *si, u32 bmp_width) in efifb_bgrt_sanity_check() 134 static bool efifb_bgrt_sanity_check(struct screen_info *si, u32 bmp_width) in efifb_bgrt_sanity_check() 143 struct screen_info *si = &screen_info; in efifb_show_boot_graphics() 275 efifb_setup_from_dmi(&screen_info, this_opt); in efifb_setup() 278 screen_info.lfb_base = simple_strtoul(this_opt+5, NULL, 0); in efifb_setup() 280 screen_info.lfb_linelength = simple_strtoul(this_opt+7, NULL, 0) * 4; in efifb_setup() 282 screen_info in efifb_setup() [all...] |
H A D | vesafb.c | 22 #include <linux/screen_info.h> 251 if (screen_info.orig_video_isVGA != VIDEO_TYPE_VLFB) in vesafb_probe() 254 vga_compat = (screen_info.capabilities & 2) ? 0 : 1; in vesafb_probe() 255 vesafb_fix.smem_start = screen_info.lfb_base; in vesafb_probe() 256 vesafb_defined.bits_per_pixel = screen_info.lfb_depth; in vesafb_probe() 259 vesafb_defined.xres = screen_info.lfb_width; in vesafb_probe() 260 vesafb_defined.yres = screen_info.lfb_height; in vesafb_probe() 261 vesafb_fix.line_length = screen_info.lfb_linelength; in vesafb_probe() 273 size_total = screen_info.lfb_size * 65536; in vesafb_probe() 293 screen_info in vesafb_probe() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | efifb.c | 19 #include <linux/screen_info.h> 111 static void efifb_copy_bmp(u8 *src, u32 *dst, int width, struct screen_info *si) in efifb_copy_bmp() 133 static bool efifb_bgrt_sanity_check(struct screen_info *si, u32 bmp_width) in efifb_bgrt_sanity_check() 144 static bool efifb_bgrt_sanity_check(struct screen_info *si, u32 bmp_width) in efifb_bgrt_sanity_check() 153 struct screen_info *si = &screen_info; in efifb_show_boot_graphics() 293 efifb_setup_from_dmi(&screen_info, this_opt); in efifb_setup() 296 screen_info.lfb_base = simple_strtoul(this_opt+5, NULL, 0); in efifb_setup() 298 screen_info.lfb_linelength = simple_strtoul(this_opt+7, NULL, 0) * 4; in efifb_setup() 300 screen_info in efifb_setup() [all...] |
H A D | vesafb.c | 23 #include <linux/screen_info.h> 258 if (screen_info.orig_video_isVGA != VIDEO_TYPE_VLFB) in vesafb_probe() 261 vga_compat = (screen_info.capabilities & 2) ? 0 : 1; in vesafb_probe() 262 vesafb_fix.smem_start = screen_info.lfb_base; in vesafb_probe() 263 vesafb_defined.bits_per_pixel = screen_info.lfb_depth; in vesafb_probe() 266 vesafb_defined.xres = screen_info.lfb_width; in vesafb_probe() 267 vesafb_defined.yres = screen_info.lfb_height; in vesafb_probe() 268 vesafb_fix.line_length = screen_info.lfb_linelength; in vesafb_probe() 280 size_total = screen_info.lfb_size * 65536; in vesafb_probe() 300 screen_info in vesafb_probe() [all...] |
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | sysfb_efi.c | 23 #include <linux/screen_info.h> 70 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 in efifb_set_system() [all...] |
/kernel/linux/linux-5.10/arch/x86/boot/ |
H A D | video-vesa.c | 177 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 in vesa_store_pm_info() [all...] |
H A D | video.c | 30 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 in store_mode_params() [all...] |
/kernel/linux/linux-6.6/arch/x86/boot/ |
H A D | video-vesa.c | 177 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 in vesa_store_pm_info() [all...] |
H A D | video.c | 30 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 in store_mode_params() [all...] |
/kernel/linux/linux-5.10/drivers/firmware/efi/ |
H A D | earlycon.c | 12 #include <linux/screen_info.h> 36 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 in efi_earlycon_setup() [all...] |
H A D | efi-init.c | 21 #include <linux/screen_info.h> 65 struct screen_info *si; in init_screen_info() 71 pr_err("Could not map screen_info config table\n"); 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 in init_screen_info() [all...] |
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | sysfb.h | 12 #include <linux/screen_info.h> 73 bool parse_mode(const struct screen_info *si, 75 int create_simplefb(const struct screen_info *si, 80 static inline bool parse_mode(const struct screen_info *si, in parse_mode() 86 static inline int create_simplefb(const struct screen_info *si, in create_simplefb()
|
/kernel/linux/linux-5.10/arch/arm/kernel/ |
H A D | atags_parse.c | 22 #include <linux/screen_info.h> 75 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 in parse_tag_videotext() [all...] |
/kernel/linux/linux-6.6/arch/arm/kernel/ |
H A D | atags_parse.c | 22 #include <linux/screen_info.h> 75 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 in parse_tag_videotext() [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | sysfb.h | 13 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 D | screen_info.h | 5 #include <uapi/linux/screen_info.h> 7 extern struct screen_info screen_info;
|
/kernel/linux/linux-5.10/arch/loongarch/loongson64/ |
H A D | setup.c | 19 #include <linux/screen_info.h> 37 if (screen_info.orig_video_isVGA != VIDEO_TYPE_EFI) in register_gop_device() 40 &screen_info, sizeof(screen_info)); in register_gop_device()
|
/kernel/linux/linux-6.6/drivers/firmware/efi/libstub/ |
H A D | screen_info.c | 4 #include <linux/screen_info.h> 11 * There are two ways of populating the core kernel's struct screen_info via the stub: 24 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()
|
/kernel/linux/linux-5.10/arch/hexagon/kernel/ |
H A D | screen_info.c | 1 #include <linux/screen_info.h> 3 struct screen_info screen_info; variable
|
/kernel/linux/linux-6.6/arch/hexagon/kernel/ |
H A D | screen_info.c | 1 #include <linux/screen_info.h> 3 struct screen_info screen_info; variable
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | screen_info.h | 5 #include <uapi/linux/screen_info.h> 7 extern struct screen_info screen_info;
|