Lines Matching refs:xres
381 static void calc_mode_timings(int xres, int yres, int refresh, in calc_mode_timings() argument
389 var->xres = xres; in calc_mode_timings()
393 mode->xres = xres; in calc_mode_timings()
512 int xres, yres = 0, refresh, ratio; in get_std_timing() local
514 xres = (block[0] + 31) * 8; in get_std_timing()
515 if (xres <= 256) in get_std_timing()
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()
567 mode->xres = H_ACTIVE; in get_detailed_timing()
734 htotal = mode->xres + mode->right_margin + mode->hsync_len in fb_get_monitor_limits()
912 var->xres = var->xres_virtual = H_ACTIVE; in fb_parse_edid()
1072 static u32 fb_get_hblank_by_hfreq(u32 hfreq, u32 xres) in fb_get_hblank_by_hfreq() argument
1081 hblank = (xres * duty_cycle)/(100000 - duty_cycle); in fb_get_hblank_by_hfreq()
1105 static u32 fb_get_hblank_by_dclk(u32 dclk, u32 xres) in fb_get_hblank_by_dclk() argument
1112 h_period += (M_VAL * xres * 2 * 1000)/(5 * dclk); in fb_get_hblank_by_dclk()
1121 hblank = (xres * duty_cycle)/(100000 - duty_cycle) + 8; in fb_get_hblank_by_dclk()
1248 timings->hactive = var->xres; in fb_get_mode()
1316 fbmode->xres = vm->hactive; in fb_videomode_from_videomode()
1363 m->xres, m->yres, m->refresh, m->pixclock, m->left_margin, in dump_fb_videomode()
1463 htotal = var->xres + var->right_margin + var->hsync_len + in fb_validate_mode()