Home
last modified time | relevance | path

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

123

/linux/arch/x86/xen/
H A Dvga.c12 struct screen_info *screen_info) in xen_init_vga() argument
16 screen_info->orig_video_mode = 3; in xen_init_vga()
17 screen_info->orig_video_isVGA = 1; in xen_init_vga()
18 screen_info->orig_video_lines = 25; in xen_init_vga()
19 screen_info->orig_video_cols = 80; in xen_init_vga()
20 screen_info->orig_video_ega_bx = 3; in xen_init_vga()
21 screen_info->orig_video_points = 16; in xen_init_vga()
22 screen_info->orig_y = screen_info->orig_video_lines - 1; in xen_init_vga()
33 screen_info->orig_video_points = in xen_init_vga()
42 screen_info->orig_video_isVGA = VIDEO_TYPE_VLFB; in xen_init_vga()
[all …]
/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.c63 struct screen_info screen_info __section(".data");
64 EXPORT_SYMBOL_GPL(screen_info);
69 struct screen_info *si; in init_screen_info()
77 screen_info = *si; in init_screen_info()
81 if (memblock_is_map_memory(screen_info.lfb_base)) in init_screen_info()
82 memblock_mark_nomap(screen_info.lfb_base, in init_screen_info()
83 screen_info.lfb_size); in init_screen_info()
/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()
/linux/include/linux/
H A Dscreen_info.h22 static inline u64 __screen_info_lfb_base(const struct screen_info *si) in __screen_info_lfb_base()
32 static inline void __screen_info_set_lfb_base(struct screen_info *si, u64 lfb_base) in __screen_info_set_lfb_base()
43 static inline u64 __screen_info_lfb_size(const struct screen_info *si, unsigned int type) in __screen_info_lfb_size()
52 static inline bool __screen_info_vbe_mode_nonvga(const struct screen_info *si) in __screen_info_vbe_mode_nonvga()
92 static inline unsigned int screen_info_video_type(const struct screen_info *si) in screen_info_video_type()
129 ssize_t screen_info_resources(const struct screen_info *si, struct resource *r, size_t num);
133 struct pci_dev *screen_info_pci_dev(const struct screen_info *si);
137 static inline struct pci_dev *screen_info_pci_dev(const struct screen_info *si) in screen_info_pci_dev()
143 extern struct screen_info screen_info;
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,
99 static inline bool sysfb_parse_mode(const struct screen_info *si, in sysfb_parse_mode()
105 static inline struct platform_device *sysfb_create_simplefb(const struct screen_info *si, in sysfb_create_simplefb()
H A Dconsole.h135 struct screen_info;
137 void vgacon_register_screen(struct screen_info *si);
139 static inline void vgacon_register_screen(struct screen_info *si) { } in vgacon_register_screen()
/linux/arch/loongarch/kernel/
H A Defi.c78 struct screen_info screen_info __section(".data");
79 EXPORT_SYMBOL_GPL(screen_info);
84 struct screen_info *si; in init_screen_info()
94 screen_info = *si; in init_screen_info()
98 memblock_reserve(screen_info.lfb_base, screen_info.lfb_size); in init_screen_info()
H A Dimage-vars.h15 __efistub_screen_info = screen_info;
/linux/drivers/video/
H A Dscreen_info_pci.c13 static bool __screen_info_relocation_is_valid(const struct screen_info *si, struct resource *pr) in __screen_info_relocation_is_valid()
29 struct screen_info *si = &screen_info; in screen_info_apply_fixups()
56 const struct screen_info *si = &screen_info; in screen_info_fixup_lfb()
118 struct pci_dev *screen_info_pci_dev(const struct screen_info *si) in screen_info_pci_dev()
H A DMakefile4 obj-$(CONFIG_SCREEN_INFO) += screen_info.o
10 screen_info-y := screen_info_generic.o
11 screen_info-$(CONFIG_PCI) += screen_info_pci.o
/linux/drivers/firmware/
H A Dsysfb.c42 static struct device *sysfb_parent_dev(const struct screen_info *si);
69 struct screen_info *si = &screen_info; in sysfb_disable()
105 static struct device *sysfb_parent_dev(const struct screen_info *si) in sysfb_parent_dev()
125 struct screen_info *si = &screen_info; in sysfb_init()
H A Dsysfb_simplefb.c27 __init bool sysfb_parse_mode(const struct screen_info *si, in sysfb_parse_mode()
93 __init struct platform_device *sysfb_create_simplefb(const struct screen_info *si, in sysfb_create_simplefb()
/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()
46 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()
20 return (void *)&screen_info + screen_info_offset; in alloc_screen_info()
/linux/arch/x86/boot/compressed/
H A Dmisc.c136 x = boot_params_ptr->screen_info.orig_x; in __putstr()
137 y = boot_params_ptr->screen_info.orig_y; in __putstr()
158 boot_params_ptr->screen_info.orig_x = x; in __putstr()
159 boot_params_ptr->screen_info.orig_y = y; in __putstr()
422 if (boot_params_ptr->screen_info.orig_video_mode == 7) { in extract_kernel()
430 lines = boot_params_ptr->screen_info.orig_video_lines; in extract_kernel()
431 cols = boot_params_ptr->screen_info.orig_video_cols; in extract_kernel()
/linux/drivers/video/fbdev/
H A Defifb.c107 static void efifb_copy_bmp(u8 *src, u32 *dst, int width, const struct screen_info *si) in efifb_copy_bmp()
129 static bool efifb_bgrt_sanity_check(const struct screen_info *si, u32 bmp_width) in efifb_bgrt_sanity_check()
140 static bool efifb_bgrt_sanity_check(const struct screen_info *si, u32 bmp_width) in efifb_bgrt_sanity_check()
146 static void efifb_show_boot_graphics(struct fb_info *info, const struct screen_info *si) in efifb_show_boot_graphics()
245 static inline void efifb_show_boot_graphics(struct fb_info *info, const struct screen_info *si) in efifb_show_boot_graphics()
278 static int efifb_setup(struct screen_info *si, char *options) in efifb_setup()
306 static inline bool fb_base_is_valid(struct screen_info *si) in fb_base_is_valid()
325 struct screen_info *si = dev_get_drvdata(dev); \
350 struct screen_info *si; in efifb_probe()
/linux/arch/x86/kernel/
H 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()
H A Dkexec-bzimage64.c250 memcpy(&params->screen_info, &screen_info, sizeof(struct screen_info)); in setup_boot_parameters()
253 params->screen_info.ext_mem_k = 0; in setup_boot_parameters()
290 params->screen_info.ext_mem_k = mem_k; in setup_boot_parameters()
293 params->screen_info.ext_mem_k = 0xfc00; /* 64M*/ in setup_boot_parameters()
H A Dsetup.c152 struct screen_info screen_info; variable
153 EXPORT_SYMBOL(screen_info);
790 screen_info = boot_params.screen_info; in setup_arch()
1171 vgacon_register_screen(&screen_info); in setup_arch()
/linux/arch/x86/include/uapi/asm/
H A Dbootparam.h117 struct screen_info screen_info; /* 0x000 */ member

123