Lines Matching refs:par

291 			    struct cyberfb_par *par);
293 struct cyberfb_par *par);
295 struct cyberfb_par *par);
305 static void cyberfb_get_par(struct cyberfb_par *par);
306 static void cyberfb_set_par(struct cyberfb_par *par);
396 struct cyberfb_par *par) in Cyber_encode_fix() argument
408 if (par->var.bits_per_pixel == 15 || par->var.bits_per_pixel == 16 || in Cyber_encode_fix()
409 par->var.bits_per_pixel == 24 || par->var.bits_per_pixel == 32) { in Cyber_encode_fix()
432 struct cyberfb_par *par) in Cyber_decode_var() argument
435 par->var.xres = var->xres; in Cyber_decode_var()
436 par->var.yres = var->yres; in Cyber_decode_var()
437 par->var.xres_virtual = var->xres_virtual; in Cyber_decode_var()
438 par->var.yres_virtual = var->yres_virtual; in Cyber_decode_var()
439 par->var.xoffset = var->xoffset; in Cyber_decode_var()
440 par->var.yoffset = var->yoffset; in Cyber_decode_var()
441 par->var.bits_per_pixel = var->bits_per_pixel; in Cyber_decode_var()
442 par->var.grayscale = var->grayscale; in Cyber_decode_var()
443 par->var.red = var->red; in Cyber_decode_var()
444 par->var.green = var->green; in Cyber_decode_var()
445 par->var.blue = var->blue; in Cyber_decode_var()
446 par->var.transp = var->transp; in Cyber_decode_var()
447 par->var.nonstd = var->nonstd; in Cyber_decode_var()
448 par->var.activate = var->activate; in Cyber_decode_var()
449 par->var.height = var->height; in Cyber_decode_var()
450 par->var.width = var->width; in Cyber_decode_var()
452 par->var.accel_flags = FB_ACCELF_TEXT; in Cyber_decode_var()
454 par->var.accel_flags = 0; in Cyber_decode_var()
456 par->var.pixclock = var->pixclock; in Cyber_decode_var()
457 par->var.left_margin = var->left_margin; in Cyber_decode_var()
458 par->var.right_margin = var->right_margin; in Cyber_decode_var()
459 par->var.upper_margin = var->upper_margin; in Cyber_decode_var()
460 par->var.lower_margin = var->lower_margin; in Cyber_decode_var()
461 par->var.hsync_len = var->hsync_len; in Cyber_decode_var()
462 par->var.vsync_len = var->vsync_len; in Cyber_decode_var()
463 par->var.sync = var->sync; in Cyber_decode_var()
464 par->var.vmode = var->vmode; in Cyber_decode_var()
475 struct cyberfb_par *par) in Cyber_encode_var() argument
478 var->xres = par->var.xres; in Cyber_encode_var()
479 var->yres = par->var.yres; in Cyber_encode_var()
480 var->xres_virtual = par->var.xres_virtual; in Cyber_encode_var()
481 var->yres_virtual = par->var.yres_virtual; in Cyber_encode_var()
482 var->xoffset = par->var.xoffset; in Cyber_encode_var()
483 var->yoffset = par->var.yoffset; in Cyber_encode_var()
485 var->bits_per_pixel = par->var.bits_per_pixel; in Cyber_encode_var()
486 var->grayscale = par->var.grayscale; in Cyber_encode_var()
488 var->red = par->var.red; in Cyber_encode_var()
489 var->green = par->var.green; in Cyber_encode_var()
490 var->blue = par->var.blue; in Cyber_encode_var()
491 var->transp = par->var.transp; in Cyber_encode_var()
493 var->nonstd = par->var.nonstd; in Cyber_encode_var()
494 var->activate = par->var.activate; in Cyber_encode_var()
496 var->height = par->var.height; in Cyber_encode_var()
497 var->width = par->var.width; in Cyber_encode_var()
499 var->accel_flags = par->var.accel_flags; in Cyber_encode_var()
501 var->pixclock = par->var.pixclock; in Cyber_encode_var()
502 var->left_margin = par->var.left_margin; in Cyber_encode_var()
503 var->right_margin = par->var.right_margin; in Cyber_encode_var()
504 var->upper_margin = par->var.upper_margin; in Cyber_encode_var()
505 var->lower_margin = par->var.lower_margin; in Cyber_encode_var()
506 var->hsync_len = par->var.hsync_len; in Cyber_encode_var()
507 var->vsync_len = par->var.vsync_len; in Cyber_encode_var()
508 var->sync = par->var.sync; in Cyber_encode_var()
509 var->vmode = par->var.vmode; in Cyber_encode_var()
749 static void cyberfb_get_par(struct cyberfb_par *par) in cyberfb_get_par() argument
753 *par = current_par; in cyberfb_get_par()
755 Cyber_decode_var(&cyberfb_default, par); in cyberfb_get_par()
761 static void cyberfb_set_par(struct cyberfb_par *par) in cyberfb_set_par() argument
764 current_par = *par; in cyberfb_set_par()
785 struct cyberfb_par par; in do_fb_set_var() local
788 if ((err = Cyber_decode_var(var, &par))) { in do_fb_set_var()
794 cyberfb_set_par(&par); in do_fb_set_var()
795 Cyber_encode_var(var, &par); in do_fb_set_var()
829 struct cyberfb_par par; in cyberfb_get_fix() local
834 cyberfb_get_par(&par); in cyberfb_get_fix()
836 error = Cyber_decode_var(&fb_display[con].var, &par); in cyberfb_get_fix()
839 return(error ? error : Cyber_encode_fix(fix, &par)); in cyberfb_get_fix()
850 struct cyberfb_par par; in cyberfb_get_var() local
855 cyberfb_get_par(&par); in cyberfb_get_var()
856 error = Cyber_encode_var(var, &par); in cyberfb_get_var()
1057 struct cyberfb_par par; in cyberfb_init() local
1101 Cyber_decode_var(&cyberfb_default, &par); in cyberfb_init()
1102 Cyber_encode_var(&cyberfb_default, &par); in cyberfb_init()