Lines Matching refs:vmode
46 int vmode, cmode; member
133 init = platinum_reg_init[pinfo->vmode-1]; in platinumfb_set_par()
135 if ((pinfo->vmode == VMODE_832_624_75) && (pinfo->cmode > CMODE_8)) in platinumfb_set_par()
144 info->fix.line_length = vmode_attrs[pinfo->vmode-1].hres * (1<<pinfo->cmode) in platinumfb_set_par()
241 init = platinum_reg_init[pinfo->vmode-1]; in set_platinum_clock()
269 int vmode, cmode; in platinum_set_hardware() local
271 vmode = pinfo->vmode; in platinum_set_hardware()
274 init = platinum_reg_init[vmode - 1]; in platinum_set_hardware()
440 int vmode, cmode; in platinum_var_to_par() local
442 if (mac_var_to_vmode(var, &vmode, &cmode) != 0) { in platinum_var_to_par()
450 printk(KERN_ERR "platinum_var_to_par: var->vmode = %d\n", var->vmode); in platinum_var_to_par()
454 if (!platinum_reg_init[vmode-1]) { in platinum_var_to_par()
455 printk(KERN_ERR "platinum_var_to_par, vmode %d not valid.\n", vmode); in platinum_var_to_par()
459 if (platinum_vram_reqd(vmode, cmode) > pinfo->total_vram) { in platinum_var_to_par()
460 printk(KERN_ERR "platinum_var_to_par, not enough ram for vmode %d, cmode %d.\n", vmode, cmode); in platinum_var_to_par()
464 if (mac_vmode_to_var(vmode, cmode, var)) in platinum_var_to_par()
470 pinfo->vmode = vmode; in platinum_var_to_par()
472 pinfo->xres = vmode_attrs[vmode-1].hres; in platinum_var_to_par()
473 pinfo->yres = vmode_attrs[vmode-1].vres; in platinum_var_to_par()
495 int vmode = simple_strtoul(this_opt+6, NULL, 0); in platinumfb_setup() local
496 if (vmode > 0 && vmode <= VMODE_MAX) in platinumfb_setup()
497 default_vmode = vmode; in platinumfb_setup()