Lines Matching refs:vesafb_defined

61 static struct fb_var_screeninfo vesafb_defined = {  variable
173 memcpy(var, &vesafb_defined, sizeof(struct fb_var_screeninfo)); in vesafb_get_var()
252 if (var->xres != vesafb_defined.xres || in vesafb_set_var()
253 var->yres != vesafb_defined.yres || in vesafb_set_var()
254 var->xres_virtual != vesafb_defined.xres_virtual || in vesafb_set_var()
258 var->bits_per_pixel != vesafb_defined.bits_per_pixel || in vesafb_set_var()
271 if (vesafb_defined.yres_virtual != var->yres_virtual) { in vesafb_set_var()
272 vesafb_defined.yres_virtual = var->yres_virtual; in vesafb_set_var()
274 fb_display[con].var = vesafb_defined; in vesafb_set_var()
279 if (var->yoffset != vesafb_defined.yoffset) in vesafb_set_var()
369 if (vesafb_defined.red.offset == 10) { in vesa_setcolreg()
390 (red << vesafb_defined.red.offset) | in vesa_setcolreg()
391 (green << vesafb_defined.green.offset) | in vesa_setcolreg()
392 (blue << vesafb_defined.blue.offset); in vesa_setcolreg()
401 (red << vesafb_defined.red.offset) | in vesa_setcolreg()
402 (green << vesafb_defined.green.offset) | in vesa_setcolreg()
403 (blue << vesafb_defined.blue.offset); in vesa_setcolreg()
606 vesafb_defined.xres=video_width; in vesafb_init()
607 vesafb_defined.yres=video_height; in vesafb_init()
608 vesafb_defined.xres_virtual=video_width; in vesafb_init()
609 vesafb_defined.yres_virtual=video_size / video_linelength; in vesafb_init()
610 vesafb_defined.bits_per_pixel=video_bpp; in vesafb_init()
612 if (ypan && vesafb_defined.yres_virtual > video_height) { in vesafb_init()
614 (ypan > 1) ? "ywrap" : "ypan",vesafb_defined.yres_virtual); in vesafb_init()
617 vesafb_defined.yres_virtual = video_height; in vesafb_init()
620 video_height_virtual = vesafb_defined.yres_virtual; in vesafb_init()
623 vesafb_defined.pixclock = 10000000 / video_width * 1000 / video_height; in vesafb_init()
624 vesafb_defined.left_margin = (video_width / 8) & 0xf8; in vesafb_init()
625 vesafb_defined.right_margin = 32; in vesafb_init()
626 vesafb_defined.upper_margin = 16; in vesafb_init()
627 vesafb_defined.lower_margin = 4; in vesafb_init()
628 vesafb_defined.hsync_len = (video_width / 8) & 0xf8; in vesafb_init()
629 vesafb_defined.vsync_len = 4; in vesafb_init()
632 vesafb_defined.red.offset = screen_info.red_pos; in vesafb_init()
633 vesafb_defined.red.length = screen_info.red_size; in vesafb_init()
634 vesafb_defined.green.offset = screen_info.green_pos; in vesafb_init()
635 vesafb_defined.green.length = screen_info.green_size; in vesafb_init()
636 vesafb_defined.blue.offset = screen_info.blue_pos; in vesafb_init()
637 vesafb_defined.blue.length = screen_info.blue_size; in vesafb_init()
638 vesafb_defined.transp.offset = screen_info.rsvd_pos; in vesafb_init()
639 vesafb_defined.transp.length = screen_info.rsvd_size; in vesafb_init()
652 vesafb_defined.red.length = 6; in vesafb_init()
653 vesafb_defined.green.length = 6; in vesafb_init()
654 vesafb_defined.blue.length = 6; in vesafb_init()