/linux-4.4.14/arch/hexagon/kernel/ |
H A D | screen_info.c | 1 #include <linux/screen_info.h> 3 struct screen_info screen_info; variable in typeref:struct:screen_info
|
H A D | Makefile | 19 obj-$(CONFIG_VGA_CONSOLE) += screen_info.o
|
/linux-4.4.14/include/linux/ |
H A D | screen_info.h | 4 #include <uapi/linux/screen_info.h> 6 extern struct screen_info screen_info;
|
/linux-4.4.14/arch/x86/xen/ |
H A D | vga.c | 1 #include <linux/screen_info.h> 13 struct screen_info *screen_info = &boot_params.screen_info; xen_init_vga() local 17 screen_info->orig_video_mode = 3; xen_init_vga() 18 screen_info->orig_video_isVGA = 1; xen_init_vga() 19 screen_info->orig_video_lines = 25; xen_init_vga() 20 screen_info->orig_video_cols = 80; xen_init_vga() 21 screen_info->orig_video_ega_bx = 3; xen_init_vga() 22 screen_info->orig_video_points = 16; xen_init_vga() 23 screen_info->orig_y = screen_info->orig_video_lines - 1; xen_init_vga() 30 screen_info->orig_video_lines = info->u.text_mode_3.rows; xen_init_vga() 31 screen_info->orig_video_cols = info->u.text_mode_3.columns; xen_init_vga() 32 screen_info->orig_x = info->u.text_mode_3.cursor_x; xen_init_vga() 33 screen_info->orig_y = info->u.text_mode_3.cursor_y; xen_init_vga() 34 screen_info->orig_video_points = xen_init_vga() 43 screen_info->orig_video_isVGA = VIDEO_TYPE_VLFB; xen_init_vga() 44 screen_info->lfb_width = info->u.vesa_lfb.width; xen_init_vga() 45 screen_info->lfb_height = info->u.vesa_lfb.height; xen_init_vga() 46 screen_info->lfb_depth = info->u.vesa_lfb.bits_per_pixel; xen_init_vga() 47 screen_info->lfb_base = info->u.vesa_lfb.lfb_base; xen_init_vga() 48 screen_info->lfb_size = info->u.vesa_lfb.lfb_size; xen_init_vga() 49 screen_info->lfb_linelength = info->u.vesa_lfb.bytes_per_line; xen_init_vga() 50 screen_info->red_size = info->u.vesa_lfb.red_size; xen_init_vga() 51 screen_info->red_pos = info->u.vesa_lfb.red_pos; xen_init_vga() 52 screen_info->green_size = info->u.vesa_lfb.green_size; xen_init_vga() 53 screen_info->green_pos = info->u.vesa_lfb.green_pos; xen_init_vga() 54 screen_info->blue_size = info->u.vesa_lfb.blue_size; xen_init_vga() 55 screen_info->blue_pos = info->u.vesa_lfb.blue_pos; xen_init_vga() 56 screen_info->rsvd_size = info->u.vesa_lfb.rsvd_size; xen_init_vga() 57 screen_info->rsvd_pos = info->u.vesa_lfb.rsvd_pos; xen_init_vga() 60 screen_info->orig_video_isVGA = VIDEO_TYPE_EFI; xen_init_vga() 67 screen_info->capabilities = info->u.vesa_lfb.gbl_caps; xen_init_vga() 71 screen_info->vesa_attributes = info->u.vesa_lfb.mode_attrs; xen_init_vga()
|
/linux-4.4.14/drivers/video/fbdev/ |
H A D | efifb.c | 14 #include <linux/screen_info.h> 97 screen_info.lfb_base = efifb_dmi_list[i].base; efifb_setup() 98 screen_info.lfb_linelength = efifb_dmi_list[i].stride; efifb_setup() 99 screen_info.lfb_width = efifb_dmi_list[i].width; efifb_setup() 100 screen_info.lfb_height = efifb_dmi_list[i].height; efifb_setup() 104 screen_info.lfb_base = simple_strtoul(this_opt+5, NULL, 0); efifb_setup() 106 screen_info.lfb_linelength = simple_strtoul(this_opt+7, NULL, 0) * 4; efifb_setup() 108 screen_info.lfb_height = simple_strtoul(this_opt+7, NULL, 0); efifb_setup() 110 screen_info.lfb_width = simple_strtoul(this_opt+6, NULL, 0); efifb_setup() 119 if (screen_info.lfb_base) fb_base_is_valid() 122 if (!(screen_info.capabilities & VIDEO_CAPABILITY_64BIT_BASE)) fb_base_is_valid() 125 if (screen_info.ext_lfb_base) fb_base_is_valid() 140 if (screen_info.orig_video_isVGA != VIDEO_TYPE_EFI) efifb_probe() 151 if (!screen_info.lfb_linelength) efifb_probe() 154 if (!screen_info.lfb_depth) efifb_probe() 155 screen_info.lfb_depth = 32; efifb_probe() 156 if (!screen_info.pages) efifb_probe() 157 screen_info.pages = 1; efifb_probe() 165 if (!screen_info.blue_size) { efifb_probe() 166 screen_info.blue_size = 8; efifb_probe() 167 screen_info.blue_pos = 0; efifb_probe() 168 screen_info.green_size = 8; efifb_probe() 169 screen_info.green_pos = 8; efifb_probe() 170 screen_info.red_size = 8; efifb_probe() 171 screen_info.red_pos = 16; efifb_probe() 172 screen_info.rsvd_size = 8; efifb_probe() 173 screen_info.rsvd_pos = 24; efifb_probe() 176 efifb_fix.smem_start = screen_info.lfb_base; efifb_probe() 178 if (screen_info.capabilities & VIDEO_CAPABILITY_64BIT_BASE) { efifb_probe() 181 ext_lfb_base = (u64)(unsigned long)screen_info.ext_lfb_base << 32; efifb_probe() 185 efifb_defined.bits_per_pixel = screen_info.lfb_depth; efifb_probe() 186 efifb_defined.xres = screen_info.lfb_width; efifb_probe() 187 efifb_defined.yres = screen_info.lfb_height; efifb_probe() 188 efifb_fix.line_length = screen_info.lfb_linelength; efifb_probe() 198 size_total = screen_info.lfb_size; efifb_probe() 257 screen_info.pages); efifb_probe() 271 efifb_defined.red.offset = screen_info.red_pos; efifb_probe() 272 efifb_defined.red.length = screen_info.red_size; efifb_probe() 273 efifb_defined.green.offset = screen_info.green_pos; efifb_probe() 274 efifb_defined.green.length = screen_info.green_size; efifb_probe() 275 efifb_defined.blue.offset = screen_info.blue_pos; efifb_probe() 276 efifb_defined.blue.length = screen_info.blue_size; efifb_probe() 277 efifb_defined.transp.offset = screen_info.rsvd_pos; efifb_probe() 278 efifb_defined.transp.length = screen_info.rsvd_size; efifb_probe() 283 screen_info.rsvd_size, efifb_probe() 284 screen_info.red_size, efifb_probe() 285 screen_info.green_size, efifb_probe() 286 screen_info.blue_size, efifb_probe() 287 screen_info.rsvd_pos, efifb_probe() 288 screen_info.red_pos, efifb_probe() 289 screen_info.green_pos, efifb_probe() 290 screen_info.blue_pos); efifb_probe()
|
H A D | vesafb.c | 21 #include <linux/screen_info.h> 249 if (screen_info.orig_video_isVGA != VIDEO_TYPE_VLFB) vesafb_probe() 252 vga_compat = (screen_info.capabilities & 2) ? 0 : 1; vesafb_probe() 253 vesafb_fix.smem_start = screen_info.lfb_base; vesafb_probe() 254 vesafb_defined.bits_per_pixel = screen_info.lfb_depth; vesafb_probe() 257 vesafb_defined.xres = screen_info.lfb_width; vesafb_probe() 258 vesafb_defined.yres = screen_info.lfb_height; vesafb_probe() 259 vesafb_fix.line_length = screen_info.lfb_linelength; vesafb_probe() 271 size_total = screen_info.lfb_size * 65536; vesafb_probe() 291 screen_info.vesapm_seg = 0; vesafb_probe() 317 info->apertures->ranges[0].base = screen_info.lfb_base; vesafb_probe() 321 vesafb_defined.xres, vesafb_defined.yres, vesafb_defined.bits_per_pixel, vesafb_fix.line_length, screen_info.pages); vesafb_probe() 323 if (screen_info.vesapm_seg) { vesafb_probe() 325 screen_info.vesapm_seg,screen_info.vesapm_off); vesafb_probe() 328 if (screen_info.vesapm_seg < 0xc000) vesafb_probe() 333 pmi_base = (unsigned short*)phys_to_virt(((unsigned long)screen_info.vesapm_seg << 4) + screen_info.vesapm_off); vesafb_probe() 377 vesafb_defined.red.offset = screen_info.red_pos; vesafb_probe() 378 vesafb_defined.red.length = screen_info.red_size; vesafb_probe() 379 vesafb_defined.green.offset = screen_info.green_pos; vesafb_probe() 380 vesafb_defined.green.length = screen_info.green_size; vesafb_probe() 381 vesafb_defined.blue.offset = screen_info.blue_pos; vesafb_probe() 382 vesafb_defined.blue.length = screen_info.blue_size; vesafb_probe() 383 vesafb_defined.transp.offset = screen_info.rsvd_pos; vesafb_probe() 384 vesafb_defined.transp.length = screen_info.rsvd_size; vesafb_probe() 399 screen_info.rsvd_size, vesafb_probe() 400 screen_info.red_size, vesafb_probe() 401 screen_info.green_size, vesafb_probe() 402 screen_info.blue_size, vesafb_probe() 403 screen_info.rsvd_pos, vesafb_probe() 404 screen_info.red_pos, vesafb_probe() 405 screen_info.green_pos, vesafb_probe() 406 screen_info.blue_pos); vesafb_probe()
|
H A D | hyperv_fb.c | 724 info->apertures->ranges[0].base = screen_info.lfb_base; hvfb_getmem() 725 info->apertures->ranges[0].size = screen_info.lfb_size; hvfb_getmem()
|
H A D | vga16fb.c | 23 #include <linux/screen_info.h> 1336 par->isVGA = screen_info.orig_video_isVGA; vga16fb_probe()
|
H A D | sm712fb.c | 29 #include <linux/screen_info.h> 774 static struct screen_info smtc_scr_info;
|
/linux-4.4.14/arch/ia64/dig/ |
H A D | setup.c | 17 #include <linux/screen_info.h> 43 memset(&screen_info, 0, sizeof(screen_info)); dig_setup() 62 screen_info.orig_x = orig_x; dig_setup() 63 screen_info.orig_y = orig_y; dig_setup() 64 screen_info.orig_video_cols = num_cols; dig_setup() 65 screen_info.orig_video_lines = num_rows; dig_setup() 66 screen_info.orig_video_points = font_height; dig_setup() 67 screen_info.orig_video_mode = 3; /* XXX fake */ dig_setup() 68 screen_info.orig_video_isVGA = 1; /* XXX fake */ dig_setup() 69 screen_info.orig_video_ega_bx = 3; /* XXX fake */ dig_setup()
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | sysfb_efi.c | 26 #include <linux/screen_info.h> 89 if (screen_info.lfb_base == 0) { efifb_set_system() 95 screen_info.lfb_base = choose_value(info->base, efifb_set_system() 96 screen_info.lfb_base, OVERRIDE_BASE, efifb_set_system() 123 if (screen_info.lfb_base >= start && for_each_pci_dev() 124 screen_info.lfb_base < end) { for_each_pci_dev() 131 screen_info.lfb_base = 0; 135 if (screen_info.lfb_base) { 136 screen_info.lfb_linelength = choose_value(info->stride, 137 screen_info.lfb_linelength, OVERRIDE_STRIDE, 139 screen_info.lfb_width = choose_value(info->width, 140 screen_info.lfb_width, OVERRIDE_WIDTH, 142 screen_info.lfb_height = choose_value(info->height, 143 screen_info.lfb_height, OVERRIDE_HEIGHT, 145 if (screen_info.orig_video_isVGA == 0) 146 screen_info.orig_video_isVGA = VIDEO_TYPE_EFI; 148 screen_info.lfb_linelength = 0; 149 screen_info.lfb_width = 0; 150 screen_info.lfb_height = 0; 151 screen_info.orig_video_isVGA = 0; 157 screen_info.lfb_base, screen_info.lfb_width, 158 screen_info.lfb_height, screen_info.lfb_linelength); 221 if (screen_info.orig_video_isVGA != VIDEO_TYPE_EFI || sysfb_apply_efi_quirks() 222 !(screen_info.capabilities & VIDEO_CAPABILITY_SKIP_QUIRKS)) sysfb_apply_efi_quirks()
|
H A D | sysfb.c | 15 * this module parses the global "screen_info" object and creates a suitable 19 * pass the screen_info as platform_data. This allows legacy drivers 21 * The global "screen_info" is still valid at all times. 38 #include <linux/screen_info.h> 43 struct screen_info *si = &screen_info; sysfb_init()
|
H A D | sysfb_simplefb.c | 13 * Try to convert "screen_info" into a "simple-framebuffer" compatible mode. 24 #include <linux/screen_info.h> 30 /* try parsing x86 screen_info into a simple-framebuffer mode struct */ parse_mode() 31 __init bool parse_mode(const struct screen_info *si, parse_mode() 64 __init int create_simplefb(const struct screen_info *si, create_simplefb()
|
H A D | early_printk.c | 5 #include <linux/screen_info.h> 366 boot_params.screen_info.orig_video_isVGA == 1) { setup_early_printk() 367 max_xpos = boot_params.screen_info.orig_video_cols; setup_early_printk() 368 max_ypos = boot_params.screen_info.orig_video_lines; setup_early_printk() 369 current_ypos = boot_params.screen_info.orig_y; setup_early_printk()
|
H A D | kexec-bzimage64.c | 211 /* Copying screen_info will do? */ setup_boot_parameters() 212 memcpy(¶ms->screen_info, &boot_params.screen_info, setup_boot_parameters() 213 sizeof(struct screen_info)); setup_boot_parameters() 216 params->screen_info.ext_mem_k = 0; setup_boot_parameters() 243 params->screen_info.ext_mem_k = mem_k; setup_boot_parameters() 246 params->screen_info.ext_mem_k = 0xfc00; /* 64M*/ setup_boot_parameters()
|
H A D | setup.c | 27 #include <linux/screen_info.h> 222 struct screen_info screen_info; variable in typeref:struct:screen_info 223 EXPORT_SYMBOL(screen_info); variable 900 screen_info = boot_params.screen_info; setup_arch()
|
H A D | e820.c | 1068 < boot_params.screen_info.ext_mem_k) { default_machine_specific_memory_setup() 1069 mem_size = boot_params.screen_info.ext_mem_k; default_machine_specific_memory_setup()
|
/linux-4.4.14/arch/x86/boot/ |
H A D | video-vesa.c | 179 boot_params.screen_info.red_size = dac_size; vesa_dac_set_8bits() 180 boot_params.screen_info.green_size = dac_size; vesa_dac_set_8bits() 181 boot_params.screen_info.blue_size = dac_size; vesa_dac_set_8bits() 182 boot_params.screen_info.rsvd_size = dac_size; vesa_dac_set_8bits() 184 boot_params.screen_info.red_pos = 0; vesa_dac_set_8bits() 185 boot_params.screen_info.green_pos = 0; vesa_dac_set_8bits() 186 boot_params.screen_info.blue_pos = 0; vesa_dac_set_8bits() 187 boot_params.screen_info.rsvd_pos = 0; vesa_dac_set_8bits() 202 boot_params.screen_info.vesapm_seg = oreg.es; vesa_store_pm_info() 203 boot_params.screen_info.vesapm_off = oreg.di; vesa_store_pm_info() 212 boot_params.screen_info.orig_video_isVGA = VIDEO_TYPE_VLFB; vesa_store_mode_params_graphics() 215 boot_params.screen_info.vesa_attributes = vminfo.mode_attr; vesa_store_mode_params_graphics() 216 boot_params.screen_info.lfb_linelength = vminfo.logical_scan; vesa_store_mode_params_graphics() 217 boot_params.screen_info.lfb_width = vminfo.h_res; vesa_store_mode_params_graphics() 218 boot_params.screen_info.lfb_height = vminfo.v_res; vesa_store_mode_params_graphics() 219 boot_params.screen_info.lfb_depth = vminfo.bpp; vesa_store_mode_params_graphics() 220 boot_params.screen_info.pages = vminfo.image_planes; vesa_store_mode_params_graphics() 221 boot_params.screen_info.lfb_base = vminfo.lfb_ptr; vesa_store_mode_params_graphics() 222 memcpy(&boot_params.screen_info.red_size, vesa_store_mode_params_graphics() 226 boot_params.screen_info.lfb_size = vginfo.total_memory; vesa_store_mode_params_graphics()
|
H A D | video.c | 32 boot_params.screen_info.orig_x = oreg.dl; store_cursor_position() 33 boot_params.screen_info.orig_y = oreg.dh; store_cursor_position() 36 boot_params.screen_info.flags |= VIDEO_FLAGS_NOCURSOR; store_cursor_position() 39 boot_params.screen_info.flags |= VIDEO_FLAGS_NOCURSOR; store_cursor_position() 53 boot_params.screen_info.orig_video_mode = oreg.al & 0x7f; store_video_mode() 54 boot_params.screen_info.orig_video_page = oreg.bh; store_video_mode() 76 if (boot_params.screen_info.orig_video_mode == 0x07) { store_mode_params() 86 boot_params.screen_info.orig_video_points = font_size; store_mode_params() 96 boot_params.screen_info.orig_video_cols = x; store_mode_params() 97 boot_params.screen_info.orig_video_lines = y; store_mode_params() 244 saved.x = boot_params.screen_info.orig_video_cols; save_screen() 245 saved.y = boot_params.screen_info.orig_video_lines; save_screen() 246 saved.curx = boot_params.screen_info.orig_x; save_screen() 247 saved.cury = boot_params.screen_info.orig_y; save_screen() 261 int xs = boot_params.screen_info.orig_video_cols; restore_screen() 262 int ys = boot_params.screen_info.orig_video_lines; restore_screen()
|
H A D | video-bios.c | 52 if (new_mode != boot_params.screen_info.orig_video_mode) { set_bios_mode() 56 ireg.ax = boot_params.screen_info.orig_video_mode; set_bios_mode() 69 u8 saved_mode = boot_params.screen_info.orig_video_mode; bios_probe()
|
H A D | video-vga.c | 258 boot_params.screen_info.orig_video_ega_bx = oreg.bx; vga_probe() 270 boot_params.screen_info.orig_video_isVGA = 1; vga_probe()
|
H A D | memory.c | 117 boot_params.screen_info.ext_mem_k = oreg.ax; detect_memory_88()
|
/linux-4.4.14/arch/mips/loongson64/common/ |
H A D | setup.c | 19 #include <linux/screen_info.h> 42 screen_info = (struct screen_info) { plat_mem_setup()
|
/linux-4.4.14/arch/arm/mach-footbridge/ |
H A D | cats-hw.c | 11 #include <linux/screen_info.h> 82 screen_info.orig_video_lines = 25; fixup_cats() 83 screen_info.orig_video_points = 16; fixup_cats() 84 screen_info.orig_y = 24; fixup_cats()
|
/linux-4.4.14/arch/x86/platform/efi/ |
H A D | early_printk.c | 34 base = boot_params.screen_info.lfb_base; early_efi_map_fb() 35 size = boot_params.screen_info.lfb_size; early_efi_map_fb() 51 base = boot_params.screen_info.lfb_base; early_efi_map() 70 len = boot_params.screen_info.lfb_linelength; early_efi_clear_scanline() 85 len = boot_params.screen_info.lfb_linelength; early_efi_scroll_up() 86 height = boot_params.screen_info.lfb_height; early_efi_scroll_up() 129 struct screen_info *si; early_efi_write() 134 si = &boot_params.screen_info; early_efi_write() 201 struct screen_info *si; early_efi_setup() 205 si = &boot_params.screen_info; early_efi_setup()
|
/linux-4.4.14/arch/x86/include/asm/ |
H A D | sysfb.h | 16 #include <linux/screen_info.h> 77 bool parse_mode(const struct screen_info *si, 79 int create_simplefb(const struct screen_info *si, 84 static inline bool parse_mode(const struct screen_info *si, parse_mode() 90 static inline int create_simplefb(const struct screen_info *si, create_simplefb()
|
/linux-4.4.14/drivers/video/console/ |
H A D | dummycon.c | 12 #include <linux/screen_info.h> 21 #define DUMMY_COLUMNS screen_info.orig_video_cols 22 #define DUMMY_ROWS screen_info.orig_video_lines
|
H A D | vgacon.c | 50 #include <linux/screen_info.h> 376 if (screen_info.orig_video_isVGA == VIDEO_TYPE_VLFB || vgacon_startup() 377 screen_info.orig_video_isVGA == VIDEO_TYPE_EFI) { vgacon_startup() 387 /* boot_params.screen_info initialized? */ vgacon_startup() 388 if ((screen_info.orig_video_mode == 0) && vgacon_startup() 389 (screen_info.orig_video_lines == 0) && vgacon_startup() 390 (screen_info.orig_video_cols == 0)) vgacon_startup() 394 if ((screen_info.orig_video_mode == 0x0D) || /* 320x200/4 */ vgacon_startup() 395 (screen_info.orig_video_mode == 0x0E) || /* 640x200/4 */ vgacon_startup() 396 (screen_info.orig_video_mode == 0x10) || /* 640x350/4 */ vgacon_startup() 397 (screen_info.orig_video_mode == 0x12) || /* 640x480/4 */ vgacon_startup() 398 (screen_info.orig_video_mode == 0x6A)) /* 800x600/4 (VESA) */ vgacon_startup() 401 vga_video_num_lines = screen_info.orig_video_lines; vgacon_startup() 402 vga_video_num_columns = screen_info.orig_video_cols; vgacon_startup() 405 if (screen_info.orig_video_mode == 7) { vgacon_startup() 410 if ((screen_info.orig_video_ega_bx & 0xff) != 0x10) { vgacon_startup() 438 if ((screen_info.orig_video_ega_bx & 0xff) != 0x10) { vgacon_startup() 443 if (!screen_info.orig_video_isVGA) { vgacon_startup() 537 vga_default_font_height = screen_info.orig_video_points; vgacon_startup() 538 vga_video_font_height = screen_info.orig_video_points; vgacon_startup() 544 vgacon_xres = screen_info.orig_video_cols * VGA_FONTWIDTH; vgacon_startup() 590 !(screen_info.flags & VIDEO_FLAGS_NOCURSOR); vgacon_init() 821 int rows = screen_info.orig_video_lines * vga_default_font_height/ vgacon_switch() 841 vga_video_num_columns <= screen_info.orig_video_cols && vgacon_switch() 1315 if (width % 2 || width > screen_info.orig_video_cols || vgacon_resize() 1316 height > (screen_info.orig_video_lines * vga_default_font_height)/ vgacon_resize() 1348 c->vc_x = screen_info.orig_x; vgacon_save_screen() 1349 c->vc_y = screen_info.orig_y; vgacon_save_screen()
|
/linux-4.4.14/arch/arm/kernel/ |
H A D | atags_parse.c | 24 #include <linux/screen_info.h> 76 screen_info.orig_x = tag->u.videotext.x; parse_tag_videotext() 77 screen_info.orig_y = tag->u.videotext.y; parse_tag_videotext() 78 screen_info.orig_video_page = tag->u.videotext.video_page; parse_tag_videotext() 79 screen_info.orig_video_mode = tag->u.videotext.video_mode; parse_tag_videotext() 80 screen_info.orig_video_cols = tag->u.videotext.video_cols; parse_tag_videotext() 81 screen_info.orig_video_ega_bx = tag->u.videotext.video_ega_bx; parse_tag_videotext() 82 screen_info.orig_video_lines = tag->u.videotext.video_lines; parse_tag_videotext() 83 screen_info.orig_video_isVGA = tag->u.videotext.video_isvga; parse_tag_videotext() 84 screen_info.orig_video_points = tag->u.videotext.video_points; parse_tag_videotext()
|
H A D | setup.c | 20 #include <linux/screen_info.h> 815 struct screen_info screen_info = { variable in typeref:struct:screen_info
|
/linux-4.4.14/arch/m32r/include/asm/ |
H A D | setup.h | 22 #define SCREEN_INFO (*(struct screen_info *) (PARAM+0x200))
|
/linux-4.4.14/arch/x86/include/uapi/asm/ |
H A D | bootparam.h | 33 #include <linux/screen_info.h> 115 struct screen_info screen_info; /* 0x000 */ member in struct:boot_params
|
/linux-4.4.14/arch/mips/jazz/ |
H A D | setup.c | 16 #include <linux/screen_info.h> 79 screen_info = (struct screen_info) { plat_mem_setup()
|
/linux-4.4.14/arch/score/kernel/ |
H A D | setup.c | 32 #include <linux/screen_info.h> 37 struct screen_info screen_info; variable in typeref:struct:screen_info
|
/linux-4.4.14/arch/mips/sibyte/swarm/ |
H A D | setup.c | 30 #include <linux/screen_info.h> 145 screen_info = (struct screen_info) { plat_mem_setup()
|
/linux-4.4.14/arch/sh/kernel/ |
H A D | sh_ksyms_64.c | 18 #include <linux/screen_info.h>
|
H A D | setup.c | 9 #include <linux/screen_info.h> 68 struct screen_info screen_info; variable in typeref:struct:screen_info
|
/linux-4.4.14/arch/mips/sni/ |
H A D | setup.c | 16 #include <linux/screen_info.h> 42 struct screen_info *si = &screen_info; sni_display_setup()
|
/linux-4.4.14/arch/h8300/kernel/ |
H A D | setup.c | 31 #include <linux/screen_info.h> 55 struct screen_info screen_info; variable in typeref:struct:screen_info
|
/linux-4.4.14/arch/x86/boot/compressed/ |
H A D | misc.c | 187 if (real_mode->screen_info.orig_video_mode == 0 && __putstr() 191 x = real_mode->screen_info.orig_x; __putstr() 192 y = real_mode->screen_info.orig_y; __putstr() 213 real_mode->screen_info.orig_x = x; __putstr() 214 real_mode->screen_info.orig_y = y; __putstr() 402 if (real_mode->screen_info.orig_video_mode == 7) { decompress_kernel() 410 lines = real_mode->screen_info.orig_video_lines; decompress_kernel() 411 cols = real_mode->screen_info.orig_video_cols; decompress_kernel()
|
H A D | misc.h | 15 #include <linux/screen_info.h>
|
H A D | eboot.c | 575 setup_pixel_info(struct screen_info *si, u32 pixels_per_scan_line, setup_pixel_info() 646 setup_gop32(struct screen_info *si, efi_guid_t *proto, setup_gop32() 759 setup_gop64(struct screen_info *si, efi_guid_t *proto, setup_gop64() 853 static efi_status_t setup_gop(struct screen_info *si, efi_guid_t *proto, setup_gop() 973 static efi_status_t setup_uga(struct screen_info *si, efi_guid_t *uga_proto, setup_uga() 1026 struct screen_info *si; setup_graphics() 1033 si = &boot_params->screen_info; setup_graphics()
|
/linux-4.4.14/include/uapi/linux/ |
H A D | screen_info.h | 10 struct screen_info { struct
|
/linux-4.4.14/drivers/video/fbdev/intelfb/ |
H A D | intelfbdrv.c | 123 #include <linux/screen_info.h> 793 screen_info.orig_video_isVGA != VIDEO_TYPE_VLFB) { intelfb_pci_register() 804 if (screen_info.orig_video_isVGA == VIDEO_TYPE_VLFB) intelfb_pci_register() 948 dinfo->initial_fb_base = screen_info.lfb_base; get_initial_mode() 949 dinfo->initial_video_ram = screen_info.lfb_size * KB(64); get_initial_mode() 950 dinfo->initial_pitch = screen_info.lfb_linelength; get_initial_mode() 954 var->xres = screen_info.lfb_width; get_initial_mode() 955 var->yres = screen_info.lfb_height; get_initial_mode() 956 var->bits_per_pixel = screen_info.lfb_depth; get_initial_mode() 957 switch (screen_info.lfb_depth) { get_initial_mode() 992 var->red.offset = screen_info.red_pos; get_initial_mode() 993 var->red.length = screen_info.red_size; get_initial_mode() 994 var->green.offset = screen_info.green_pos; get_initial_mode() 995 var->green.length = screen_info.green_size; get_initial_mode() 996 var->blue.offset = screen_info.blue_pos; get_initial_mode() 997 var->blue.length = screen_info.blue_size; get_initial_mode() 998 var->transp.offset = screen_info.rsvd_pos; get_initial_mode() 999 var->transp.length = screen_info.rsvd_size; get_initial_mode()
|
/linux-4.4.14/arch/xtensa/kernel/ |
H A D | xtensa_ksyms.c | 116 // FIXME EXPORT_SYMBOL(screen_info);
|
H A D | setup.c | 21 #include <linux/screen_info.h> 58 struct screen_info screen_info = { 0, 24, 0, 0, 0, 80, 0, 0, 0, 24, 1, 16}; variable in typeref:struct:screen_info
|
/linux-4.4.14/arch/alpha/kernel/ |
H A D | sys_sio.c | 19 #include <linux/screen_info.h> 62 screen_info.orig_y = 37; alphabook1_init_arch() 63 screen_info.orig_video_cols = 100; alphabook1_init_arch() 64 screen_info.orig_video_lines = 37; alphabook1_init_arch()
|
H A D | setup.c | 21 #include <linux/screen_info.h> 139 * The format of "screen_info" is strange, and due to early 144 struct screen_info screen_info = { variable in typeref:struct:screen_info 153 EXPORT_SYMBOL(screen_info); variable
|
/linux-4.4.14/arch/ia64/pci/ |
H A D | fixup.c | 9 #include <linux/screen_info.h>
|
/linux-4.4.14/arch/unicore32/kernel/ |
H A D | setup.c | 22 #include <linux/screen_info.h> 57 struct screen_info screen_info; variable in typeref:struct:screen_info
|
/linux-4.4.14/arch/sparc/kernel/ |
H A D | setup_32.c | 19 #include <linux/screen_info.h> 53 struct screen_info screen_info = { variable in typeref:struct:screen_info
|
H A D | setup_64.c | 17 #include <linux/screen_info.h> 67 struct screen_info screen_info = { variable in typeref:struct:screen_info
|
/linux-4.4.14/arch/mips/mti-malta/ |
H A D | malta-setup.c | 26 #include <linux/screen_info.h> 199 screen_info = (struct screen_info) { screen_info_setup()
|
/linux-4.4.14/arch/cris/kernel/ |
H A D | setup.c | 18 #include <linux/screen_info.h> 31 struct screen_info screen_info; variable in typeref:struct:screen_info
|
/linux-4.4.14/arch/m32r/kernel/ |
H A D | setup.c | 24 #include <linux/screen_info.h> 55 struct screen_info screen_info = { variable in typeref:struct:screen_info
|
/linux-4.4.14/arch/c6x/kernel/ |
H A D | setup.c | 30 #include <linux/screen_info.h> 42 struct screen_info screen_info; variable in typeref:struct:screen_info
|
/linux-4.4.14/drivers/staging/sm750fb/ |
H A D | sm750_cursor.c | 16 #include <linux/screen_info.h>
|
H A D | sm750_accel.c | 16 #include <linux/screen_info.h>
|
H A D | sm750_hw.c | 20 #include <linux/screen_info.h>
|
H A D | sm750.c | 15 #include <linux/screen_info.h>
|
/linux-4.4.14/arch/arm/include/uapi/asm/ |
H A D | setup.h | 100 /* initial values for vesafb-type framebuffers. see struct screen_info
|
/linux-4.4.14/drivers/hv/ |
H A D | vmbus_drv.c | 42 #include <linux/screen_info.h> 1146 u32 fb_end = screen_info.lfb_base + (screen_info.lfb_size << 1); vmbus_allocate_mmio() 1162 (range_max <= screen_info.lfb_base)) { vmbus_allocate_mmio() 1165 if ((range_min <= screen_info.lfb_base) && vmbus_allocate_mmio() 1166 (range_max >= screen_info.lfb_base)) { vmbus_allocate_mmio() 1172 local_max = screen_info.lfb_base - 1; vmbus_allocate_mmio()
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | setup-common.c | 27 #include <linux/screen_info.h> 87 struct screen_info screen_info = { variable in typeref:struct:screen_info 96 EXPORT_SYMBOL(screen_info); variable
|
/linux-4.4.14/arch/ia64/sn/kernel/ |
H A D | setup.c | 15 #include <linux/screen_info.h> 109 * The format of "screen_info" is strange, and due to early i386-setup 113 struct screen_info sn_screen_info = { 486 screen_info = sn_screen_info; sn_setup()
|
/linux-4.4.14/arch/mips/kernel/ |
H A D | setup.c | 16 #include <linux/screen_info.h> 51 struct screen_info screen_info; variable in typeref:struct:screen_info
|
/linux-4.4.14/drivers/gpu/vga/ |
H A D | vgaarb.c | 46 #include <linux/screen_info.h> 1343 limit = screen_info.lfb_base + screen_info.lfb_size; vga_arb_device_init() 1358 if (screen_info.lfb_base < start || limit >= end) vga_arb_device_init()
|
/linux-4.4.14/arch/mn10300/boot/compressed/ |
H A D | misc.c | 149 #define SCREEN_INFO (*(struct screen_info *)0x90000)
|
/linux-4.4.14/arch/arm64/kernel/ |
H A D | setup.c | 31 #include <linux/screen_info.h>
|
/linux-4.4.14/arch/ia64/kernel/ |
H A D | setup.c | 38 #include <linux/screen_info.h> 77 struct screen_info screen_info; variable in typeref:struct:screen_info
|
/linux-4.4.14/arch/tile/kernel/ |
H A D | setup.c | 34 #include <linux/screen_info.h> 55 struct screen_info screen_info; ABS() variable in typeref:struct:screen_info
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
H A D | nouveau_fbcon.c | 37 #include <linux/screen_info.h>
|
/linux-4.4.14/drivers/video/fbdev/sis/ |
H A D | sis_main.c | 43 #include <linux/screen_info.h> 227 int mydepth = screen_info.lfb_depth; sisfb_get_vga_mode_from_kernel() 229 if(screen_info.orig_video_isVGA != VIDEO_TYPE_VLFB) return; sisfb_get_vga_mode_from_kernel() 231 if( (screen_info.lfb_width >= 320) && (screen_info.lfb_width <= 2048) && sisfb_get_vga_mode_from_kernel() 232 (screen_info.lfb_height >= 200) && (screen_info.lfb_height <= 1536) && sisfb_get_vga_mode_from_kernel() 237 sprintf(mymode, "%ux%ux%u", screen_info.lfb_width, sisfb_get_vga_mode_from_kernel() 238 screen_info.lfb_height, sisfb_get_vga_mode_from_kernel()
|
/linux-4.4.14/drivers/lguest/x86/ |
H A D | core.c | 33 #include <linux/screen_info.h>
|
/linux-4.4.14/arch/x86/lguest/ |
H A D | boot.c | 49 #include <linux/screen_info.h>
|