default_cmode 393 drivers/video/fbdev/aty/aty128fb.c static int default_cmode = CMODE_8; default_cmode 1717 drivers/video/fbdev/aty/aty128fb.c default_cmode = CMODE_8; default_cmode 1721 drivers/video/fbdev/aty/aty128fb.c default_cmode = CMODE_16; default_cmode 1725 drivers/video/fbdev/aty/aty128fb.c default_cmode = CMODE_32; default_cmode 1989 drivers/video/fbdev/aty/aty128fb.c if (default_cmode > 16) default_cmode 1990 drivers/video/fbdev/aty/aty128fb.c default_cmode = CMODE_32; default_cmode 1991 drivers/video/fbdev/aty/aty128fb.c else if (default_cmode > 8) default_cmode 1992 drivers/video/fbdev/aty/aty128fb.c default_cmode = CMODE_16; default_cmode 1994 drivers/video/fbdev/aty/aty128fb.c default_cmode = CMODE_8; default_cmode 1996 drivers/video/fbdev/aty/aty128fb.c if (mac_vmode_to_var(default_vmode, default_cmode, &var)) default_cmode 319 drivers/video/fbdev/aty/atyfb_base.c static int default_cmode = CMODE_CHOOSE; default_cmode 323 drivers/video/fbdev/aty/atyfb_base.c module_param_named(cmode, default_cmode, int, 0); default_cmode 2657 drivers/video/fbdev/aty/atyfb_base.c if (default_cmode < CMODE_8 || default_cmode > CMODE_32) default_cmode 2658 drivers/video/fbdev/aty/atyfb_base.c default_cmode = CMODE_8; default_cmode 2659 drivers/video/fbdev/aty/atyfb_base.c if (!mac_vmode_to_var(default_vmode, default_cmode, default_cmode 3839 drivers/video/fbdev/aty/atyfb_base.c default_cmode = CMODE_8; default_cmode 3843 drivers/video/fbdev/aty/atyfb_base.c default_cmode = CMODE_16; default_cmode 3847 drivers/video/fbdev/aty/atyfb_base.c default_cmode = CMODE_32; default_cmode 157 drivers/video/fbdev/controlfb.c static int default_cmode __initdata = CMODE_NVRAM; default_cmode 414 drivers/video/fbdev/controlfb.c cmode = default_cmode; default_cmode 554 drivers/video/fbdev/controlfb.c default_cmode = depth; default_cmode 557 drivers/video/fbdev/controlfb.c default_cmode = CMODE_8; default_cmode 561 drivers/video/fbdev/controlfb.c default_cmode = CMODE_16; default_cmode 565 drivers/video/fbdev/controlfb.c default_cmode = CMODE_32; default_cmode 122 drivers/video/fbdev/matrox/matroxfb_base.c static int default_cmode = CMODE_NVRAM; default_cmode 1880 drivers/video/fbdev/matrox/matroxfb_base.c if (IS_REACHABLE(CONFIG_NVRAM) && default_cmode == CMODE_NVRAM) default_cmode 1881 drivers/video/fbdev/matrox/matroxfb_base.c default_cmode = nvram_read_byte(NV_CMODE); default_cmode 1883 drivers/video/fbdev/matrox/matroxfb_base.c if (default_cmode < CMODE_8 || default_cmode > CMODE_32) default_cmode 1884 drivers/video/fbdev/matrox/matroxfb_base.c default_cmode = CMODE_8; default_cmode 1885 drivers/video/fbdev/matrox/matroxfb_base.c if (!mac_vmode_to_var(default_vmode, default_cmode, &var)) { default_cmode 2392 drivers/video/fbdev/matrox/matroxfb_base.c default_cmode = CMODE_8; default_cmode 2396 drivers/video/fbdev/matrox/matroxfb_base.c default_cmode = CMODE_16; default_cmode 2400 drivers/video/fbdev/matrox/matroxfb_base.c default_cmode = CMODE_32; default_cmode 2560 drivers/video/fbdev/matrox/matroxfb_base.c module_param_named(cmode, default_cmode, int, 0); default_cmode 41 drivers/video/fbdev/platinumfb.c static int default_cmode = CMODE_NVRAM; default_cmode 358 drivers/video/fbdev/platinumfb.c if (IS_REACHABLE(CONFIG_NVRAM) && default_cmode == CMODE_NVRAM) default_cmode 359 drivers/video/fbdev/platinumfb.c default_cmode = nvram_read_byte(NV_CMODE); default_cmode 360 drivers/video/fbdev/platinumfb.c if (default_cmode < CMODE_8 || default_cmode > CMODE_32) default_cmode 361 drivers/video/fbdev/platinumfb.c default_cmode = CMODE_8; default_cmode 365 drivers/video/fbdev/platinumfb.c while(default_cmode > CMODE_8 && default_cmode 366 drivers/video/fbdev/platinumfb.c platinum_vram_reqd(default_vmode, default_cmode) > pinfo->total_vram) default_cmode 367 drivers/video/fbdev/platinumfb.c default_cmode--; default_cmode 369 drivers/video/fbdev/platinumfb.c printk("platinumfb: Using video mode %d and color mode %d.\n", default_vmode, default_cmode); default_cmode 372 drivers/video/fbdev/platinumfb.c if (mac_vmode_to_var(default_vmode, default_cmode, &var) < 0) { default_cmode 374 drivers/video/fbdev/platinumfb.c printk("mac_vmode_to_var(%d, %d,) failed\n", default_vmode, default_cmode); default_cmode 377 drivers/video/fbdev/platinumfb.c default_cmode = CMODE_8; default_cmode 378 drivers/video/fbdev/platinumfb.c if (mac_vmode_to_var(default_vmode, default_cmode, &var) < 0) { default_cmode 391 drivers/video/fbdev/platinumfb.c if (rc && (default_vmode != VMODE_640_480_60 || default_cmode != CMODE_8)) default_cmode 506 drivers/video/fbdev/platinumfb.c default_cmode = CMODE_8; default_cmode 510 drivers/video/fbdev/platinumfb.c default_cmode = CMODE_16; default_cmode 514 drivers/video/fbdev/platinumfb.c default_cmode = CMODE_32; default_cmode 67 drivers/video/fbdev/valkyriefb.c static int default_cmode = CMODE_NVRAM; default_cmode 291 drivers/video/fbdev/valkyriefb.c if (IS_REACHABLE(CONFIG_NVRAM) && default_cmode == CMODE_NVRAM) default_cmode 292 drivers/video/fbdev/valkyriefb.c default_cmode = nvram_read_byte(NV_CMODE); default_cmode 297 drivers/video/fbdev/valkyriefb.c if (default_cmode < CMODE_8 || default_cmode > CMODE_16 default_cmode 298 drivers/video/fbdev/valkyriefb.c || valkyrie_reg_init[default_vmode-1]->pitch[default_cmode] == 0 default_cmode 299 drivers/video/fbdev/valkyriefb.c || valkyrie_vram_reqd(default_vmode, default_cmode) > p->total_vram) default_cmode 300 drivers/video/fbdev/valkyriefb.c default_cmode = CMODE_8; default_cmode 303 drivers/video/fbdev/valkyriefb.c default_vmode, default_cmode); default_cmode 375 drivers/video/fbdev/valkyriefb.c mac_vmode_to_var(default_vmode, default_cmode, &p->info.var); default_cmode 570 drivers/video/fbdev/valkyriefb.c default_cmode = CMODE_8; default_cmode 574 drivers/video/fbdev/valkyriefb.c default_cmode = CMODE_16;