Lines Matching refs:yres_virtual
104 const short h = var->yres_virtual; in fill_fb()
394 if (var->yres_virtual == 0) in check_fb_res_bounds()
395 var->yres_virtual = var->yres; in check_fb_res_bounds()
397 if (var->xres_virtual < xres_min || var->yres_virtual < yres_min) in check_fb_res_bounds()
411 if (var->yres > var->yres_virtual) in check_fb_res_bounds()
412 var->yres = var->yres_virtual; in check_fb_res_bounds()
421 var->yres_virtual = max_frame_size / in shrink_height()
424 if (var->yres_virtual < OMAPFB_PLANE_YRES_MIN) in shrink_height()
425 var->yres_virtual = OMAPFB_PLANE_YRES_MIN; in shrink_height()
427 if (var->yres > var->yres_virtual) in shrink_height()
428 var->yres = var->yres_virtual; in shrink_height()
435 var->xres_virtual = max_frame_size / var->yres_virtual / in shrink_width()
449 var->yres_virtual, var->bits_per_pixel >> 3); in check_vrfb_fb_size()
478 if (line_size * var->yres_virtual > max_frame_size) in check_fb_size()
481 if (line_size * var->yres_virtual > max_frame_size) { in check_fb_size()
486 if (line_size * var->yres_virtual > max_frame_size) { in check_fb_size()
539 vrfb->yres != var->yres_virtual) in setup_vrfb_rotation()
556 var->yres_virtual, in setup_vrfb_rotation()
560 r = omap_vrfb_map_angle(vrfb, var->yres_virtual, 0); in setup_vrfb_rotation()
581 fix->smem_len = var->yres_virtual * fix->line_length; in setup_vrfb_rotation()
627 fix->smem_len = var->yres_virtual * fix->line_length; in set_fb_fix()
702 if (var->yres + var->yoffset > var->yres_virtual) in check_fb_var()
703 var->yoffset = var->yres_virtual - var->yres; in check_fb_var()
707 var->xres_virtual, var->yres_virtual); in check_fb_var()
788 offset = (var->yres_virtual - var->yres) * in calc_rotation_offset_vrfb()
791 offset = (var->yres_virtual - var->yres) * in calc_rotation_offset_vrfb()
1586 .height = fbi->var.yres_virtual, in omapfb_clear_fb()
1778 var->yres_virtual = var->yres; in omapfb_fb_init()
1799 var->yres_virtual = var->yres; in omapfb_fb_init()