Lines Matching refs:pck
157 unsigned long pck, void *data) in dpi_calc_dispc_cb() argument
177 ctx->dispc_cinfo.pck = pck; in dpi_calc_dispc_cb()
230 static bool dpi_dsi_clk_calc(struct dpi_data *dpi, unsigned long pck, in dpi_dsi_clk_calc() argument
238 ctx->pck_min = pck - 1000; in dpi_dsi_clk_calc()
239 ctx->pck_max = pck + 1000; in dpi_dsi_clk_calc()
251 static bool dpi_dss_clk_calc(unsigned long pck, struct dpi_clk_calc_ctx *ctx) in dpi_dss_clk_calc() argument
266 if (pck > 1000 * i * i * i) in dpi_dss_clk_calc()
267 ctx->pck_min = max(pck - 1000 * i * i * i, 0lu); in dpi_dss_clk_calc()
270 ctx->pck_max = pck + 1000 * i * i * i; in dpi_dss_clk_calc()
272 ok = dss_div_calc(pck, ctx->pck_min, dpi_calc_dss_cb, ctx); in dpi_dss_clk_calc()
341 unsigned long pck; in dpi_set_mode() local
353 pck = fck / lck_div / pck_div; in dpi_set_mode()
355 if (pck != t->pixelclock) { in dpi_set_mode()
357 t->pixelclock, pck); in dpi_set_mode()
359 t->pixelclock = pck; in dpi_set_mode()
512 unsigned long pck; in dpi_check_timings() local
539 pck = fck / lck_div / pck_div; in dpi_check_timings()
541 timings->pixelclock = pck; in dpi_check_timings()