Searched refs:rounded_rate (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/sun4i/ |
| H A D | sun4i_rgb.c | 71 unsigned long long rounded_rate; in sun4i_rgb_mode_valid() local 123 rounded_rate = clk_round_rate(tcon->dclk, rate); in sun4i_rgb_mode_valid() 127 if (rounded_rate < lowest) in sun4i_rgb_mode_valid() 132 if (rounded_rate > highest) in sun4i_rgb_mode_valid()
|
| H A D | sun4i_hdmi_enc.c | 187 long rounded_rate; in sun4i_hdmi_mode_valid() local 192 rounded_rate = clk_round_rate(hdmi->tmds_clk, rate); in sun4i_hdmi_mode_valid() 193 if (rounded_rate > 0 && in sun4i_hdmi_mode_valid() 194 max_t(unsigned long, rounded_rate, rate) - in sun4i_hdmi_mode_valid() 195 min_t(unsigned long, rounded_rate, rate) < diff) in sun4i_hdmi_mode_valid()
|
| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | db8500-prcmu.c | 1599 long rounded_rate; in round_clock_rate() local 1619 rounded_rate = (src_rate / min(div, (u32)31)); in round_clock_rate() 1621 return rounded_rate; in round_clock_rate() 1670 long rounded_rate = 0; in round_plldsi_rate() local 1693 if (rounded_rate == 0) in round_plldsi_rate() 1694 rounded_rate = (long)d; in round_plldsi_rate() 1699 rounded_rate = (long)d; in round_plldsi_rate() 1702 return rounded_rate; in round_plldsi_rate() 1709 long rounded_rate; in round_dsiclk_rate() local 1714 rounded_rate = (src_rate / ((div > 2) ? 4 : div)); in round_dsiclk_rate() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/imx/ |
| H A D | imx-tve.c | 243 unsigned long rounded_rate; in imx_tve_encoder_mode_set() local 255 rounded_rate = clk_get_rate(tve->clk); in imx_tve_encoder_mode_set() 256 if (rounded_rate >= rate) in imx_tve_encoder_mode_set() 258 clk_set_rate(tve->di_clk, rounded_rate / div); in imx_tve_encoder_mode_set()
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-tegra/tegra124/ |
| H A D | clock.c | 1068 u32 cf, vco, rounded_rate = frequency; in clock_set_display_rate() local 1124 rounded_rate = (ref / best_m * best_n) >> best_p; in clock_set_display_rate() 1128 __func__, rounded_rate, ref, best_m, best_n, best_p, cpcon); in clock_set_display_rate() 1135 return rounded_rate; in clock_set_display_rate()
|