Searched refs:rounded_rate (Results 1 – 3 of 3) sorted by relevance
64 long rounded_rate; in sun4i_rgb_mode_valid() local96 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()
1670 long rounded_rate; in round_clock_rate() local1690 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() local1751 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() local1772 rounded_rate = (src_rate / ((div > 2) ? 4 : div)); in round_dsiclk_rate()[all …]
292 unsigned long rounded_rate; in imx_tve_encoder_mode_set() local304 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()