Home
last modified time | relevance | path

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

123

/linux/arch/x86/xen/ !
H A Dvga.c2 #include <linux/screen_info.h>
12 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 in xen_init_vga()
[all...]
/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 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()
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...]
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()
H A Dvideo-vga.c256 boot_params.screen_info.orig_video_ega_bx = oreg.bx; in vga_probe()
268 boot_params.screen_info.orig_video_isVGA = 1; in vga_probe()
/linux/include/linux/ !
H A Dscreen_info.h5 #include <uapi/linux/screen_info.h>
10 * SCREEN_INFO_MAX_RESOURCES - maximum number of resources per screen_info
22 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()
86 * screen_info_video_type() - Decodes the video type from struct screen_info
87 * @si: an instance of struct screen_info
92 static inline unsigned int screen_info_video_type(const struct screen_info *si) in screen_info_video_type()
129 static inline u32 __screen_info_vesapm_info_base(const struct screen_info *s
[all...]
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/drivers/video/ !
H A Dscreen_info_pci.c5 #include <linux/screen_info.h>
13 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()
50 static int __screen_info_lfb_pci_bus_region(const struct screen_info *si, unsigned int type, in __screen_info_lfb_pci_bus_region()
78 const struct screen_info *si = &screen_info; in screen_info_fixup_lfb()
131 * screen_info_pci_dev() - Return PCI parent device that contains screen_info's framebuffer
132 * @si: the screen_info
135 * The screen_info'
[all...]
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
H A Dscreen_info_generic.c5 #include <linux/screen_info.h>
61 * screen_info_resources() - Get resources from screen_info structure
62 * @si: the screen_info
70 * screen_info's device or framebuffer. The result is stored in the caller-supplied
74 ssize_t screen_info_resources(const struct screen_info *si, struct resource *r, size_t num) in screen_info_resources()
162 * It is not easily possible to fix this in struct screen_info,
168 u32 __screen_info_lfb_bits_per_pixel(const struct screen_info *si) in __screen_info_lfb_bits_per_pixel()
/linux/arch/loongarch/kernel/ !
H A Defi.c21 #include <linux/screen_info.h>
78 struct screen_info screen_info __section(".data");
79 EXPORT_SYMBOL_GPL(screen_info);
84 struct screen_info *si; in init_screen_info()
91 pr_err("Could not map screen_info config table\n"); in init_screen_info()
94 screen_info = *si; in init_screen_info()
98 memblock_reserve(__screen_info_lfb_base(&screen_info), screen_info.lfb_size); in init_screen_info()
/linux/drivers/gpu/drm/sysfb/ !
H A Ddrm_sysfb_helper.h17 struct screen_info;
34 int drm_sysfb_get_width_si(struct drm_device *dev, const struct screen_info *si);
35 int drm_sysfb_get_height_si(struct drm_device *dev, const struct screen_info *si);
37 const struct screen_info *si,
39 int drm_sysfb_get_stride_si(struct drm_device *dev, const struct screen_info *si,
42 u64 drm_sysfb_get_visible_size_si(struct drm_device *dev, const struct screen_info *si,
47 const struct screen_info *si);
H A Ddrm_sysfb_screen_info.c6 #include <linux/screen_info.h>
26 int drm_sysfb_get_width_si(struct drm_device *dev, const struct screen_info *si) in drm_sysfb_get_width_si()
32 int drm_sysfb_get_height_si(struct drm_device *dev, const struct screen_info *si) in drm_sysfb_get_height_si()
39 const struct screen_info *si, in drm_sysfb_get_memory_si()
54 int drm_sysfb_get_stride_si(struct drm_device *dev, const struct screen_info *si, in drm_sysfb_get_stride_si()
67 u64 drm_sysfb_get_visible_size_si(struct drm_device *dev, const struct screen_info *si, in drm_sysfb_get_visible_size_si()
79 const struct screen_info *si) in drm_sysfb_get_format_si()
/linux/arch/x86/boot/compressed/ !
H A Dmisc.c135 x = boot_params_ptr->screen_info.orig_x; in __putstr()
136 y = boot_params_ptr->screen_info.orig_y; in __putstr()
157 boot_params_ptr->screen_info.orig_x = x; in __putstr()
158 boot_params_ptr->screen_info.orig_y = y; in __putstr()
380 * support MMIO handling and kexec -c adds screen_info to the in early_sev_detect()
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/firmware/efi/libstub/ !
H A Defi-stub.c13 #include <linux/screen_info.h>
51 void __weak free_screen_info(struct screen_info *si) in free_screen_info()
55 static struct screen_info *setup_graphics(void) in setup_graphics()
57 struct screen_info *si, tmp = {}; in setup_graphics()
148 struct screen_info *si; in efi_stub_common()
H A Defi-stub-entry.c4 #include <linux/screen_info.h>
12 struct screen_info *alloc_screen_info(void) in alloc_screen_info()
20 return (void *)&screen_info + screen_info_offset; in alloc_screen_info()
/linux/drivers/video/fbdev/ !
H A Defifb.c18 #include <linux/screen_info.h>
107 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 void efifb_setup(struct screen_info *si, char *options) in efifb_setup()
304 static inline bool fb_base_is_valid(struct screen_info *si) in fb_base_is_valid()
323 struct screen_info *si = dev_get_drvdata(dev); \
348 struct screen_info *s in efifb_probe()
[all...]
/linux/arch/x86/kernel/ !
H A Dearly_printk.c7 #include <linux/screen_info.h>
425 boot_params.screen_info.orig_video_isVGA == 1) { in setup_early_printk()
426 max_xpos = boot_params.screen_info.orig_video_cols; in setup_early_printk()
427 max_ypos = boot_params.screen_info.orig_video_lines; in setup_early_printk()
428 current_ypos = boot_params.screen_info.orig_y; in setup_early_printk()
H A Dkexec-bzimage64.c281 /* Copying screen_info will do? */ in setup_boot_parameters()
282 memcpy(&params->screen_info, &screen_info, sizeof(struct screen_info)); in setup_boot_parameters()
285 params->screen_info.ext_mem_k = 0; in setup_boot_parameters()
322 params->screen_info.ext_mem_k = mem_k; in setup_boot_parameters()
325 params->screen_info.ext_mem_k = 0xfc00; /* 64M*/ in setup_boot_parameters()
H A Dsetup.c214 struct screen_info screen_info; variable
215 EXPORT_SYMBOL(screen_info);
529 screen_info = boot_params.screen_info; in parse_boot_params()
1257 vgacon_register_screen(&screen_info); in setup_arch()
/linux/drivers/firmware/ !
H A Dsysfb_simplefb.c9 * Try to convert "screen_info" into a "simple-framebuffer" compatible mode.
20 #include <linux/screen_info.h>
26 /* try parsing screen_info into a simple-framebuffer mode struct */
27 __init bool sysfb_parse_mode(const struct screen_info *si, in sysfb_parse_mode()
64 __init struct platform_device *sysfb_create_simplefb(const struct screen_info *si, in sysfb_create_simplefb()
/linux/arch/x86/include/uapi/asm/ !
H A Dbootparam.h32 #include <linux/screen_info.h>
117 struct screen_info screen_info; /* 0x000 */ member
/linux/arch/arm/include/asm/ !
H A Dvga.h8 extern struct screen_info vgacon_screen_info;
/linux/Documentation/arch/x86/ !
H A Dzero-page.rst16 000/040 ALL screen_info Text mode or frame buffer information
17 (struct screen_info)
/linux/arch/loongarch/include/asm/ !
H A Defi.h13 void efifb_setup_from_dmi(struct screen_info *si, const char *opt);

123