Home
last modified time | relevance | path

Searched refs:default_cmode (Results 1 – 6 of 6) sorted by relevance

/linux-6.3-rc2/drivers/video/fbdev/
A Dplatinumfb.c41 static int default_cmode = CMODE_NVRAM; variable
358 if (IS_REACHABLE(CONFIG_NVRAM) && default_cmode == CMODE_NVRAM) in platinum_init_fb()
359 default_cmode = nvram_read_byte(NV_CMODE); in platinum_init_fb()
360 if (default_cmode < CMODE_8 || default_cmode > CMODE_32) in platinum_init_fb()
361 default_cmode = CMODE_8; in platinum_init_fb()
365 while(default_cmode > CMODE_8 && in platinum_init_fb()
367 default_cmode--; in platinum_init_fb()
377 default_cmode = CMODE_8; in platinum_init_fb()
506 default_cmode = CMODE_8; in platinumfb_setup()
510 default_cmode = CMODE_16; in platinumfb_setup()
[all …]
A Dvalkyriefb.c66 static int default_cmode = CMODE_NVRAM; variable
286 if (IS_REACHABLE(CONFIG_NVRAM) && default_cmode == CMODE_NVRAM) in valkyrie_choose_mode()
287 default_cmode = nvram_read_byte(NV_CMODE); in valkyrie_choose_mode()
292 if (default_cmode < CMODE_8 || default_cmode > CMODE_16 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()
295 default_cmode = CMODE_8; in valkyrie_choose_mode()
298 default_vmode, default_cmode); in valkyrie_choose_mode()
370 mac_vmode_to_var(default_vmode, default_cmode, &p->info.var); in valkyriefb_init()
565 default_cmode = CMODE_8; in valkyriefb_setup()
[all …]
A Dcontrolfb.c143 static int default_cmode __initdata = CMODE_NVRAM;
817 default_cmode = depth; in control_setup()
820 default_cmode = CMODE_8; in control_setup()
824 default_cmode = CMODE_16; in control_setup()
828 default_cmode = CMODE_32; in control_setup()
849 cmode = default_cmode; in init_control()
/linux-6.3-rc2/drivers/video/fbdev/aty/
A Daty128fb.c390 static int default_cmode = CMODE_8; variable
1712 default_cmode = CMODE_8; in aty128fb_setup()
1716 default_cmode = CMODE_16; in aty128fb_setup()
1720 default_cmode = CMODE_32; in aty128fb_setup()
1982 if (default_cmode > 16) in aty128_init()
1983 default_cmode = CMODE_32; in aty128_init()
1984 else if (default_cmode > 8) in aty128_init()
1985 default_cmode = CMODE_16; in aty128_init()
1987 default_cmode = CMODE_8; in aty128_init()
1989 if (mac_vmode_to_var(default_vmode, default_cmode, &var)) in aty128_init()
A Datyfb_base.c334 static int default_cmode = CMODE_CHOOSE; variable
338 module_param_named(cmode, default_cmode, int, 0);
2692 if (default_cmode < CMODE_8 || default_cmode > CMODE_32) in aty_init()
2693 default_cmode = CMODE_8; in aty_init()
2694 if (!mac_vmode_to_var(default_vmode, default_cmode, in aty_init()
3870 default_cmode = CMODE_8; in atyfb_setup()
3874 default_cmode = CMODE_16; in atyfb_setup()
3878 default_cmode = CMODE_32; in atyfb_setup()
/linux-6.3-rc2/drivers/video/fbdev/matrox/
A Dmatroxfb_base.c123 static int default_cmode = CMODE_NVRAM; variable
1894 if (IS_REACHABLE(CONFIG_NVRAM) && default_cmode == CMODE_NVRAM) in initMatrox2()
1895 default_cmode = nvram_read_byte(NV_CMODE); in initMatrox2()
1897 if (default_cmode < CMODE_8 || default_cmode > CMODE_32) in initMatrox2()
1898 default_cmode = CMODE_8; in initMatrox2()
1899 if (!mac_vmode_to_var(default_vmode, default_cmode, &var)) { in initMatrox2()
2411 default_cmode = CMODE_8; in matroxfb_setup()
2415 default_cmode = CMODE_16; in matroxfb_setup()
2419 default_cmode = CMODE_32; in matroxfb_setup()
2577 module_param_named(cmode, default_cmode, int, 0);

Completed in 27 milliseconds