Lines Matching refs:xres_virtual

92 	const short w = var->xres_virtual;  in fill_fb()
380 if (var->xres_virtual == 0) in check_fb_res_bounds()
381 var->xres_virtual = var->xres; in check_fb_res_bounds()
386 if (var->xres_virtual < xres_min || var->yres_virtual < yres_min) in check_fb_res_bounds()
398 if (var->xres > var->xres_virtual) in check_fb_res_bounds()
399 var->xres = var->xres_virtual; in check_fb_res_bounds()
411 (var->xres_virtual * var->bits_per_pixel >> 3); in shrink_height()
424 var->xres_virtual = max_frame_size / var->yres_virtual / in shrink_width()
427 if (var->xres_virtual < OMAPFB_PLANE_XRES_MIN) in shrink_width()
428 var->xres_virtual = OMAPFB_PLANE_XRES_MIN; in shrink_width()
430 if (var->xres > var->xres_virtual) in shrink_width()
431 var->xres = var->xres_virtual; in shrink_width()
437 unsigned long min_phys_size = omap_vrfb_min_phys_size(var->xres_virtual, in check_vrfb_fb_size()
448 unsigned long line_size = var->xres_virtual * bytespp; in check_fb_size()
454 max_frame_size, var->xres_virtual, bytespp) * in check_fb_size()
472 line_size = var->xres_virtual * bytespp; in check_fb_size()
527 else if (vrfb->xres != var->xres_virtual || in setup_vrfb_rotation()
544 var->xres_virtual, in setup_vrfb_rotation()
619 (var->xres_virtual * var->bits_per_pixel) >> 3; in set_fb_fix()
689 if (var->xres + var->xoffset > var->xres_virtual) in check_fb_var()
690 var->xoffset = var->xres_virtual - var->xres; in check_fb_var()
696 var->xres_virtual, var->yres_virtual); in check_fb_var()
1571 .width = fbi->var.xres_virtual, in omapfb_clear_fb()
1763 var->xres_virtual = var->xres; in omapfb_fb_init()
1784 var->xres_virtual = var->xres; in omapfb_fb_init()