Searched refs:default_cmode (Results 1 – 6 of 6) sorted by relevance
/linux-2.4.37.9/drivers/video/ |
D | valkyriefb.c | 85 static int default_cmode = CMODE_8; variable 88 static int default_cmode = CMODE_NVRAM; variable 469 if (default_cmode == CMODE_NVRAM) in init_valkyrie() 470 default_cmode = nvram_read_byte(NV_CMODE); in init_valkyrie() 480 if (default_cmode < CMODE_8 in init_valkyrie() 481 || default_cmode > CMODE_16 in init_valkyrie() 482 || valkyrie_reg_init[default_vmode-1]->pitch[default_cmode] == 0 in init_valkyrie() 483 || valkyrie_vram_reqd(default_vmode, default_cmode) > p->total_vram) in init_valkyrie() 484 default_cmode = CMODE_8; in init_valkyrie() 486 printk(KERN_INFO "using video mode %d and color mode %d.\n", default_vmode, default_cmode); in init_valkyrie() [all …]
|
D | platinumfb.c | 56 static int default_cmode = CMODE_NVRAM; variable 575 if (default_cmode == CMODE_NVRAM) in init_platinum() 576 default_cmode = nvram_read_byte(NV_CMODE); in init_platinum() 582 if (default_cmode < CMODE_8 || default_cmode > CMODE_32) in init_platinum() 583 default_cmode = CMODE_8; in init_platinum() 587 while(default_cmode > CMODE_8 && platinum_vram_reqd(info, default_vmode, default_cmode) in init_platinum() 589 default_cmode--; in init_platinum() 591 printk("using video mode %d and color mode %d.\n", default_vmode, default_cmode); in init_platinum() 593 mac_vmode_to_var(default_vmode, default_cmode, &var); in init_platinum() 875 default_cmode = CMODE_8; in platinum_setup() [all …]
|
D | controlfb.c | 222 static int default_cmode __initdata = CMODE_NVRAM; 626 if (default_cmode == CMODE_NVRAM) in init_control() 1445 default_cmode = depth; in control_setup() 1448 default_cmode = CMODE_8; in control_setup() 1452 default_cmode = CMODE_16; in control_setup() 1456 default_cmode = CMODE_32; in control_setup()
|
D | aty128fb.c | 238 static int default_cmode __initdata = CMODE_8; 1792 default_cmode = CMODE_8; in aty128fb_setup() 1796 default_cmode = CMODE_16; in aty128fb_setup() 1800 default_cmode = CMODE_32; in aty128fb_setup() 1893 if (default_cmode < CMODE_8 || default_cmode > CMODE_32) in aty128_init() 1894 default_cmode = CMODE_8; in aty128_init() 1896 if (mac_vmode_to_var(default_vmode, default_cmode, &var)) in aty128_init()
|
/linux-2.4.37.9/drivers/video/matrox/ |
D | matroxfb_base.c | 119 static int default_cmode = CMODE_NVRAM; variable 2191 if (default_cmode == CMODE_NVRAM) in initMatrox2() 2192 default_cmode = nvram_read_byte(NV_CMODE); in initMatrox2() 2194 if (default_cmode < CMODE_8 || default_cmode > CMODE_32) in initMatrox2() 2195 default_cmode = CMODE_8; in initMatrox2() 2196 if (!mac_vmode_to_var(default_vmode, default_cmode, &var)) { in initMatrox2() 2753 default_cmode = CMODE_8; in matroxfb_setup() 2757 default_cmode = CMODE_16; in matroxfb_setup() 2761 default_cmode = CMODE_32; in matroxfb_setup()
|
/linux-2.4.37.9/drivers/video/aty/ |
D | atyfb_base.c | 265 static int default_cmode __initdata = CMODE_NVRAM; 268 static int default_cmode __initdata = CMODE_CHOOSE; 2332 if (default_cmode == CMODE_NVRAM) in aty_init() 2333 default_cmode = nvram_read_byte(NV_CMODE); in aty_init() 2335 if (default_cmode < CMODE_8 || default_cmode > CMODE_32) in aty_init() 2336 default_cmode = CMODE_8; in aty_init() 2337 if (mac_vmode_to_var(default_vmode, default_cmode, &var)) in aty_init() 3083 default_cmode = CMODE_8; in atyfb_setup() 3087 default_cmode = CMODE_16; in atyfb_setup() 3091 default_cmode = CMODE_32; in atyfb_setup()
|