Lines Matching refs:vesafb_defined
41 static struct fb_var_screeninfo vesafb_defined = { variable
263 vesafb_defined.bits_per_pixel = screen_info.lfb_depth; in vesafb_probe()
264 if (15 == vesafb_defined.bits_per_pixel) in vesafb_probe()
265 vesafb_defined.bits_per_pixel = 16; in vesafb_probe()
266 vesafb_defined.xres = screen_info.lfb_width; in vesafb_probe()
267 vesafb_defined.yres = screen_info.lfb_height; in vesafb_probe()
269 vesafb_fix.visual = (vesafb_defined.bits_per_pixel == 8) ? in vesafb_probe()
275 size_vmode = vesafb_defined.yres * vesafb_fix.line_length; in vesafb_probe()
324 …vesafb_defined.xres, vesafb_defined.yres, vesafb_defined.bits_per_pixel, vesafb_fix.line_length, s… in vesafb_probe()
358 if (vesafb_defined.bits_per_pixel == 8 && !pmi_setpal && !vga_compat) { in vesafb_probe()
364 vesafb_defined.xres_virtual = vesafb_defined.xres; in vesafb_probe()
365 vesafb_defined.yres_virtual = vesafb_fix.smem_len / vesafb_fix.line_length; in vesafb_probe()
366 if (ypan && vesafb_defined.yres_virtual > vesafb_defined.yres) { in vesafb_probe()
368 (ypan > 1) ? "ywrap" : "ypan",vesafb_defined.yres_virtual); in vesafb_probe()
371 vesafb_defined.yres_virtual = vesafb_defined.yres; in vesafb_probe()
376 vesafb_defined.pixclock = 10000000 / vesafb_defined.xres * 1000 / vesafb_defined.yres; in vesafb_probe()
377 vesafb_defined.left_margin = (vesafb_defined.xres / 8) & 0xf8; in vesafb_probe()
378 vesafb_defined.hsync_len = (vesafb_defined.xres / 8) & 0xf8; in vesafb_probe()
380 vesafb_defined.red.offset = screen_info.red_pos; in vesafb_probe()
381 vesafb_defined.red.length = screen_info.red_size; in vesafb_probe()
382 vesafb_defined.green.offset = screen_info.green_pos; in vesafb_probe()
383 vesafb_defined.green.length = screen_info.green_size; in vesafb_probe()
384 vesafb_defined.blue.offset = screen_info.blue_pos; in vesafb_probe()
385 vesafb_defined.blue.length = screen_info.blue_size; in vesafb_probe()
386 vesafb_defined.transp.offset = screen_info.rsvd_pos; in vesafb_probe()
387 vesafb_defined.transp.length = screen_info.rsvd_size; in vesafb_probe()
389 if (vesafb_defined.bits_per_pixel <= 8) { in vesafb_probe()
390 depth = vesafb_defined.green.length; in vesafb_probe()
391 vesafb_defined.red.length = in vesafb_probe()
392 vesafb_defined.green.length = in vesafb_probe()
393 vesafb_defined.blue.length = in vesafb_probe()
394 vesafb_defined.bits_per_pixel; in vesafb_probe()
399 (vesafb_defined.bits_per_pixel > 8) ? in vesafb_probe()
456 info->var = vesafb_defined; in vesafb_probe()