Lines Matching defs:clock
57 * Possible clock sources:
100 * disabled, DISPC clock will be disabled, and TV out will stop.
158 * shifted. So skip all odd dividers when the pixel clock is on the
261 * clock may not be possible. We try multiple times to find the clock,
262 * each time widening the pixel clock range we look for, up to
355 static int dpi_clock_update(struct dpi_data *dpi, unsigned long *clock)
362 if (!dpi_pll_clk_calc(dpi, *clock, &ctx))
367 if (!dpi_dss_clk_calc(dpi, *clock, &ctx))
376 *clock = fck / lck_div / pck_div;
441 unsigned long clock = mode->clock * 1000;
447 if (mode->clock == 0)
450 ret = dpi_clock_update(dpi, &clock);
462 unsigned long clock = mode->clock * 1000;
465 ret = dpi_clock_update(dpi, &clock);
469 adjusted_mode->clock = clock / 1000;
480 dpi->pixelclock = adjusted_mode->clock * 1000;