Home
last modified time | relevance | path

Searched refs:CMODE_8 (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/video/fbdev/
H A Dplatinumfb.c135 if ((pinfo->vmode == VMODE_832_624_75) && (pinfo->cmode > CMODE_8)) in platinumfb_set_par()
142 info->fix.visual = (pinfo->cmode == CMODE_8) ? in platinumfb_set_par()
223 if ((video_mode == VMODE_832_624_75) && (color_mode > CMODE_8)) in platinum_vram_reqd()
357 if (default_cmode < CMODE_8 || default_cmode > CMODE_32) in platinum_init_fb()
358 default_cmode = CMODE_8; in platinum_init_fb()
362 while(default_cmode > CMODE_8 && in platinum_init_fb()
374 default_cmode = CMODE_8; in platinum_init_fb()
388 if (rc && (default_vmode != VMODE_640_480_60 || default_cmode != CMODE_8)) in platinum_init_fb()
503 default_cmode = CMODE_8; in platinumfb_setup()
H A Dvalkyriefb.c290 if (default_cmode < CMODE_8 || default_cmode > CMODE_16 in valkyrie_choose_mode()
293 default_cmode = CMODE_8; in valkyrie_choose_mode()
469 if (cmode != CMODE_8 && cmode != CMODE_16) { in valkyrie_var_to_par()
525 fix->visual = (par->cmode == CMODE_8) ? in valkyrie_par_to_fix()
562 default_cmode = CMODE_8; in valkyriefb_setup()
H A Dcontrolfb.c434 par->cmode = CMODE_8; in control_var_to_par()
574 case CMODE_8: in control_par_to_var()
661 info->fix.visual = (p->par.cmode == CMODE_8) ? in controlfb_set_par()
814 case CMODE_8: in control_setup()
820 default_cmode = CMODE_8; in control_setup()
852 if (cmode < CMODE_8 || cmode > CMODE_32) in init_control()
853 cmode = CMODE_8; in init_control()
877 cmode = CMODE_8; in init_control()
893 if (rc && (vmode != VMODE_640_480_60 || cmode != CMODE_8)) in init_control()
H A Dmacmodes.h48 #define CMODE_8 0 /* 8 bits/pixel */ macro
H A Dmacmodes.c236 case CMODE_8: in mac_vmode_to_var()
309 *cmode = CMODE_8; in mac_var_to_vmode()
H A Dimsttfb.c1403 if (cmode < CMODE_8 || cmode > CMODE_32) in init_imstt()
1404 cmode = CMODE_8; in init_imstt()
1598 case CMODE_8: in imsttfb_setup()
1600 init_cmode = CMODE_8; in imsttfb_setup()
/openbmc/linux/drivers/video/fbdev/aty/
H A Daty128fb.c390 static int default_cmode = CMODE_8;
1710 default_cmode = CMODE_8; in aty128fb_setup()
1984 default_cmode = CMODE_8; in aty128_init()
H A Datyfb_base.c2686 if (default_cmode < CMODE_8 || default_cmode > CMODE_32) in aty_init()
2687 default_cmode = CMODE_8; in aty_init()
3870 default_cmode = CMODE_8; in atyfb_setup()
/openbmc/linux/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.c1897 if (default_cmode < CMODE_8 || default_cmode > CMODE_32) in initMatrox2()
1898 default_cmode = CMODE_8; in initMatrox2()
2411 default_cmode = CMODE_8; in matroxfb_setup()