Home
last modified time | relevance | path

Searched refs:lp_clk_div (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/omapdrm/dss/
Ddsi.c293 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()
[all …]
/Linux-v5.10/drivers/video/fbdev/omap2/omapfb/dss/
Ddsi.c287 u16 lp_clk_div; member
1271 unsigned lp_clk_div; in dsi_lp_clock_calc() local
1274 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() local
1295 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 …]