Home
last modified time | relevance | path

Searched refs:lp_clk (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/mcde/
Dmcde_dsi.c48 struct clk *lp_clk; member
877 d->lp_freq = clk_round_rate(d->lp_clk, lp_freq); in mcde_dsi_enable()
878 ret = clk_set_rate(d->lp_clk, d->lp_freq); in mcde_dsi_enable()
890 ret = clk_prepare_enable(d->lp_clk); in mcde_dsi_enable()
1047 clk_disable_unprepare(d->lp_clk); in mcde_dsi_disable()
1104 d->lp_clk = devm_clk_get(dev, "lp"); in mcde_dsi_bind()
1105 if (IS_ERR(d->lp_clk)) { in mcde_dsi_bind()
1107 return PTR_ERR(d->lp_clk); in mcde_dsi_bind()
/Linux-v5.10/drivers/gpu/drm/omapdrm/dss/
Ddsi.c292 unsigned long lp_clk; member
1217 unsigned long lp_clk; in dsi_lp_clock_calc() local
1220 lp_clk = dsi_fclk / 2 / lp_clk_div; in dsi_lp_clock_calc()
1222 if (lp_clk < lp_clk_min || lp_clk > lp_clk_max) in dsi_lp_clock_calc()
1226 lp_cinfo->lp_clk = lp_clk; in dsi_lp_clock_calc()
1235 unsigned long lp_clk; in dsi_set_lp_clk_divisor() local
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()
1249 dsi->current_lp_cinfo.lp_clk = lp_clk; in dsi_set_lp_clk_divisor()
1435 seq_printf(s, "LP_CLK\t\t%lu\n", dsi->current_lp_cinfo.lp_clk); in dsi_dump_dsi_clocks()
/Linux-v5.10/drivers/video/fbdev/omap2/omapfb/dss/
Ddsi.c286 unsigned long lp_clk; member
1272 unsigned long lp_clk; in dsi_lp_clock_calc() local
1275 lp_clk = dsi_fclk / 2 / lp_clk_div; in dsi_lp_clock_calc()
1277 if (lp_clk < lp_clk_min || lp_clk > lp_clk_max) in dsi_lp_clock_calc()
1281 lp_cinfo->lp_clk = lp_clk; in dsi_lp_clock_calc()
1291 unsigned long lp_clk; in dsi_set_lp_clk_divisor() local
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()
1305 dsi->current_lp_cinfo.lp_clk = lp_clk; in dsi_set_lp_clk_divisor()
1519 seq_printf(s, "LP_CLK\t\t%lu\n", dsi->current_lp_cinfo.lp_clk); in dsi_dump_dsidev_clocks()