Lines Matching refs:yres
400 u32 yres, lower, vslen, upper, ytotal; in i740fb_decode_var() local
407 var->xres, var->yres, var->xres_virtual, var->xres_virtual); in i740fb_decode_var()
473 yres = var->yres; in i740fb_decode_var()
475 if (yres > vyres) in i740fb_decode_var()
476 vyres = yres; in i740fb_decode_var()
479 if (yres + yoffset > vyres) in i740fb_decode_var()
480 yoffset = vyres - yres; in i740fb_decode_var()
493 if (yoffset + yres > vyres) in i740fb_decode_var()
494 yoffset = vyres - yres; in i740fb_decode_var()
497 ytotal = yres + lower + vslen + upper; in i740fb_decode_var()
524 par->crtc[VGA_CRTC_V_DISP_END] = yres-1; in i740fb_decode_var()
525 if ((yres-1) & 0x100) in i740fb_decode_var()
527 if ((yres-1) & 0x200) in i740fb_decode_var()
530 par->crtc[VGA_CRTC_V_BLANK_START] = yres + lower - 1; in i740fb_decode_var()
531 par->crtc[VGA_CRTC_V_SYNC_START] = yres + lower - 1; in i740fb_decode_var()
532 if ((yres + lower - 1) & 0x100) in i740fb_decode_var()
534 if ((yres + lower - 1) & 0x200) { in i740fb_decode_var()
541 ((yres + lower - 1 + vslen) & 0x0F) & ~0x10; in i740fb_decode_var()
543 par->crtc[VGA_CRTC_V_BLANK_END] = (yres + lower - 1 + vslen) & 0xFF; in i740fb_decode_var()
632 par->ext_vert_disp_end = (yres - 1) >> 8; in i740fb_decode_var()
633 par->ext_vert_sync_start = (yres + lower) >> 8; in i740fb_decode_var()
634 par->ext_vert_blank_start = (yres + lower) >> 8; in i740fb_decode_var()
703 if (var->yres > var->yres_virtual) in i740fb_check_var()
704 var->yres_virtual = var->yres; in i740fb_check_var()