Lines Matching refs:yres
401 u32 yres, lower, vslen, upper, ytotal; in i740fb_decode_var() local
408 var->xres, var->yres, var->xres_virtual, var->xres_virtual); in i740fb_decode_var()
475 yres = var->yres; in i740fb_decode_var()
477 if (yres > vyres) in i740fb_decode_var()
478 vyres = yres; in i740fb_decode_var()
481 if (yres + yoffset > vyres) in i740fb_decode_var()
482 yoffset = vyres - yres; in i740fb_decode_var()
495 if (yoffset + yres > vyres) in i740fb_decode_var()
496 yoffset = vyres - yres; in i740fb_decode_var()
499 ytotal = yres + lower + vslen + upper; in i740fb_decode_var()
526 par->crtc[VGA_CRTC_V_DISP_END] = yres-1; in i740fb_decode_var()
527 if ((yres-1) & 0x100) in i740fb_decode_var()
529 if ((yres-1) & 0x200) in i740fb_decode_var()
532 par->crtc[VGA_CRTC_V_BLANK_START] = yres + lower - 1; in i740fb_decode_var()
533 par->crtc[VGA_CRTC_V_SYNC_START] = yres + lower - 1; in i740fb_decode_var()
534 if ((yres + lower - 1) & 0x100) in i740fb_decode_var()
536 if ((yres + lower - 1) & 0x200) { in i740fb_decode_var()
543 ((yres + lower - 1 + vslen) & 0x0F) & ~0x10; in i740fb_decode_var()
545 par->crtc[VGA_CRTC_V_BLANK_END] = (yres + lower - 1 + vslen) & 0xFF; in i740fb_decode_var()
634 par->ext_vert_disp_end = (yres - 1) >> 8; in i740fb_decode_var()
635 par->ext_vert_sync_start = (yres + lower) >> 8; in i740fb_decode_var()
636 par->ext_vert_blank_start = (yres + lower) >> 8; in i740fb_decode_var()
713 if (var->yres > var->yres_virtual) in i740fb_check_var()
714 var->yres_virtual = var->yres; in i740fb_check_var()