Searched refs:dsi_fclk (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dsi.c | 1275 static int dsi_lp_clock_calc(unsigned long dsi_fclk, in dsi_lp_clock_calc() argument 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() 1297 unsigned long dsi_fclk; in dsi_set_lp_clk_divisor() local 1308 dsi_fclk = dsi_fclk_rate(dsidev); in dsi_set_lp_clk_divisor() 1310 lp_clk = dsi_fclk / 2 / lp_clk_div; in dsi_set_lp_clk_divisor() 1320 REG_FLD_MOD(dsidev, DSI_CLK_CTRL, dsi_fclk > 30000000 ? 1 : 0, 21, 21); in dsi_set_lp_clk_divisor()
|
/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/ |
D | dsi.c | 1263 static int dsi_lp_clock_calc(unsigned long dsi_fclk, in dsi_lp_clock_calc() argument 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() 1284 unsigned long dsi_fclk; in dsi_set_lp_clk_divisor() local 1295 dsi_fclk = dsi_fclk_rate(dsi); in dsi_set_lp_clk_divisor() 1297 lp_clk = dsi_fclk / 2 / lp_clk_div; in dsi_set_lp_clk_divisor() 1307 REG_FLD_MOD(dsi, DSI_CLK_CTRL, dsi_fclk > 30000000 ? 1 : 0, 21, 21); in dsi_set_lp_clk_divisor()
|