Searched refs:dsi_fclk (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/drivers/gpu/drm/omapdrm/dss/ |
D | dsi.c | 1212 static int dsi_lp_clock_calc(unsigned long dsi_fclk, in dsi_lp_clock_calc() argument 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() 1233 unsigned long dsi_fclk; in dsi_set_lp_clk_divisor() local 1244 dsi_fclk = dsi_fclk_rate(dsi); in dsi_set_lp_clk_divisor() 1246 lp_clk = dsi_fclk / 2 / lp_clk_div; in dsi_set_lp_clk_divisor() 1256 REG_FLD_MOD(dsi, DSI_CLK_CTRL, dsi_fclk > 30000000 ? 1 : 0, 21, 21); in dsi_set_lp_clk_divisor()
|
/Linux-v5.10/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dsi.c | 1267 static int dsi_lp_clock_calc(unsigned long dsi_fclk, in dsi_lp_clock_calc() argument 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() 1289 unsigned long dsi_fclk; in dsi_set_lp_clk_divisor() local 1300 dsi_fclk = dsi_fclk_rate(dsidev); in dsi_set_lp_clk_divisor() 1302 lp_clk = dsi_fclk / 2 / lp_clk_div; in dsi_set_lp_clk_divisor() 1312 REG_FLD_MOD(dsidev, DSI_CLK_CTRL, dsi_fclk > 30000000 ? 1 : 0, 21, 21); in dsi_set_lp_clk_divisor()
|