Searched refs:default_vmode (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/drivers/video/fbdev/ |
D | platinumfb.c | 40 static int default_vmode = VMODE_NVRAM; variable 349 if (IS_REACHABLE(CONFIG_NVRAM) && default_vmode == VMODE_NVRAM) in platinum_init_fb() 350 default_vmode = nvram_read_byte(NV_VMODE); in platinum_init_fb() 351 if (default_vmode <= 0 || default_vmode > VMODE_MAX || in platinum_init_fb() 352 !platinum_reg_init[default_vmode - 1]) { in platinum_init_fb() 353 default_vmode = mac_map_monitor_sense(sense); in platinum_init_fb() 354 if (!platinum_reg_init[default_vmode - 1]) in platinum_init_fb() 355 default_vmode = VMODE_640_480_60; in platinum_init_fb() 366 platinum_vram_reqd(default_vmode, default_cmode) > pinfo->total_vram) in platinum_init_fb() 369 printk("platinumfb: Using video mode %d and color mode %d.\n", default_vmode, default_cmode); in platinum_init_fb() [all …]
|
D | valkyriefb.c | 66 static int default_vmode = VMODE_NVRAM; variable 280 if (IS_REACHABLE(CONFIG_NVRAM) && default_vmode == VMODE_NVRAM) in valkyrie_choose_mode() 281 default_vmode = nvram_read_byte(NV_VMODE); in valkyrie_choose_mode() 283 if (default_vmode <= 0 || default_vmode > VMODE_MAX || in valkyrie_choose_mode() 284 !valkyrie_reg_init[default_vmode - 1]) { in valkyrie_choose_mode() 285 default_vmode = mac_map_monitor_sense(p->sense); in valkyrie_choose_mode() 286 if (!valkyrie_reg_init[default_vmode - 1]) in valkyrie_choose_mode() 287 default_vmode = VMODE_640_480_67; in valkyrie_choose_mode() 298 || valkyrie_reg_init[default_vmode-1]->pitch[default_cmode] == 0 in valkyrie_choose_mode() 299 || valkyrie_vram_reqd(default_vmode, default_cmode) > p->total_vram) in valkyrie_choose_mode() [all …]
|
D | udlfb.c | 1289 const struct fb_videomode *default_vmode = NULL; in dlfb_setup_modes() local 1367 default_vmode = fb_find_best_display(&info->monspecs, in dlfb_setup_modes() 1372 if (default_vmode == NULL) { in dlfb_setup_modes() 1398 default_vmode = fb_find_nearest_mode(&fb_vmode, in dlfb_setup_modes() 1403 if ((default_vmode != NULL) && (dlfb->fb_count == 0)) { in dlfb_setup_modes() 1405 fb_videomode_to_var(&info->var, default_vmode); in dlfb_setup_modes()
|
D | smscufx.c | 1484 const struct fb_videomode *default_vmode = NULL; in ufx_setup_modes() local 1551 default_vmode = fb_find_best_display(&info->monspecs, in ufx_setup_modes() 1556 if (default_vmode == NULL) { in ufx_setup_modes() 1578 default_vmode = fb_find_nearest_mode(&fb_vmode, in ufx_setup_modes() 1583 if ((default_vmode != NULL) && (dev->fb_count == 0)) { in ufx_setup_modes() 1585 fb_videomode_to_var(&info->var, default_vmode); in ufx_setup_modes()
|
D | controlfb.c | 156 static int default_vmode __initdata = VMODE_NVRAM; 420 vmode = default_vmode; in init_control() 547 default_vmode = vmode; in control_setup()
|
/Linux-v5.4/drivers/video/fbdev/aty/ |
D | aty128fb.c | 392 static int default_vmode = VMODE_1024_768_60; variable 1710 default_vmode = vmode; in aty128fb_setup() 1963 if (default_vmode <= 0 || default_vmode > VMODE_MAX) in aty128_init() 1964 default_vmode = VMODE_1024_768_60; in aty128_init() 1974 default_vmode = VMODE_1024_768_75; in aty128_init() 1978 default_vmode = VMODE_800_600_60; in aty128_init() 1983 default_vmode = VMODE_1024_768_60; in aty128_init() 1987 default_vmode = VMODE_1152_768_60; in aty128_init() 1996 if (mac_vmode_to_var(default_vmode, default_cmode, &var)) in aty128_init()
|
D | atyfb_base.c | 318 static int default_vmode = VMODE_CHOOSE; variable 321 module_param_named(vmode, default_vmode, int, 0); 2639 if (default_vmode == VMODE_CHOOSE) { in aty_init() 2643 default_vmode = VMODE_1024_768_60; in aty_init() 2645 default_vmode = VMODE_1024_768_75; in aty_init() 2648 default_vmode = VMODE_800_600_60; in aty_init() 2650 default_vmode = VMODE_640_480_67; in aty_init() 2655 if (default_vmode <= 0 || default_vmode > VMODE_MAX) in aty_init() 2656 default_vmode = VMODE_640_480_60; in aty_init() 2659 if (!mac_vmode_to_var(default_vmode, default_cmode, in aty_init() [all …]
|
/Linux-v5.4/drivers/video/fbdev/matrox/ |
D | matroxfb_base.c | 121 static int default_vmode = VMODE_NVRAM; variable 1877 if (default_vmode <= 0 || default_vmode > VMODE_MAX) in initMatrox2() 1878 default_vmode = VMODE_640_480_60; in initMatrox2() 1885 if (!mac_vmode_to_var(default_vmode, default_cmode, &var)) { in initMatrox2() 2386 default_vmode = vmode; in matroxfb_setup() 2558 module_param_named(vmode, default_vmode, int, 0);
|