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()
733 htotal = mode->xres + mode->right_margin + mode->hsync_len in fb_get_monitor_limits()
911 var->xres = var->xres_virtual = H_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()
1077 } else if (idx > ARRAY_SIZE(cea_modes) || !cea_modes[idx].xres) { in fb_edid_add_monspecs()
1082 m[i].xres, m[i].yres, m[i].refresh); in fb_edid_add_monspecs()
1160 static u32 fb_get_hblank_by_hfreq(u32 hfreq, u32 xres) in fb_get_hblank_by_hfreq() argument
1169 hblank = (xres * duty_cycle)/(100000 - duty_cycle); in fb_get_hblank_by_hfreq()
1194 static u32 fb_get_hblank_by_dclk(u32 dclk, u32 xres) in fb_get_hblank_by_dclk() argument
1201 h_period += (M_VAL * xres * 2 * 1000)/(5 * dclk); in fb_get_hblank_by_dclk()
1210 hblank = (xres * duty_cycle)/(100000 - duty_cycle) + 8; in fb_get_hblank_by_dclk()
1337 timings->hactive = var->xres; in fb_get_mode()
1405 fbmode->xres = vm->hactive; in fb_videomode_from_videomode()
1452 m->xres, m->yres, m->refresh, m->pixclock, m->left_margin, in dump_fb_videomode()
1554 htotal = var->xres + var->right_margin + var->hsync_len + in fb_validate_mode()