Searched refs:screen_info (Results 1 - 25 of 64) sorted by relevance

123

/linux-master/arch/x86/xen/
H A Dvga.c2 #include <linux/screen_info.h>
12 struct screen_info *screen_info)
16 screen_info->orig_video_mode = 3;
17 screen_info->orig_video_isVGA = 1;
18 screen_info->orig_video_lines = 25;
19 screen_info->orig_video_cols = 80;
20 screen_info->orig_video_ega_bx = 3;
21 screen_info->orig_video_points = 16;
22 screen_info
11 xen_init_vga(const struct dom0_vga_console_info *info, size_t size, struct screen_info *screen_info) argument
[all...]
/linux-master/drivers/firmware/efi/libstub/
H A Dscreen_info.c4 #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)
26 struct screen_info *si;
44 void free_screen_info(struct screen_info *si)
H A Defi-stub-entry.c4 #include <linux/screen_info.h>
12 struct screen_info *alloc_screen_info(void)
20 return (void *)&screen_info + screen_info_offset;
H A Defi-stub.c50 void __weak free_screen_info(struct screen_info *si)
54 static struct screen_info *setup_graphics(void)
60 struct screen_info *si = NULL;
161 struct screen_info *si;
/linux-master/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)
32 static inline void __screen_info_set_lfb_base(struct screen_info *si, u64 lfb_base)
43 static inline u64 __screen_info_lfb_size(const struct screen_info *si, unsigned int type)
76 * screen_info_video_type() - Decodes the video type from struct screen_info
77 * @si: an instance of struct screen_info
82 static inline unsigned int screen_info_video_type(const struct screen_info *si)
119 ssize_t screen_info_resources(const struct screen_info *si, struct resource *r, size_t num);
123 struct pci_dev *screen_info_pci_dev(const struct screen_info *s
[all...]
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,
105 static inline struct platform_device *sysfb_create_simplefb(const struct screen_info *si,
/linux-master/drivers/firmware/efi/
H A Dsysfb_efi.c25 #include <linux/screen_info.h>
70 void efifb_setup_from_dmi(struct screen_info *si, const char *opt)
103 if (screen_info.lfb_base == 0) {
109 screen_info.lfb_base = choose_value(info->base,
110 screen_info.lfb_base, OVERRIDE_BASE,
137 if (screen_info.lfb_base >= start &&
138 screen_info.lfb_base < end) {
145 screen_info.lfb_base = 0;
149 if (screen_info.lfb_base) {
150 screen_info
[all...]
H A Defi-init.c21 #include <linux/screen_info.h>
59 * x86 defines its own screen_info and uses it even without EFI,
63 struct screen_info screen_info __section(".data");
64 EXPORT_SYMBOL_GPL(screen_info); variable
69 struct screen_info *si;
74 pr_err("Could not map screen_info config table\n");
77 screen_info = *si;
81 if (memblock_is_map_memory(screen_info.lfb_base))
82 memblock_mark_nomap(screen_info
[all...]
H A Dearlycon.c12 #include <linux/screen_info.h>
39 efi_fb = memremap(fb_base, screen_info.lfb_size,
79 len = screen_info.lfb_linelength;
102 len = screen_info.lfb_linelength;
103 height = screen_info.lfb_height;
148 struct screen_info *si;
154 si = &screen_info;
229 struct screen_info *si;
235 if (screen_info.orig_video_isVGA != VIDEO_TYPE_EFI) {
240 fb_base = screen_info
[all...]
/linux-master/arch/loongarch/kernel/
H A Dimage-vars.h15 __efistub_screen_info = screen_info;
H A Defi.c21 #include <linux/screen_info.h>
72 struct screen_info screen_info __section(".data");
73 EXPORT_SYMBOL_GPL(screen_info); variable
78 struct screen_info *si;
85 pr_err("Could not map screen_info config table\n");
88 screen_info = *si;
92 memblock_reserve(screen_info.lfb_base, screen_info.lfb_size);
/linux-master/arch/x86/boot/
H A Dvideo-vesa.c177 boot_params.screen_info.red_size = dac_size;
178 boot_params.screen_info.green_size = dac_size;
179 boot_params.screen_info.blue_size = dac_size;
180 boot_params.screen_info.rsvd_size = dac_size;
182 boot_params.screen_info.red_pos = 0;
183 boot_params.screen_info.green_pos = 0;
184 boot_params.screen_info.blue_pos = 0;
185 boot_params.screen_info.rsvd_pos = 0;
200 boot_params.screen_info.vesapm_seg = oreg.es;
201 boot_params.screen_info
[all...]
H A Dvideo.c30 boot_params.screen_info.orig_x = oreg.dl;
31 boot_params.screen_info.orig_y = oreg.dh;
34 boot_params.screen_info.flags |= VIDEO_FLAGS_NOCURSOR;
37 boot_params.screen_info.flags |= VIDEO_FLAGS_NOCURSOR;
51 boot_params.screen_info.orig_video_mode = oreg.al & 0x7f;
52 boot_params.screen_info.orig_video_page = oreg.bh;
74 if (boot_params.screen_info.orig_video_mode == 0x07) {
84 boot_params.screen_info.orig_video_points = font_size;
94 boot_params.screen_info.orig_video_cols = x;
95 boot_params.screen_info
[all...]
H A Dvideo-bios.c50 if (new_mode != boot_params.screen_info.orig_video_mode) {
54 ireg.ax = boot_params.screen_info.orig_video_mode;
67 u8 saved_mode = boot_params.screen_info.orig_video_mode;
/linux-master/drivers/video/
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_pci.c5 #include <linux/screen_info.h>
13 static bool __screen_info_relocation_is_valid(const struct screen_info *si, struct resource *pr)
29 struct screen_info *si = &screen_info;
56 const struct screen_info *si = &screen_info;
110 * screen_info_pci_dev() - Return PCI parent device that contains screen_info's framebuffer
111 * @si: the screen_info
114 * The screen_info's parent device or NULL on success, or a pointer-encoded
118 struct pci_dev *screen_info_pci_dev(const struct screen_info *s
[all...]
/linux-master/arch/arm/include/asm/
H A Dsetup.h14 #include <linux/screen_info.h>
40 extern struct screen_info vgacon_screen_info;
H A Dvga.h8 extern struct screen_info vgacon_screen_info;
/linux-master/arch/riscv/kernel/
H A Dimage-vars.h32 __efistub_screen_info = screen_info;
/linux-master/arch/loongarch/include/asm/
H A Defi.h13 void efifb_setup_from_dmi(struct screen_info *si, const char *opt);
/linux-master/drivers/firmware/
H A Dsysfb.c11 * this module parses the global "screen_info" object and creates a suitable
15 * pass the screen_info as platform_data. This allows legacy drivers
17 * The global "screen_info" is still valid at all times.
35 #include <linux/screen_info.h>
96 static __init struct device *sysfb_parent_dev(const struct screen_info *si)
114 struct screen_info *si = &screen_info;
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,
52 * It's not easily possible to fix this in struct screen_info,
93 __init struct platform_device *sysfb_create_simplefb(const struct screen_info *si,
/linux-master/arch/x86/boot/compressed/
H A Dmisc.c136 x = boot_params_ptr->screen_info.orig_x;
137 y = boot_params_ptr->screen_info.orig_y;
158 boot_params_ptr->screen_info.orig_x = x;
159 boot_params_ptr->screen_info.orig_y = y;
422 if (boot_params_ptr->screen_info.orig_video_mode == 7) {
430 lines = boot_params_ptr->screen_info.orig_video_lines;
431 cols = boot_params_ptr->screen_info.orig_video_cols;
/linux-master/arch/x86/include/uapi/asm/
H A Dbootparam.h32 #include <linux/screen_info.h>
117 struct screen_info screen_info; /* 0x000 */ member in struct:boot_params
/linux-master/arch/mips/sibyte/swarm/
H A Dsetup.c17 #include <linux/screen_info.h>
117 static struct screen_info vgacon_screen_info = {

Completed in 344 milliseconds

123