Lines Matching defs:clock
56 /* Reported 135MHz pixel clock is too high, needs adjustment */
1661 mode->clock = le16_to_cpu(timing->pixel_clock) * 10;
1773 if (mode->clock > max_clock)
2246 * Calculate the alternate clock for the CEA mode
2252 unsigned int clock = cea_mode->clock;
2255 return clock;
2263 clock = clock * 1001 / 1000;
2265 clock = DIV_ROUND_UP(clock * 1000, 1001);
2267 return clock;
2281 if (!to_match->clock)
2289 clock1 = cea_mode->clock;
2292 if ((KHZ2PICOS(to_match->clock) == KHZ2PICOS(clock1) ||
2293 KHZ2PICOS(to_match->clock) == KHZ2PICOS(clock2)) &&
2317 * with the alternate clock for certain CEA modes.
2330 clock1 = cea_mode->clock;
2336 if (mode->clock != clock1 && mode->clock != clock2)
2345 * sure to pick the "other" clock for the new mode.
2347 if (mode->clock != clock1)
2348 newmode->clock = clock1;
2350 newmode->clock = clock2;
2472 "max TMDS clock %d, "