Home
last modified time | relevance | path

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

/drivers/video/fbdev/
Dplatinumfb.c40 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 …]
Dvalkyriefb.c66 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 …]
Dudlfb.c1291 const struct fb_videomode *default_vmode = NULL; in dlfb_setup_modes() local
1369 default_vmode = fb_find_best_display(&info->monspecs, in dlfb_setup_modes()
1374 if (default_vmode == NULL) { in dlfb_setup_modes()
1400 default_vmode = fb_find_nearest_mode(&fb_vmode, in dlfb_setup_modes()
1405 if ((default_vmode != NULL) && (dlfb->fb_count == 0)) { in dlfb_setup_modes()
1407 fb_videomode_to_var(&info->var, default_vmode); in dlfb_setup_modes()
Dsmscufx.c1493 const struct fb_videomode *default_vmode = NULL; in ufx_setup_modes() local
1560 default_vmode = fb_find_best_display(&info->monspecs, in ufx_setup_modes()
1565 if (default_vmode == NULL) { in ufx_setup_modes()
1587 default_vmode = fb_find_nearest_mode(&fb_vmode, in ufx_setup_modes()
1592 if ((default_vmode != NULL) && (dev->fb_count == 0)) { in ufx_setup_modes()
1594 fb_videomode_to_var(&info->var, default_vmode); in ufx_setup_modes()
Dcontrolfb.c152 static int default_vmode __initdata = VMODE_NVRAM;
820 default_vmode = vmode; in control_setup()
865 vmode = default_vmode; in init_control()
/drivers/video/fbdev/aty/
Daty128fb.c389 static int default_vmode = VMODE_1024_768_60; variable
1703 default_vmode = vmode; in aty128fb_setup()
1956 if (default_vmode <= 0 || default_vmode > VMODE_MAX) in aty128_init()
1957 default_vmode = VMODE_1024_768_60; in aty128_init()
1967 default_vmode = VMODE_1024_768_75; in aty128_init()
1971 default_vmode = VMODE_800_600_60; in aty128_init()
1976 default_vmode = VMODE_1024_768_60; in aty128_init()
1980 default_vmode = VMODE_1152_768_60; in aty128_init()
1989 if (mac_vmode_to_var(default_vmode, default_cmode, &var)) in aty128_init()
Datyfb_base.c333 static int default_vmode = VMODE_CHOOSE; variable
336 module_param_named(vmode, default_vmode, int, 0);
2680 if (default_vmode == VMODE_CHOOSE) { in aty_init()
2684 default_vmode = VMODE_1024_768_60; in aty_init()
2686 default_vmode = VMODE_1024_768_75; in aty_init()
2689 default_vmode = VMODE_800_600_60; in aty_init()
2691 default_vmode = VMODE_640_480_67; in aty_init()
2696 if (default_vmode <= 0 || default_vmode > VMODE_MAX) in aty_init()
2697 default_vmode = VMODE_640_480_60; in aty_init()
2700 if (!mac_vmode_to_var(default_vmode, default_cmode, in aty_init()
[all …]
/drivers/video/fbdev/matrox/
Dmatroxfb_base.c121 static int default_vmode = VMODE_NVRAM; variable
1890 if (default_vmode <= 0 || default_vmode > VMODE_MAX) in initMatrox2()
1891 default_vmode = VMODE_640_480_60; in initMatrox2()
1898 if (!mac_vmode_to_var(default_vmode, default_cmode, &var)) { in initMatrox2()
2397 default_vmode = vmode; in matroxfb_setup()
2567 module_param_named(vmode, default_vmode, int, 0);