Lines Matching refs:vesafb_defined
38 static struct fb_var_screeninfo vesafb_defined = { variable
256 vesafb_defined.bits_per_pixel = screen_info.lfb_depth; in vesafb_probe()
257 if (15 == vesafb_defined.bits_per_pixel) in vesafb_probe()
258 vesafb_defined.bits_per_pixel = 16; in vesafb_probe()
259 vesafb_defined.xres = screen_info.lfb_width; in vesafb_probe()
260 vesafb_defined.yres = screen_info.lfb_height; in vesafb_probe()
262 vesafb_fix.visual = (vesafb_defined.bits_per_pixel == 8) ? in vesafb_probe()
268 size_vmode = vesafb_defined.yres * vesafb_fix.line_length; in vesafb_probe()
323 …vesafb_defined.xres, vesafb_defined.yres, vesafb_defined.bits_per_pixel, vesafb_fix.line_length, s… in vesafb_probe()
357 if (vesafb_defined.bits_per_pixel == 8 && !pmi_setpal && !vga_compat) { in vesafb_probe()
363 vesafb_defined.xres_virtual = vesafb_defined.xres; in vesafb_probe()
364 vesafb_defined.yres_virtual = vesafb_fix.smem_len / vesafb_fix.line_length; in vesafb_probe()
365 if (ypan && vesafb_defined.yres_virtual > vesafb_defined.yres) { in vesafb_probe()
367 (ypan > 1) ? "ywrap" : "ypan",vesafb_defined.yres_virtual); in vesafb_probe()
370 vesafb_defined.yres_virtual = vesafb_defined.yres; in vesafb_probe()
375 vesafb_defined.pixclock = 10000000 / vesafb_defined.xres * 1000 / vesafb_defined.yres; in vesafb_probe()
376 vesafb_defined.left_margin = (vesafb_defined.xres / 8) & 0xf8; in vesafb_probe()
377 vesafb_defined.hsync_len = (vesafb_defined.xres / 8) & 0xf8; in vesafb_probe()
379 vesafb_defined.red.offset = screen_info.red_pos; in vesafb_probe()
380 vesafb_defined.red.length = screen_info.red_size; in vesafb_probe()
381 vesafb_defined.green.offset = screen_info.green_pos; in vesafb_probe()
382 vesafb_defined.green.length = screen_info.green_size; in vesafb_probe()
383 vesafb_defined.blue.offset = screen_info.blue_pos; in vesafb_probe()
384 vesafb_defined.blue.length = screen_info.blue_size; in vesafb_probe()
385 vesafb_defined.transp.offset = screen_info.rsvd_pos; in vesafb_probe()
386 vesafb_defined.transp.length = screen_info.rsvd_size; in vesafb_probe()
388 if (vesafb_defined.bits_per_pixel <= 8) { in vesafb_probe()
389 depth = vesafb_defined.green.length; in vesafb_probe()
390 vesafb_defined.red.length = in vesafb_probe()
391 vesafb_defined.green.length = in vesafb_probe()
392 vesafb_defined.blue.length = in vesafb_probe()
393 vesafb_defined.bits_per_pixel; in vesafb_probe()
398 (vesafb_defined.bits_per_pixel > 8) ? in vesafb_probe()
455 info->var = vesafb_defined; in vesafb_probe()