Lines Matching refs:vesafb_defined
41 static struct fb_var_screeninfo vesafb_defined = { variable
264 vesafb_defined.bits_per_pixel = si->lfb_depth; in vesafb_probe()
265 if (15 == vesafb_defined.bits_per_pixel) in vesafb_probe()
266 vesafb_defined.bits_per_pixel = 16; in vesafb_probe()
267 vesafb_defined.xres = si->lfb_width; in vesafb_probe()
268 vesafb_defined.yres = si->lfb_height; in vesafb_probe()
270 vesafb_fix.visual = (vesafb_defined.bits_per_pixel == 8) ? in vesafb_probe()
276 size_vmode = vesafb_defined.yres * vesafb_fix.line_length; in vesafb_probe()
325 vesafb_defined.xres, vesafb_defined.yres, vesafb_defined.bits_per_pixel, in vesafb_probe()
362 if (vesafb_defined.bits_per_pixel == 8 && !pmi_setpal && !vga_compat) { in vesafb_probe()
368 vesafb_defined.xres_virtual = vesafb_defined.xres; in vesafb_probe()
369 vesafb_defined.yres_virtual = vesafb_fix.smem_len / vesafb_fix.line_length; in vesafb_probe()
370 if (ypan && vesafb_defined.yres_virtual > vesafb_defined.yres) { in vesafb_probe()
372 (ypan > 1) ? "ywrap" : "ypan",vesafb_defined.yres_virtual); in vesafb_probe()
375 vesafb_defined.yres_virtual = vesafb_defined.yres; in vesafb_probe()
380 vesafb_defined.pixclock = 10000000 / vesafb_defined.xres * 1000 / vesafb_defined.yres; in vesafb_probe()
381 vesafb_defined.left_margin = (vesafb_defined.xres / 8) & 0xf8; in vesafb_probe()
382 vesafb_defined.hsync_len = (vesafb_defined.xres / 8) & 0xf8; in vesafb_probe()
384 vesafb_defined.red.offset = si->red_pos; in vesafb_probe()
385 vesafb_defined.red.length = si->red_size; in vesafb_probe()
386 vesafb_defined.green.offset = si->green_pos; in vesafb_probe()
387 vesafb_defined.green.length = si->green_size; in vesafb_probe()
388 vesafb_defined.blue.offset = si->blue_pos; in vesafb_probe()
389 vesafb_defined.blue.length = si->blue_size; in vesafb_probe()
390 vesafb_defined.transp.offset = si->rsvd_pos; in vesafb_probe()
391 vesafb_defined.transp.length = si->rsvd_size; in vesafb_probe()
393 if (vesafb_defined.bits_per_pixel <= 8) { in vesafb_probe()
394 depth = vesafb_defined.green.length; in vesafb_probe()
395 vesafb_defined.red.length = in vesafb_probe()
396 vesafb_defined.green.length = in vesafb_probe()
397 vesafb_defined.blue.length = in vesafb_probe()
398 vesafb_defined.bits_per_pixel; in vesafb_probe()
403 (vesafb_defined.bits_per_pixel > 8) ? in vesafb_probe()
460 info->var = vesafb_defined; in vesafb_probe()