Searched refs:lp_clk_div (Results 1 – 2 of 2) sorted by relevance
293 u16 lp_clk_div; member1216 unsigned int lp_clk_div; in dsi_lp_clock_calc() local1219 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() local1239 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()[all …]
287 u16 lp_clk_div; member1271 unsigned lp_clk_div; in dsi_lp_clock_calc() local1274 lp_clk_div = DIV_ROUND_UP(dsi_fclk, lp_clk_max * 2); in dsi_lp_clock_calc()1275 lp_clk = dsi_fclk / 2 / lp_clk_div; in dsi_lp_clock_calc()1280 lp_cinfo->lp_clk_div = lp_clk_div; in dsi_lp_clock_calc()1290 unsigned lp_clk_div; in dsi_set_lp_clk_divisor() local1295 lp_clk_div = dsi->user_lp_cinfo.lp_clk_div; in dsi_set_lp_clk_divisor()1297 if (lp_clk_div == 0 || lp_clk_div > lpdiv_max) in dsi_set_lp_clk_divisor()1302 lp_clk = dsi_fclk / 2 / lp_clk_div; in dsi_set_lp_clk_divisor()1304 DSSDBG("LP_CLK_DIV %u, LP_CLK %lu\n", lp_clk_div, lp_clk); in dsi_set_lp_clk_divisor()[all …]