Lines Matching refs:clock
56 mode->base.id, mode->name, mode->vrefresh, mode->clock,
262 /* 15/13. Find pixel clock frequency (kHz for xf86) */
263 drm_mode->clock = drm_mode->htotal * HV_FACTOR * 1000 / hperiod;
264 drm_mode->clock -= drm_mode->clock % CVT_CLOCK_STEP;
430 /* 21.Find pixel clock frequency: */
455 drm_mode->clock = pixel_freq;
524 dmode->clock = vm->pixelclock / 1000;
673 calc_val = (mode->clock * 1000) / mode->htotal; /* hsync in Hz */
707 calc_val = (mode->clock * 1000);
836 /* do clock check convert to PICOS so fb modes get matched
838 if (mode1->clock && mode2->clock) {
839 if (KHZ2PICOS(mode1->clock) != KHZ2PICOS(mode2->clock))
841 } else if (mode1->clock != mode2->clock)
914 * drm_mode_validate_clocks - validate modes against clock limits
917 * @min: minimum clock rate array
918 * @max: maximum clock rate array
919 * @n_ranges: number of clock ranges (size of arrays)
924 * Some code may need to check a mode list against the clock limits of the
940 if (mode->clock >= min[i] && mode->clock <= max[i]) {
1014 diff = b->clock - a->clock;