Home
last modified time | relevance | path

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

/drivers/gpu/drm/sun4i/
Dsun4i_rgb.c64 long rounded_rate; in sun4i_rgb_mode_valid() local
96 rounded_rate = clk_round_rate(tcon->dclk, rate); in sun4i_rgb_mode_valid()
97 if (rounded_rate < rate) in sun4i_rgb_mode_valid()
100 if (rounded_rate > rate) in sun4i_rgb_mode_valid()
/drivers/mfd/
Ddb8500-prcmu.c1670 long rounded_rate; in round_clock_rate() local
1690 rounded_rate = (src_rate / min(div, (u32)31)); in round_clock_rate()
1692 return rounded_rate; in round_clock_rate()
1728 long rounded_rate = 0; in round_plldsi_rate() local
1751 if (rounded_rate == 0) in round_plldsi_rate()
1752 rounded_rate = (long)d; in round_plldsi_rate()
1757 rounded_rate = (long)d; in round_plldsi_rate()
1760 return rounded_rate; in round_plldsi_rate()
1767 long rounded_rate; in round_dsiclk_rate() local
1772 rounded_rate = (src_rate / ((div > 2) ? 4 : div)); in round_dsiclk_rate()
[all …]
/drivers/gpu/drm/imx/
Dimx-tve.c292 unsigned long rounded_rate; in imx_tve_encoder_mode_set() local
304 rounded_rate = clk_get_rate(tve->clk); in imx_tve_encoder_mode_set()
305 if (rounded_rate >= rate) in imx_tve_encoder_mode_set()
307 clk_set_rate(tve->di_clk, rounded_rate / div); in imx_tve_encoder_mode_set()