Searched refs:default_vmode (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/drivers/video/fbdev/ |
D | valkyriefb.c | 65 static int default_vmode = VMODE_NVRAM; variable 275 if (IS_REACHABLE(CONFIG_NVRAM) && default_vmode == VMODE_NVRAM) in valkyrie_choose_mode() 276 default_vmode = nvram_read_byte(NV_VMODE); in valkyrie_choose_mode() 278 if (default_vmode <= 0 || default_vmode > VMODE_MAX || in valkyrie_choose_mode() 279 !valkyrie_reg_init[default_vmode - 1]) { in valkyrie_choose_mode() 280 default_vmode = mac_map_monitor_sense(p->sense); in valkyrie_choose_mode() 281 if (!valkyrie_reg_init[default_vmode - 1]) in valkyrie_choose_mode() 282 default_vmode = VMODE_640_480_67; in valkyrie_choose_mode() 293 || valkyrie_reg_init[default_vmode-1]->pitch[default_cmode] == 0 in valkyrie_choose_mode() 294 || valkyrie_vram_reqd(default_vmode, default_cmode) > p->total_vram) in valkyrie_choose_mode() [all …]
|
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 | smscufx.c | 1495 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()
|
D | udlfb.c | 1290 const struct fb_videomode *default_vmode = NULL; in dlfb_setup_modes() local 1368 default_vmode = fb_find_best_display(&info->monspecs, in dlfb_setup_modes() 1373 if (default_vmode == NULL) { in dlfb_setup_modes() 1399 default_vmode = fb_find_nearest_mode(&fb_vmode, in dlfb_setup_modes() 1404 if ((default_vmode != NULL) && (dlfb->fb_count == 0)) { in dlfb_setup_modes() 1406 fb_videomode_to_var(&info->var, default_vmode); in dlfb_setup_modes()
|
D | controlfb.c | 142 static int default_vmode __initdata = VMODE_NVRAM; 810 default_vmode = vmode; in control_setup() 855 vmode = default_vmode; in init_control()
|
/linux-6.1.9/drivers/video/fbdev/aty/ |
D | aty128fb.c | 389 static int default_vmode = VMODE_1024_768_60; variable 1705 default_vmode = vmode; in aty128fb_setup() 1958 if (default_vmode <= 0 || default_vmode > VMODE_MAX) in aty128_init() 1959 default_vmode = VMODE_1024_768_60; in aty128_init() 1969 default_vmode = VMODE_1024_768_75; in aty128_init() 1973 default_vmode = VMODE_800_600_60; in aty128_init() 1978 default_vmode = VMODE_1024_768_60; in aty128_init() 1982 default_vmode = VMODE_1152_768_60; in aty128_init() 1991 if (mac_vmode_to_var(default_vmode, default_cmode, &var)) in aty128_init()
|
D | atyfb_base.c | 333 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 …]
|
/linux-6.1.9/drivers/video/fbdev/matrox/ |
D | matroxfb_base.c | 122 static int default_vmode = VMODE_NVRAM; variable 1891 if (default_vmode <= 0 || default_vmode > VMODE_MAX) in initMatrox2() 1892 default_vmode = VMODE_640_480_60; in initMatrox2() 1899 if (!mac_vmode_to_var(default_vmode, default_cmode, &var)) { in initMatrox2() 2402 default_vmode = vmode; in matroxfb_setup() 2572 module_param_named(vmode, default_vmode, int, 0);
|