Home
last modified time | relevance | path

Searched refs:default_vmode (Results 1 – 8 of 8) sorted by relevance

/drivers/video/fbdev/
Dplatinumfb.c42 static int default_vmode = VMODE_NVRAM; variable
350 if (default_vmode == VMODE_NVRAM) { in platinum_init_fb()
352 default_vmode = nvram_read_byte(NV_VMODE); in platinum_init_fb()
353 if (default_vmode <= 0 || default_vmode > VMODE_MAX || in platinum_init_fb()
354 !platinum_reg_init[default_vmode-1]) in platinum_init_fb()
356 default_vmode = VMODE_CHOOSE; in platinum_init_fb()
358 if (default_vmode == VMODE_CHOOSE) { in platinum_init_fb()
359 default_vmode = mac_map_monitor_sense(sense); in platinum_init_fb()
361 if (default_vmode <= 0 || default_vmode > VMODE_MAX) in platinum_init_fb()
362 default_vmode = VMODE_640_480_60; in platinum_init_fb()
[all …]
Dvalkyriefb.c71 static int default_vmode = VMODE_CHOOSE; variable
74 static int default_vmode = VMODE_NVRAM; variable
289 if (default_vmode == VMODE_NVRAM) { in valkyrie_choose_mode()
290 default_vmode = nvram_read_byte(NV_VMODE); in valkyrie_choose_mode()
291 if (default_vmode <= 0 in valkyrie_choose_mode()
292 || default_vmode > VMODE_MAX in valkyrie_choose_mode()
293 || !valkyrie_reg_init[default_vmode - 1]) in valkyrie_choose_mode()
294 default_vmode = VMODE_CHOOSE; in valkyrie_choose_mode()
297 if (default_vmode == VMODE_CHOOSE) in valkyrie_choose_mode()
298 default_vmode = mac_map_monitor_sense(p->sense); in valkyrie_choose_mode()
[all …]
Dcontrolfb.c158 static int default_vmode __initdata = VMODE_NVRAM;
425 if (default_vmode == VMODE_NVRAM) { in init_control()
438 vmode=default_vmode; in init_control()
561 default_vmode = vmode; in control_setup()
Dsmscufx.c1495 const struct fb_videomode *default_vmode = NULL; in ufx_setup_modes() local
1562 default_vmode = fb_find_best_display(&info->monspecs, in ufx_setup_modes()
1567 if (default_vmode == NULL) { in ufx_setup_modes()
1589 default_vmode = fb_find_nearest_mode(&fb_vmode, in ufx_setup_modes()
1594 if ((default_vmode != NULL) && (dev->fb_count == 0)) { in ufx_setup_modes()
1596 fb_videomode_to_var(&info->var, default_vmode); in ufx_setup_modes()
Dudlfb.c1234 const struct fb_videomode *default_vmode = NULL; in dlfb_setup_modes() local
1310 default_vmode = fb_find_best_display(&info->monspecs, in dlfb_setup_modes()
1315 if (default_vmode == NULL) { in dlfb_setup_modes()
1339 default_vmode = fb_find_nearest_mode(&fb_vmode, in dlfb_setup_modes()
1344 if ((default_vmode != NULL) && (dev->fb_count == 0)) { in dlfb_setup_modes()
1346 fb_videomode_to_var(&info->var, default_vmode); in dlfb_setup_modes()
/drivers/video/fbdev/aty/
Daty128fb.c392 static int default_vmode = VMODE_1024_768_60; variable
1728 default_vmode = vmode; in aty128fb_setup()
1981 if (default_vmode <= 0 || default_vmode > VMODE_MAX) in aty128_init()
1982 default_vmode = VMODE_1024_768_60; in aty128_init()
1992 default_vmode = VMODE_1024_768_75; in aty128_init()
1996 default_vmode = VMODE_800_600_60; in aty128_init()
2001 default_vmode = VMODE_1024_768_60; in aty128_init()
2005 default_vmode = VMODE_1152_768_60; in aty128_init()
2014 if (mac_vmode_to_var(default_vmode, default_cmode, &var)) in aty128_init()
Datyfb_base.c318 static int default_vmode = VMODE_CHOOSE; variable
321 module_param_named(vmode, default_vmode, int, 0);
2670 if (default_vmode == VMODE_CHOOSE) { in aty_init()
2674 default_vmode = VMODE_1024_768_60; in aty_init()
2676 default_vmode = VMODE_1024_768_75; in aty_init()
2679 default_vmode = VMODE_800_600_60; in aty_init()
2681 default_vmode = VMODE_640_480_67; in aty_init()
2686 if (default_vmode <= 0 || default_vmode > VMODE_MAX) in aty_init()
2687 default_vmode = VMODE_640_480_60; in aty_init()
2690 if (!mac_vmode_to_var(default_vmode, default_cmode, in aty_init()
[all …]
/drivers/video/fbdev/matrox/
Dmatroxfb_base.c120 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);