Lines Matching refs:lp_clk_div
304 u16 lp_clk_div; member
1267 unsigned int lp_clk_div; in dsi_lp_clock_calc() local
1270 lp_clk_div = DIV_ROUND_UP(dsi_fclk, lp_clk_max * 2); in dsi_lp_clock_calc()
1271 lp_clk = dsi_fclk / 2 / lp_clk_div; in dsi_lp_clock_calc()
1276 lp_cinfo->lp_clk_div = lp_clk_div; in dsi_lp_clock_calc()
1285 unsigned int lp_clk_div; in dsi_set_lp_clk_divisor() local
1290 lp_clk_div = dsi->user_lp_cinfo.lp_clk_div; in dsi_set_lp_clk_divisor()
1292 if (lp_clk_div == 0 || lp_clk_div > lpdiv_max) in dsi_set_lp_clk_divisor()
1297 lp_clk = dsi_fclk / 2 / lp_clk_div; in dsi_set_lp_clk_divisor()
1299 DSSDBG("LP_CLK_DIV %u, LP_CLK %lu\n", lp_clk_div, lp_clk); in dsi_set_lp_clk_divisor()
1301 dsi->current_lp_cinfo.lp_clk_div = lp_clk_div; in dsi_set_lp_clk_divisor()
1304 REG_FLD_MOD(dsi, DSI_CLK_CTRL, lp_clk_div, 12, 0); in dsi_set_lp_clk_divisor()
3446 int lp_clk_div, int tdsi_fclk) in dsi_compute_interleave_lp() argument
3460 ttxclkesc = tdsi_fclk * lp_clk_div; in dsi_compute_interleave_lp()
3472 int hsa, hfp, hbp, width_bytes, bllp, lp_clk_div; in dsi_config_cmd_mode_interleaving() local
3506 lp_clk_div = FLD_GET(r, 12, 0); in dsi_config_cmd_mode_interleaving()
3526 lp_clk_div, dsi_fclk_hsdiv); in dsi_config_cmd_mode_interleaving()
3535 lp_clk_div, dsi_fclk_hsdiv); in dsi_config_cmd_mode_interleaving()
3545 lp_clk_div, dsi_fclk_hsdiv); in dsi_config_cmd_mode_interleaving()
3555 lp_clk_div, dsi_fclk_hsdiv); in dsi_config_cmd_mode_interleaving()