| /linux/arch/x86/xen/ |
| H A D | vga.c | 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->orig_y = screen_info->orig_video_lines - 1; in xen_init_vga() 29 screen_info->orig_video_lines = info->u.text_mode_3.rows; in xen_init_vga() 30 screen_info->orig_video_cols = info->u.text_mode_3.columns; in xen_init_vga() [all …]
|
| H A D | xen-ops.h | 118 struct screen_info *); 121 size_t size, struct screen_info *si) in xen_init_vga()
|
| /linux/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.vesapm_off = oreg.di; 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.orig_video_lines = y; in store_mode_params() [all …]
|
| H A D | video-bios.c | 50 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 D | video-vga.c | 256 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 D | sysfb.h | 19 struct screen_info; 66 struct screen_info screen; 97 void sysfb_apply_efi_quirks(struct screen_info *si); 98 void sysfb_set_efifb_fwnode(const struct screen_info *si, struct platform_device *pd); 102 static inline void sysfb_apply_efi_quirks(struct screen_info *si) in sysfb_apply_efi_quirks() 106 static inline void sysfb_set_efifb_fwnode(const struct screen_info *si, in sysfb_set_efifb_fwnode() 115 bool sysfb_parse_mode(const struct screen_info *si, 117 struct platform_device *sysfb_create_simplefb(const struct screen_info *si, 123 static inline bool sysfb_parse_mode(const struct screen_info *si, in sysfb_parse_mode() 129 static inline struct platform_device *sysfb_create_simplefb(const struct screen_info *si, in sysfb_create_simplefb()
|
| H A D | screen_info.h | 23 static inline u64 __screen_info_lfb_base(const struct screen_info *si) in __screen_info_lfb_base() 33 static inline void __screen_info_set_lfb_base(struct screen_info *si, u64 lfb_base) in __screen_info_set_lfb_base() 44 static inline u64 __screen_info_lfb_size(const struct screen_info *si, unsigned int type) in __screen_info_lfb_size() 53 static inline bool __screen_info_vbe_mode_nonvga(const struct screen_info *si) in __screen_info_vbe_mode_nonvga() 93 static inline unsigned int screen_info_video_type(const struct screen_info *si) in screen_info_video_type() 130 static inline u32 __screen_info_vesapm_info_base(const struct screen_info *si) in __screen_info_vesapm_info_base() 137 ssize_t screen_info_resources(const struct screen_info *si, struct resource *r, size_t num); 139 u32 __screen_info_lfb_bits_per_pixel(const struct screen_info *si); 140 int screen_info_pixel_format(const struct screen_info *si, struct pixel_format *f); 144 struct pci_dev *screen_info_pci_dev(const struct screen_info *si); [all …]
|
| H A D | console.h | 128 struct screen_info; 130 void vgacon_register_screen(struct screen_info *si); 132 static inline void vgacon_register_screen(struct screen_info *si) { } in vgacon_register_screen()
|
| /linux/drivers/gpu/drm/sysfb/ |
| H A D | drm_sysfb_screen_info.c | 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()
|
| H A D | drm_sysfb_helper.h | 18 struct screen_info; 41 int drm_sysfb_get_width_si(struct drm_device *dev, const struct screen_info *si); 42 int drm_sysfb_get_height_si(struct drm_device *dev, const struct screen_info *si); 44 const struct screen_info *si, 46 int drm_sysfb_get_stride_si(struct drm_device *dev, const struct screen_info *si, 49 u64 drm_sysfb_get_visible_size_si(struct drm_device *dev, const struct screen_info *si, 54 const struct screen_info *si);
|
| /linux/drivers/video/ |
| H A D | screen_info_pci.c | 14 static bool __screen_info_relocation_is_valid(const struct screen_info *si, struct resource *pr) in __screen_info_relocation_is_valid() 30 struct screen_info *si = &sysfb_primary_display.screen; in screen_info_apply_fixups() 51 static int __screen_info_lfb_pci_bus_region(const struct screen_info *si, unsigned int type, in __screen_info_lfb_pci_bus_region() 79 const struct screen_info *si = &sysfb_primary_display.screen; in screen_info_fixup_lfb() 140 struct pci_dev *screen_info_pci_dev(const struct screen_info *si) in screen_info_pci_dev()
|
| H A D | Makefile | 4 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 D | screen_info_generic.c | 76 ssize_t screen_info_resources(const struct screen_info *si, struct resource *r, size_t num) in screen_info_resources() 170 u32 __screen_info_lfb_bits_per_pixel(const struct screen_info *si) in __screen_info_lfb_bits_per_pixel() 186 static int __screen_info_lfb_pixel_format(const struct screen_info *si, struct pixel_format *f) in __screen_info_lfb_pixel_format() 223 int screen_info_pixel_format(const struct screen_info *si, struct pixel_format *f) in screen_info_pixel_format()
|
| /linux/drivers/firmware/ |
| H A D | sysfb.c | 42 static struct device *sysfb_parent_dev(const struct screen_info *si); 69 struct screen_info *si = &sysfb_primary_display.screen; in sysfb_disable() 95 const struct screen_info *si = &sysfb_primary_display.screen; in sysfb_handles_screen_info() 124 static struct device *sysfb_parent_dev(const struct screen_info *si) in sysfb_parent_dev() 145 struct screen_info *si = &dpy->screen; in sysfb_init()
|
| H A D | sysfb_simplefb.c | 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/boot/compressed/ |
| H A D | misc.c | 135 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() 424 if (boot_params_ptr->screen_info.orig_video_mode == 7) { in extract_kernel() 432 lines = boot_params_ptr->screen_info.orig_video_lines; in extract_kernel() 433 cols = boot_params_ptr->screen_info.orig_video_cols; in extract_kernel()
|
| /linux/drivers/firmware/efi/ |
| H A D | earlycon.c | 35 const struct screen_info *si = &sysfb_primary_display.screen; in efi_earlycon_remap_fb() 75 static void efi_earlycon_clear_scanline(unsigned int y, const struct screen_info *si) in efi_earlycon_clear_scanline() 89 static void efi_earlycon_scroll_up(const struct screen_info *si) in efi_earlycon_scroll_up() 125 const struct screen_info *si) in efi_earlycon_write_char() 150 const struct screen_info *si = &sysfb_primary_display.screen; in efi_earlycon_write() 230 const struct screen_info *si = &sysfb_primary_display.screen; in efi_earlycon_setup()
|
| H A D | sysfb_efi.c | 70 void efifb_setup_from_dmi(struct screen_info *si, const char *opt) in efifb_setup_from_dmi() 95 static int __init efifb_set_system(struct screen_info *si, const struct dmi_system_id *id) in efifb_set_system() 240 struct screen_info *si = &sysfb_primary_display.screen; in efifb_swap_width_height() 259 struct screen_info *si = &sysfb_primary_display.screen; in efifb_check_and_swap_width_height() 354 static bool efifb_overlaps_pci_range(const struct screen_info *si, in efifb_overlaps_pci_range() 420 __init void sysfb_apply_efi_quirks(struct screen_info *si) in sysfb_apply_efi_quirks() 430 __init void sysfb_set_efifb_fwnode(const struct screen_info *si, struct platform_device *pd) in sysfb_set_efifb_fwnode()
|
| /linux/drivers/video/fbdev/ |
| H A D | efifb.c | 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); \ 349 struct screen_info *si; in efifb_probe()
|
| /linux/arch/x86/kernel/ |
| H A D | early_printk.c | 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()
|
| /linux/arch/x86/include/uapi/asm/ |
| H A D | bootparam.h | 117 struct screen_info screen_info; /* 0x000 */ member
|
| /linux/Documentation/arch/x86/ |
| H A D | zero-page.rst | 16 000/040 ALL screen_info Text mode or frame buffer information 17 (struct screen_info)
|
| /linux/arch/arm/include/asm/ |
| H A D | vga.h | 8 extern struct screen_info vgacon_screen_info;
|
| /linux/arch/loongarch/include/asm/ |
| H A D | efi.h | 13 void efifb_setup_from_dmi(struct screen_info *si, const char *opt);
|