Lines Matching full:dclk
546 DPRINTK(" mode exceed max DCLK\n"); in get_std_timing()
770 DPRINTK(" H: %d-%dKHz V: %d-%dHz DCLK: %dMHz\n", in fb_get_monitor_limits()
1017 u32 dclk; member
1087 * @dclk: pixelclock in Hz
1099 * where: h_period = SQRT(100 - C + (0.4 * xres * M)/dclk) + C - 100
1105 static u32 fb_get_hblank_by_dclk(u32 dclk, u32 xres) in fb_get_hblank_by_dclk() argument
1109 dclk /= 1000; in fb_get_hblank_by_dclk()
1112 h_period += (M_VAL * xres * 2 * 1000)/(5 * dclk); in fb_get_hblank_by_dclk()
1156 timings->dclk = timings->htotal * timings->hfreq; in fb_timings_vfreq()
1167 timings->dclk = timings->htotal * timings->hfreq; in fb_timings_hfreq()
1172 timings->hblank = fb_get_hblank_by_dclk(timings->dclk, in fb_timings_dclk()
1175 timings->hfreq = timings->dclk/timings->htotal; in fb_timings_dclk()
1267 if (timings->dclk > dclkmax) { in fb_get_mode()
1268 timings->dclk = dclkmax; in fb_get_mode()
1281 timings->dclk = PICOS2KHZ(val) * 1000; in fb_get_mode()
1292 timings->dclk < dclkmin || timings->dclk > dclkmax))) { in fb_get_mode()
1295 var->pixclock = KHZ2PICOS(timings->dclk/1000); in fb_get_mode()