Lines Matching refs:xres
382 static void calc_mode_timings(int xres, int yres, int refresh, in calc_mode_timings() argument
390 var->xres = xres; in calc_mode_timings()
394 mode->xres = xres; in calc_mode_timings()
497 int xres, yres = 0, refresh, ratio, i; in get_std_timing() local
499 xres = (block[0] + 31) * 8; in get_std_timing()
500 if (xres <= 256) in get_std_timing()
506 yres = xres; in get_std_timing()
509 yres = (xres * 3)/4; in get_std_timing()
512 yres = (xres * 4)/5; in get_std_timing()
515 yres = (xres * 9)/16; in get_std_timing()
520 DPRINTK(" %dx%d@%dHz\n", xres, yres, refresh); in get_std_timing()
522 if (vesa_modes[i].xres == xres && in get_std_timing()
530 calc_mode_timings(xres, yres, refresh, mode); in get_std_timing()
548 mode->xres = H_ACTIVE; in get_detailed_timing()
708 htotal = mode->xres + mode->right_margin + mode->hsync_len in fb_get_monitor_limits()
886 var->xres = var->xres_virtual = H_ACTIVE; in fb_parse_edid()
1044 static u32 fb_get_hblank_by_hfreq(u32 hfreq, u32 xres) in fb_get_hblank_by_hfreq() argument
1053 hblank = (xres * duty_cycle)/(100000 - duty_cycle); in fb_get_hblank_by_hfreq()
1078 static u32 fb_get_hblank_by_dclk(u32 dclk, u32 xres) in fb_get_hblank_by_dclk() argument
1085 h_period += (M_VAL * xres * 2 * 1000)/(5 * dclk); in fb_get_hblank_by_dclk()
1094 hblank = (xres * duty_cycle)/(100000 - duty_cycle) + 8; in fb_get_hblank_by_dclk()
1221 timings->hactive = var->xres; in fb_get_mode()
1343 htotal = var->xres + var->right_margin + var->hsync_len + in fb_validate_mode()