Searched refs:lp_clk (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/drivers/gpu/drm/mcde/ |
D | mcde_dsi.c | 48 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() 1097 d->lp_clk = devm_clk_get(dev, "lp"); in mcde_dsi_bind() 1098 if (IS_ERR(d->lp_clk)) { in mcde_dsi_bind() 1100 return PTR_ERR(d->lp_clk); in mcde_dsi_bind()
|
/Linux-v6.1/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dsi.c | 286 unsigned long lp_clk; member 1269 unsigned long lp_clk; in dsi_lp_clock_calc() local 1272 lp_clk = dsi_fclk / 2 / lp_clk_div; in dsi_lp_clock_calc() 1274 if (lp_clk < lp_clk_min || lp_clk > lp_clk_max) in dsi_lp_clock_calc() 1278 lp_cinfo->lp_clk = lp_clk; in dsi_lp_clock_calc() 1288 unsigned long lp_clk; in dsi_set_lp_clk_divisor() local 1299 lp_clk = dsi_fclk / 2 / lp_clk_div; in dsi_set_lp_clk_divisor() 1301 DSSDBG("LP_CLK_DIV %u, LP_CLK %lu\n", lp_clk_div, lp_clk); in dsi_set_lp_clk_divisor() 1302 dsi->current_lp_cinfo.lp_clk = lp_clk; in dsi_set_lp_clk_divisor() 1516 seq_printf(s, "LP_CLK\t\t%lu\n", dsi->current_lp_cinfo.lp_clk); in dsi_dump_dsidev_clocks()
|
/Linux-v6.1/drivers/gpu/drm/omapdrm/dss/ |
D | dsi.c | 812 unsigned long lp_clk; in dsi_lp_clock_calc() local 815 lp_clk = dsi_fclk / 2 / lp_clk_div; in dsi_lp_clock_calc() 817 if (lp_clk < lp_clk_min || lp_clk > lp_clk_max) in dsi_lp_clock_calc() 821 lp_cinfo->lp_clk = lp_clk; in dsi_lp_clock_calc() 830 unsigned long lp_clk; in dsi_set_lp_clk_divisor() local 841 lp_clk = dsi_fclk / 2 / lp_clk_div; in dsi_set_lp_clk_divisor() 843 DSSDBG("LP_CLK_DIV %u, LP_CLK %lu\n", lp_clk_div, lp_clk); in dsi_set_lp_clk_divisor() 844 dsi->current_lp_cinfo.lp_clk = lp_clk; in dsi_set_lp_clk_divisor() 1030 seq_printf(s, "LP_CLK\t\t%lu\n", dsi->current_lp_cinfo.lp_clk); in dsi_dump_dsi_clocks()
|
D | dsi.h | 292 unsigned long lp_clk; member
|