Lines Matching refs:default_cmode
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()
879 default_cmode = CMODE_16; in platinum_setup()
883 default_cmode = CMODE_32; in platinum_setup()