/drivers/video/ |
D | controlfb.c | 60 int vmode, cmode; member 85 return (!DIRTY(cmode) && !DIRTY(xres) && !DIRTY(yres) in PAR_EQUAL() 233 info->fix.visual = (p->par.cmode == CMODE_8) ? in controlfb_set_par() 236 info->fix.xpanstep = 32 >> p->par.cmode; in controlfb_set_par() 253 par->yoffset * par->pitch + (par->xoffset << par->cmode)); in set_screen_start() 267 hstep = 0x1f >> par->cmode; in controlfb_pan_display() 362 switch (p->par.cmode) { in controlfb_setcolreg() 403 int full, sense, vmode, cmode, vyres; in init_control() local 414 cmode = nvram_read_byte(NV_CMODE); in init_control() 415 if(cmode < CMODE_8 || cmode > CMODE_32) in init_control() [all …]
|
D | platinumfb.c | 48 int vmode, cmode; member 139 if ((pinfo->vmode == VMODE_832_624_75) && (pinfo->cmode > CMODE_8)) in platinumfb_set_par() 146 info->fix.visual = (pinfo->cmode == CMODE_8) ? in platinumfb_set_par() 148 info->fix.line_length = vmode_attrs[pinfo->vmode-1].hres * (1<<pinfo->cmode) in platinumfb_set_par() 209 switch (pinfo->cmode) { in platinumfb_setcolreg() 273 int vmode, cmode; in platinum_set_hardware() local 276 cmode = pinfo->cmode; in platinum_set_hardware() 287 init->offset[cmode] + 4 - cmode : in platinum_set_hardware() 288 init->offset[cmode])); in platinum_set_hardware() 290 out_be32(&platinum_regs->reg[18].r, init->pitch[cmode]); in platinum_set_hardware() [all …]
|
D | valkyriefb.c | 80 int vmode, cmode; member 158 out_8(&valkyrie_regs->depth.r, par->cmode + 3); in valkyriefb_set_par() 171 return mac_vmode_to_var(par->vmode, par->cmode, var); in valkyrie_par_to_var() 248 if (regno < 16 && par->cmode == CMODE_16) in valkyriefb_setcolreg() 467 int vmode, cmode; in valkyrie_var_to_par() local 471 if (mac_var_to_vmode(var, &vmode, &cmode) != 0) { in valkyrie_var_to_par() 483 if (cmode != CMODE_8 && cmode != CMODE_16) { in valkyrie_var_to_par() 484 printk(KERN_ERR "valkyriefb: cmode %d not valid.\n", cmode); in valkyrie_var_to_par() 494 if (init->pitch[cmode] == 0) { in valkyrie_var_to_par() 496 "cmode %d.\n", vmode, cmode); in valkyrie_var_to_par() [all …]
|
D | macmodes.c | 221 int mac_vmode_to_var(int vmode, int cmode, struct fb_var_screeninfo *var) in mac_vmode_to_var() argument 235 switch (cmode) { in mac_vmode_to_var() 304 int *cmode) in mac_var_to_vmode() argument 309 *cmode = CMODE_8; in mac_var_to_vmode() 311 *cmode = CMODE_16; in mac_var_to_vmode() 313 *cmode = CMODE_32; in mac_var_to_vmode()
|
D | macmodes.h | 53 extern int mac_vmode_to_var(int vmode, int cmode, 56 int *cmode);
|
D | modedb.c | 922 struct fb_videomode *cmode, *best = NULL; in fb_find_nearest_mode() local 929 cmode = &modelist->mode; in fb_find_nearest_mode() 931 d = abs(cmode->xres - mode->xres) + in fb_find_nearest_mode() 932 abs(cmode->yres - mode->yres); in fb_find_nearest_mode() 935 diff_refresh = abs(cmode->refresh - mode->refresh); in fb_find_nearest_mode() 936 best = cmode; in fb_find_nearest_mode() 938 d = abs(cmode->refresh - mode->refresh); in fb_find_nearest_mode() 941 best = cmode; in fb_find_nearest_mode()
|
D | imsttfb.c | 1396 int vmode = init_vmode, cmode = init_cmode; in init_imstt() local 1403 if (cmode == -1) { in init_imstt() 1404 cmode = nvram_read_byte(NV_CMODE); in init_imstt() 1405 if (cmode < CMODE_8 || cmode > CMODE_32) in init_imstt() 1406 cmode = CMODE_8; in init_imstt() 1408 if (mac_vmode_to_var(vmode, cmode, &info->var)) { in init_imstt() 1579 int cmode = simple_strtoul(this_opt+6, NULL, 0); in imsttfb_setup() local 1580 switch (cmode) { in imsttfb_setup()
|
D | pxa168fb.h | 272 #define CFG_COLOR_KEY_MODE(cmode) ((cmode) << 24) argument
|
/drivers/video/mmp/hw/ |
D | mmp_ctrl.h | 524 #define CFG_COLOR_KEY_MODE(cmode) ((cmode)<<24) argument
|
/drivers/video/matrox/ |
D | matroxfb_base.c | 2362 unsigned int cmode = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup() local 2363 switch (cmode) { in matroxfb_setup() 2538 module_param_named(cmode, default_cmode, int, 0); 2539 MODULE_PARM_DESC(cmode, "Specify the video depth that should be used (8bit default)");
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-hdw.c | 4086 int cmode; in pvr2_hdw_cmd_modeswitch() local 4089 cmode = (digitalFl ? PVR2_PATHWAY_DIGITAL : PVR2_PATHWAY_ANALOG); in pvr2_hdw_cmd_modeswitch() 4090 if (cmode == hdw->pathway_state) { in pvr2_hdw_cmd_modeswitch() 4098 if (cmode == PVR2_PATHWAY_ANALOG) { in pvr2_hdw_cmd_modeswitch() 4116 hdw->pathway_state = cmode; in pvr2_hdw_cmd_modeswitch()
|
/drivers/video/aty/ |
D | atyfb_base.c | 327 module_param_named(cmode, default_cmode, int, 0); 328 MODULE_PARM_DESC(cmode, "int: color mode for mac"); 3878 unsigned int cmode = in atyfb_setup() local 3880 switch (cmode) { in atyfb_setup()
|
D | aty128fb.c | 1692 unsigned int cmode = simple_strtoul(this_opt+6, NULL, 0); in aty128fb_setup() local 1693 switch (cmode) { in aty128fb_setup()
|