Lines Matching refs:default_cmode
66 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()
569 default_cmode = CMODE_16; in valkyriefb_setup()