Lines Matching +full:1000 +full:m
338 tmp *= 1000; in get_chroma()
344 tmp *= 1000; in get_chroma()
350 tmp *= 1000; in get_chroma()
356 tmp *= 1000; in get_chroma()
362 tmp *= 1000; in get_chroma()
368 tmp *= 1000; in get_chroma()
374 tmp *= 1000; in get_chroma()
380 tmp *= 1000; in get_chroma()
550 && PICOS2KHZ(mode->pixclock) * 1000 > specs->dclkmax) { in get_std_timing()
575 mode->pixclock /= 1000; in get_detailed_timing()
624 struct fb_videomode *mode, *m; in fb_create_modedb() local
680 m = kmalloc_objs(struct fb_videomode, num); in fb_create_modedb()
681 if (!m) in fb_create_modedb()
683 memmove(m, mode, num * sizeof(struct fb_videomode)); in fb_create_modedb()
685 return m; in fb_create_modedb()
711 specs->hfmin = H_MIN_RATE * 1000; in fb_get_monitor_limits()
712 specs->hfmax = H_MAX_RATE * 1000; in fb_get_monitor_limits()
738 pixclock = PICOS2KHZ(modes[i].pixclock) * 1000; in fb_get_monitor_limits()
751 hscan = (hscan + 500) / 1000 * 1000; in fb_get_monitor_limits()
776 specs->hfmin/1000, specs->hfmax/1000, specs->vfmin, in fb_get_monitor_limits()
929 var->pixclock /= 1000; in fb_parse_edid()
1052 vblank = (hfreq * FLYBACK)/1000; in fb_get_vblank()
1053 vblank = (vblank + 500)/1000; in fb_get_vblank()
1069 * duty cycle = C - (M/Hfreq)
1074 * M = blank_scale * gradient
1082 H_SCALEFACTOR) * 1000; in fb_get_hblank_by_hfreq()
1102 * duty cycle = C - (M * h_period)
1104 * where: h_period = SQRT(100 - C + (0.4 * xres * M)/dclk) + C - 100
1106 * 2 * M
1107 * M = 300;
1114 dclk /= 1000; in fb_get_hblank_by_dclk()
1117 h_period += (M_VAL * xres * 2 * 1000)/(5 * dclk); in fb_get_hblank_by_dclk()
1122 h_period *= 1000; in fb_get_hblank_by_dclk()
1125 duty_cycle = C_VAL * 1000 - (M_VAL * h_period)/100; in fb_get_hblank_by_dclk()
1148 divisor = (1000000 - (vfreq * FLYBACK))/1000; in fb_get_hfreq()
1149 hfreq = (yres + V_FRONTPORCH) * vfreq * 1000; in fb_get_hfreq()
1286 timings->dclk = PICOS2KHZ(val) * 1000; in fb_get_mode()
1300 var->pixclock = KHZ2PICOS(timings->dclk/1000); in fb_get_mode()
1333 KHZ2PICOS(vm->pixelclock / 1000) : 0; in fb_videomode_from_videomode()
1366 static inline void dump_fb_videomode(const struct fb_videomode *m) in dump_fb_videomode() argument
1369 m->xres, m->yres, m->refresh, m->pixclock, m->left_margin, in dump_fb_videomode()
1370 m->right_margin, m->upper_margin, m->lower_margin, in dump_fb_videomode()
1371 m->hsync_len, m->vsync_len, m->sync, m->vmode, m->flag); in dump_fb_videomode()
1467 pixclock = PICOS2KHZ(var->pixclock) * 1000; in fb_validate_mode()
1480 hfreq = (hfreq + 500) / 1000 * 1000; in fb_validate_mode()