Lines Matching refs:yres
381 static void calc_mode_timings(int xres, int yres, int refresh, in calc_mode_timings() argument
390 var->yres = yres; in calc_mode_timings()
394 mode->yres = yres; in calc_mode_timings()
512 int xres, yres = 0, refresh, ratio; in get_std_timing() local
523 yres = xres; in get_std_timing()
525 yres = (xres * 10)/16; in get_std_timing()
528 yres = (xres * 3)/4; in get_std_timing()
531 yres = (xres * 4)/5; in get_std_timing()
534 yres = (xres * 9)/16; in get_std_timing()
538 DPRINTK(" %dx%d@%dHz\n", xres, yres, refresh); in get_std_timing()
540 calc_mode_timings(xres, yres, refresh, mode); in get_std_timing()
568 mode->yres = V_ACTIVE; in get_detailed_timing()
587 mode->yres *= 2; in get_detailed_timing()
735 vtotal = mode->yres + mode->lower_margin + mode->vsync_len in fb_get_monitor_limits()
912 var->yres = var->yres_virtual = V_ACTIVE; in fb_parse_edid()
1070 pr_debug("Adding %ux%u@%u\n", m[i].xres, m[i].yres, m[i].refresh); in fb_edid_add_monspecs()
1082 m[i].xres, m[i].yres, m[i].refresh); in fb_edid_add_monspecs()
1228 static u32 fb_get_hfreq(u32 vfreq, u32 yres) in fb_get_hfreq() argument
1233 hfreq = (yres + V_FRONTPORCH) * vfreq * 1000; in fb_get_hfreq()
1338 timings->vactive = var->yres; in fb_get_mode()
1410 fbmode->yres = vm->vactive; in fb_videomode_from_videomode()
1452 m->xres, m->yres, m->refresh, m->pixclock, m->left_margin, in dump_fb_videomode()
1556 vtotal = var->yres + var->lower_margin + var->vsync_len + in fb_validate_mode()