Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Ddsi.c298 u16 lp_clk_div; member
1279 unsigned lp_clk_div; in dsi_lp_clock_calc() local
1282 lp_clk_div = DIV_ROUND_UP(dsi_fclk, lp_clk_max * 2); in dsi_lp_clock_calc()
1283 lp_clk = dsi_fclk / 2 / lp_clk_div; in dsi_lp_clock_calc()
1288 lp_cinfo->lp_clk_div = lp_clk_div; in dsi_lp_clock_calc()
1298 unsigned lp_clk_div; in dsi_set_lp_clk_divisor() local
1303 lp_clk_div = dsi->user_lp_cinfo.lp_clk_div; in dsi_set_lp_clk_divisor()
1305 if (lp_clk_div == 0 || lp_clk_div > lpdiv_max) in dsi_set_lp_clk_divisor()
1310 lp_clk = dsi_fclk / 2 / lp_clk_div; in dsi_set_lp_clk_divisor()
1312 DSSDBG("LP_CLK_DIV %u, LP_CLK %lu\n", lp_clk_div, lp_clk); in dsi_set_lp_clk_divisor()
[all …]
/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/
Ddsi.c304 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()
[all …]