Lines Matching refs:lp_clk_div
293 u16 lp_clk_div; member
1216 unsigned int lp_clk_div; in dsi_lp_clock_calc() local
1219 lp_clk_div = DIV_ROUND_UP(dsi_fclk, lp_clk_max * 2); in dsi_lp_clock_calc()
1220 lp_clk = dsi_fclk / 2 / lp_clk_div; in dsi_lp_clock_calc()
1225 lp_cinfo->lp_clk_div = lp_clk_div; in dsi_lp_clock_calc()
1234 unsigned int lp_clk_div; in dsi_set_lp_clk_divisor() local
1239 lp_clk_div = dsi->user_lp_cinfo.lp_clk_div; in dsi_set_lp_clk_divisor()
1241 if (lp_clk_div == 0 || lp_clk_div > lpdiv_max) in dsi_set_lp_clk_divisor()
1246 lp_clk = dsi_fclk / 2 / lp_clk_div; in dsi_set_lp_clk_divisor()
1248 DSSDBG("LP_CLK_DIV %u, LP_CLK %lu\n", lp_clk_div, lp_clk); in dsi_set_lp_clk_divisor()
1250 dsi->current_lp_cinfo.lp_clk_div = lp_clk_div; in dsi_set_lp_clk_divisor()
1253 REG_FLD_MOD(dsi, DSI_CLK_CTRL, lp_clk_div, 12, 0); in dsi_set_lp_clk_divisor()
3342 int lp_clk_div, int tdsi_fclk) in dsi_compute_interleave_lp() argument
3356 ttxclkesc = tdsi_fclk * lp_clk_div; in dsi_compute_interleave_lp()
3368 int hsa, hfp, hbp, width_bytes, bllp, lp_clk_div; in dsi_config_cmd_mode_interleaving() local
3402 lp_clk_div = FLD_GET(r, 12, 0); in dsi_config_cmd_mode_interleaving()
3422 lp_clk_div, dsi_fclk_hsdiv); in dsi_config_cmd_mode_interleaving()
3431 lp_clk_div, dsi_fclk_hsdiv); in dsi_config_cmd_mode_interleaving()
3441 lp_clk_div, dsi_fclk_hsdiv); in dsi_config_cmd_mode_interleaving()
3451 lp_clk_div, dsi_fclk_hsdiv); in dsi_config_cmd_mode_interleaving()