Lines Matching refs:pck
152 unsigned long pck, void *data) in dpi_calc_dispc_cb() argument
172 ctx->dispc_cinfo.pck = pck; in dpi_calc_dispc_cb()
219 static bool dpi_pll_clk_calc(struct dpi_data *dpi, unsigned long pck, in dpi_pll_clk_calc() argument
233 ctx->pck_min = pck - 1000; in dpi_pll_clk_calc()
234 ctx->pck_max = pck + 1000; in dpi_pll_clk_calc()
243 dss_pll_calc_b(dpi->pll, clkin, pck, &ctx->pll_cinfo); in dpi_pll_clk_calc()
248 ctx->dispc_cinfo.pck = ctx->dispc_cinfo.lck; in dpi_pll_clk_calc()
254 static bool dpi_dss_clk_calc(struct dpi_data *dpi, unsigned long pck, in dpi_dss_clk_calc() argument
271 if (pck > 1000 * i * i * i) in dpi_dss_clk_calc()
272 ctx->pck_min = max(pck - 1000 * i * i * i, 0lu); in dpi_dss_clk_calc()
275 ctx->pck_max = pck + 1000 * i * i * i; in dpi_dss_clk_calc()
277 ok = dss_div_calc(dpi->dss, pck, ctx->pck_min, in dpi_dss_clk_calc()