| /OK3568_Linux_fs/kernel/arch/x86/xen/ |
| H A D | vga.c | 14 struct screen_info *screen_info = &boot_params.screen_info; in xen_init_vga() local 18 screen_info->orig_video_mode = 3; in xen_init_vga() 19 screen_info->orig_video_isVGA = 1; in xen_init_vga() 20 screen_info->orig_video_lines = 25; in xen_init_vga() 21 screen_info->orig_video_cols = 80; in xen_init_vga() 22 screen_info->orig_video_ega_bx = 3; in xen_init_vga() 23 screen_info->orig_video_points = 16; in xen_init_vga() 24 screen_info->orig_y = screen_info->orig_video_lines - 1; in xen_init_vga() 31 screen_info->orig_video_lines = info->u.text_mode_3.rows; in xen_init_vga() 32 screen_info->orig_video_cols = info->u.text_mode_3.columns; in xen_init_vga() [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/kernel/ |
| H A D | sysfb_efi.c | 70 void efifb_setup_from_dmi(struct screen_info *si, const char *opt) in efifb_setup_from_dmi() 103 if (screen_info.lfb_base == 0) { in efifb_set_system() 109 screen_info.lfb_base = choose_value(info->base, in efifb_set_system() 110 screen_info.lfb_base, OVERRIDE_BASE, in efifb_set_system() 137 if (screen_info.lfb_base >= start && in efifb_set_system() 138 screen_info.lfb_base < end) { in efifb_set_system() 145 screen_info.lfb_base = 0; in efifb_set_system() 149 if (screen_info.lfb_base) { in efifb_set_system() 150 screen_info.lfb_linelength = choose_value(info->stride, in efifb_set_system() 151 screen_info.lfb_linelength, OVERRIDE_STRIDE, in efifb_set_system() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/ |
| H A D | efifb.c | 101 static void efifb_copy_bmp(u8 *src, u32 *dst, int width, struct screen_info *si) in efifb_copy_bmp() 123 static bool efifb_bgrt_sanity_check(struct screen_info *si, u32 bmp_width) in efifb_bgrt_sanity_check() 134 static bool efifb_bgrt_sanity_check(struct screen_info *si, u32 bmp_width) in efifb_bgrt_sanity_check() 143 struct screen_info *si = &screen_info; in efifb_show_boot_graphics() 275 efifb_setup_from_dmi(&screen_info, this_opt); in efifb_setup() 278 screen_info.lfb_base = simple_strtoul(this_opt+5, NULL, 0); in efifb_setup() 280 screen_info.lfb_linelength = simple_strtoul(this_opt+7, NULL, 0) * 4; in efifb_setup() 282 screen_info.lfb_height = simple_strtoul(this_opt+7, NULL, 0); in efifb_setup() 284 screen_info.lfb_width = simple_strtoul(this_opt+6, NULL, 0); in efifb_setup() 297 if (screen_info.lfb_base) in fb_base_is_valid() [all …]
|
| H A D | vesafb.c | 251 if (screen_info.orig_video_isVGA != VIDEO_TYPE_VLFB) in vesafb_probe() 254 vga_compat = (screen_info.capabilities & 2) ? 0 : 1; in vesafb_probe() 255 vesafb_fix.smem_start = screen_info.lfb_base; in vesafb_probe() 256 vesafb_defined.bits_per_pixel = screen_info.lfb_depth; in vesafb_probe() 259 vesafb_defined.xres = screen_info.lfb_width; in vesafb_probe() 260 vesafb_defined.yres = screen_info.lfb_height; in vesafb_probe() 261 vesafb_fix.line_length = screen_info.lfb_linelength; in vesafb_probe() 273 size_total = screen_info.lfb_size * 65536; in vesafb_probe() 293 screen_info.vesapm_seg = 0; in vesafb_probe() 319 info->apertures->ranges[0].base = screen_info.lfb_base; in vesafb_probe() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/video/drm/ |
| H A D | rockchip_dw_hdmi.c | 205 struct base_screen_info *screen_info, in drm_rk_select_color() argument 219 if (screen_info) in drm_rk_select_color() 220 base_color = screen_info->format; in drm_rk_select_color() 275 if (screen_info && screen_info->depth == 10) in drm_rk_select_color() 276 color_depth = screen_info->depth; in drm_rk_select_color() 353 struct base_screen_info *screen_info = NULL; in drm_rk_selete_output() local 381 screen_size = sizeof(base2_parameter->screen_info) / in drm_rk_selete_output() 382 sizeof(base2_parameter->screen_info[0]); in drm_rk_selete_output() 385 if (base2_parameter->screen_info[i].type == in drm_rk_selete_output() 388 &base2_parameter->screen_info[i]; in drm_rk_selete_output() [all …]
|
| H A D | rockchip_dw_hdmi_qp.c | 770 struct base_screen_info *screen_info, in drm_rk_select_color() argument 785 if (screen_info) in drm_rk_select_color() 786 base_color = screen_info->format; in drm_rk_select_color() 841 if (screen_info && screen_info->depth == 10) in drm_rk_select_color() 842 color_depth = screen_info->depth; in drm_rk_select_color() 918 struct base_screen_info *screen_info = NULL; in dw_hdmi_qp_selete_output() local 978 screen_info = &base_parameter.screen_list[i]; in dw_hdmi_qp_selete_output() 992 screen_size = sizeof(base2_parameter->screen_info) / in dw_hdmi_qp_selete_output() 993 sizeof(base2_parameter->screen_info[0]); in dw_hdmi_qp_selete_output() 996 if (base2_parameter->screen_info[i].type == in dw_hdmi_qp_selete_output() [all …]
|
| H A D | rockchip_tve.c | 649 struct base_screen_info *screen_info = NULL; in tve_select_output() local 704 screen_info = &base_parameter.screen_list[i]; in tve_select_output() 716 screen_size = sizeof(base2_parameter->screen_info) / in tve_select_output() 717 sizeof(base2_parameter->screen_info[0]); in tve_select_output() 720 if (base2_parameter->screen_info[i].type == in tve_select_output() 723 &base2_parameter->screen_info[i]; in tve_select_output() 727 screen_info = malloc(sizeof(*screen_info)); in tve_select_output() 729 screen_info->type = screen_info2->type; in tve_select_output() 730 screen_info->mode = screen_info2->resolution; in tve_select_output() 731 screen_info->format = screen_info2->format; in tve_select_output() [all …]
|
| H A D | rk1000_tve.c | 172 struct base_screen_info *screen_info = NULL; in drm_rk1000_select_output() local 224 screen_info = &base_parameter.screen_list[i]; in drm_rk1000_select_output() 249 if (screen_info && in drm_rk1000_select_output() 250 (screen_info->mode.hdisplay == 720 && in drm_rk1000_select_output() 251 screen_info->mode.hsync_end == 742 && in drm_rk1000_select_output() 252 screen_info->mode.vdisplay == 480)) { in drm_rk1000_select_output()
|
| /OK3568_Linux_fs/external/xserver/hw/xnest/ |
| H A D | Init.c | 58 InitOutput(ScreenInfo * screen_info, int argc, char *argv[]) in InitOutput() argument 64 screen_info->imageByteOrder = ImageByteOrder(xnestDisplay); in InitOutput() 65 screen_info->bitmapScanlineUnit = BitmapUnit(xnestDisplay); in InitOutput() 66 screen_info->bitmapScanlinePad = BitmapPad(xnestDisplay); in InitOutput() 67 screen_info->bitmapBitOrder = BitmapBitOrder(xnestDisplay); in InitOutput() 69 screen_info->numPixmapFormats = 0; in InitOutput() 74 screen_info->formats[screen_info->numPixmapFormats].depth = in InitOutput() 76 screen_info->formats[screen_info->numPixmapFormats].bitsPerPixel = in InitOutput() 78 screen_info->formats[screen_info->numPixmapFormats].scanlinePad = in InitOutput() 80 screen_info->numPixmapFormats++; in InitOutput() [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/u-boot/include/linux/ |
| H A D | screen_info.h | 10 struct screen_info { struct 72 extern struct screen_info screen_info; 74 #define ORIG_X (screen_info.orig_x) 75 #define ORIG_Y (screen_info.orig_y) 76 #define ORIG_VIDEO_MODE (screen_info.orig_video_mode) 77 #define ORIG_VIDEO_COLS (screen_info.orig_video_cols) 78 #define ORIG_VIDEO_EGA_BX (screen_info.orig_video_ega_bx) 79 #define ORIG_VIDEO_LINES (screen_info.orig_video_lines) 80 #define ORIG_VIDEO_ISVGA (screen_info.orig_video_isVGA) 81 #define ORIG_VIDEO_POINTS (screen_info.orig_video_points)
|
| /OK3568_Linux_fs/u-boot/drivers/pci/ |
| H A D | pci_rom.c | 205 void setup_video(struct screen_info *screen_info) in setup_video() argument 213 screen_info->orig_video_isVGA = VIDEO_TYPE_VLFB; in setup_video() 215 screen_info->lfb_width = vesa->x_resolution; in setup_video() 216 screen_info->lfb_height = vesa->y_resolution; in setup_video() 217 screen_info->lfb_depth = vesa->bits_per_pixel; in setup_video() 218 screen_info->lfb_linelength = vesa->bytes_per_scanline; in setup_video() 219 screen_info->lfb_base = vesa->phys_base_ptr; in setup_video() 220 screen_info->lfb_size = in setup_video() 221 ALIGN(screen_info->lfb_linelength * screen_info->lfb_height, in setup_video() 223 screen_info->lfb_size >>= 16; in setup_video() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/firmware/efi/ |
| H A D | efi-init.c | 65 struct screen_info *si; in init_screen_info() 74 screen_info = *si; in init_screen_info() 78 screen_info.orig_video_cols = 80; in init_screen_info() 79 screen_info.orig_video_lines = 25; in init_screen_info() 82 if (screen_info.orig_video_isVGA == VIDEO_TYPE_EFI && in init_screen_info() 83 memblock_is_map_memory(screen_info.lfb_base)) in init_screen_info() 84 memblock_mark_nomap(screen_info.lfb_base, screen_info.lfb_size); in init_screen_info() 281 u64 fb_base = screen_info.lfb_base; in efifb_overlaps_pci_range() 283 if (screen_info.capabilities & VIDEO_CAPABILITY_64BIT_BASE) in efifb_overlaps_pci_range() 284 fb_base |= (u64)(unsigned long)screen_info.ext_lfb_base << 32; in efifb_overlaps_pci_range() [all …]
|
| H A D | earlycon.c | 36 efi_fb = memremap(fb_base, screen_info.lfb_size, in efi_earlycon_remap_fb() 76 len = screen_info.lfb_linelength; in efi_earlycon_clear_scanline() 91 len = screen_info.lfb_linelength; in efi_earlycon_scroll_up() 92 height = screen_info.lfb_height; in efi_earlycon_scroll_up() 137 struct screen_info *si; in efi_earlycon_write() 142 si = &screen_info; in efi_earlycon_write() 210 struct screen_info *si; in efi_earlycon_setup() 214 if (screen_info.orig_video_isVGA != VIDEO_TYPE_EFI) in efi_earlycon_setup() 217 fb_base = screen_info.lfb_base; in efi_earlycon_setup() 218 if (screen_info.capabilities & VIDEO_CAPABILITY_64BIT_BASE) in efi_earlycon_setup() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/kernel/ |
| H A D | atags_parse.c | 75 screen_info.orig_x = tag->u.videotext.x; in parse_tag_videotext() 76 screen_info.orig_y = tag->u.videotext.y; in parse_tag_videotext() 77 screen_info.orig_video_page = tag->u.videotext.video_page; in parse_tag_videotext() 78 screen_info.orig_video_mode = tag->u.videotext.video_mode; in parse_tag_videotext() 79 screen_info.orig_video_cols = tag->u.videotext.video_cols; in parse_tag_videotext() 80 screen_info.orig_video_ega_bx = tag->u.videotext.video_ega_bx; in parse_tag_videotext() 81 screen_info.orig_video_lines = tag->u.videotext.video_lines; in parse_tag_videotext() 82 screen_info.orig_video_isVGA = tag->u.videotext.video_isvga; in parse_tag_videotext() 83 screen_info.orig_video_points = tag->u.videotext.video_points; in parse_tag_videotext()
|
| /OK3568_Linux_fs/kernel/drivers/video/console/ |
| H A D | vgacon.c | 187 if (screen_info.orig_video_isVGA == VIDEO_TYPE_VLFB || in vgacon_startup() 188 screen_info.orig_video_isVGA == VIDEO_TYPE_EFI) { in vgacon_startup() 199 if ((screen_info.orig_video_lines == 0) || in vgacon_startup() 200 (screen_info.orig_video_cols == 0)) in vgacon_startup() 204 if ((screen_info.orig_video_mode == 0x0D) || /* 320x200/4 */ in vgacon_startup() 205 (screen_info.orig_video_mode == 0x0E) || /* 640x200/4 */ in vgacon_startup() 206 (screen_info.orig_video_mode == 0x10) || /* 640x350/4 */ in vgacon_startup() 207 (screen_info.orig_video_mode == 0x12) || /* 640x480/4 */ in vgacon_startup() 208 (screen_info.orig_video_mode == 0x6A)) /* 800x600/4 (VESA) */ in vgacon_startup() 211 vga_video_num_lines = screen_info.orig_video_lines; in vgacon_startup() [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/include/asm/ |
| H A D | sysfb.h | 73 bool parse_mode(const struct screen_info *si, 75 int create_simplefb(const struct screen_info *si, 80 static inline bool parse_mode(const struct screen_info *si, in parse_mode() 86 static inline int create_simplefb(const struct screen_info *si, in create_simplefb()
|
| /OK3568_Linux_fs/kernel/arch/x86/boot/compressed/ |
| H A D | misc.c | 126 x = boot_params->screen_info.orig_x; in __putstr() 127 y = boot_params->screen_info.orig_y; in __putstr() 148 boot_params->screen_info.orig_x = x; in __putstr() 149 boot_params->screen_info.orig_y = y; in __putstr() 359 if (boot_params->screen_info.orig_video_mode == 7) { in extract_kernel() 367 lines = boot_params->screen_info.orig_video_lines; in extract_kernel() 368 cols = boot_params->screen_info.orig_video_cols; in extract_kernel()
|
| /OK3568_Linux_fs/kernel/arch/riscv/include/asm/ |
| H A D | efi.h | 42 #define alloc_screen_info(x...) (&screen_info) 44 static inline void free_screen_info(struct screen_info *si) in free_screen_info() 48 static inline void efifb_setup_from_dmi(struct screen_info *si, const char *opt) in efifb_setup_from_dmi()
|
| /OK3568_Linux_fs/u-boot/arch/x86/lib/ |
| H A D | zimage.c | 217 setup_base->screen_info.cl_magic = COMMAND_LINE_MAGIC; in setup_zimage() 218 setup_base->screen_info.cl_offset = COMMAND_LINE_OFFSET; in setup_zimage() 242 setup_base->screen_info.cl_magic = COMMAND_LINE_MAGIC; in setup_zimage() 243 setup_base->screen_info.cl_offset = in setup_zimage() 257 setup_video(&setup_base->screen_info); in setup_zimage()
|
| /OK3568_Linux_fs/kernel/arch/ia64/kernel/ |
| H A D | setup.c | 89 struct screen_info screen_info; variable 480 memset(&screen_info, 0, sizeof(screen_info)); in screen_info_setup() 498 screen_info.orig_x = orig_x; in screen_info_setup() 499 screen_info.orig_y = orig_y; in screen_info_setup() 500 screen_info.orig_video_cols = num_cols; in screen_info_setup() 501 screen_info.orig_video_lines = num_rows; in screen_info_setup() 502 screen_info.orig_video_points = font_height; in screen_info_setup() 503 screen_info.orig_video_mode = 3; /* XXX fake */ in screen_info_setup() 504 screen_info.orig_video_isVGA = 1; /* XXX fake */ in screen_info_setup() 505 screen_info.orig_video_ega_bx = 3; /* XXX fake */ in screen_info_setup()
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-footbridge/ |
| H A D | cats-hw.c | 83 screen_info.orig_video_lines = 25; in fixup_cats() 84 screen_info.orig_video_points = 16; in fixup_cats() 85 screen_info.orig_y = 24; in fixup_cats()
|
| /OK3568_Linux_fs/kernel/arch/arm/include/asm/ |
| H A D | efi.h | 52 struct screen_info *alloc_screen_info(void); 53 void free_screen_info(struct screen_info *si); 55 static inline void efifb_setup_from_dmi(struct screen_info *si, const char *opt) in efifb_setup_from_dmi()
|
| /OK3568_Linux_fs/kernel/arch/arm64/include/asm/ |
| H A D | efi.h | 91 #define alloc_screen_info(x...) &screen_info 93 static inline void free_screen_info(struct screen_info *si) in free_screen_info() 97 static inline void efifb_setup_from_dmi(struct screen_info *si, const char *opt) in efifb_setup_from_dmi()
|