Searched refs:fin_freq (Results 1 – 4 of 4) sorted by relevance
151 unsigned long fin_freq; in meson_pwm_calc() local170 fin_freq = clk_round_rate(channel->clk, freq); in meson_pwm_calc()171 if (fin_freq == 0) { in meson_pwm_calc()176 dev_dbg(meson->chip.dev, "fin_freq: %lu Hz\n", fin_freq); in meson_pwm_calc()178 cnt = div_u64(fin_freq * period, NSEC_PER_SEC); in meson_pwm_calc()193 duty_cnt = div_u64(fin_freq * duty, NSEC_PER_SEC); in meson_pwm_calc()201 channel->rate = fin_freq; in meson_pwm_calc()292 unsigned long fin_freq; in meson_pwm_cnt_to_ns() local297 fin_freq = clk_get_rate(channel->clk); in meson_pwm_cnt_to_ns()298 if (fin_freq == 0) in meson_pwm_cnt_to_ns()[all …]
49 unsigned long fin_freq; member107 priv->fin_freq = clk_get_rate(&in_clk); in exynos7420_clk_topc_probe()109 rate = pll145x_get_rate(&topc->bus0_pll_con[0], priv->fin_freq); in exynos7420_clk_topc_probe()115 rate = pll145x_get_rate(&topc->bus1_pll_con[0], priv->fin_freq) / in exynos7420_clk_topc_probe()
19 unsigned long pll145x_get_rate(unsigned int *con1, unsigned long fin_freq) in pll145x_get_rate() argument23 uint64_t fvco = fin_freq; in pll145x_get_rate()
8 unsigned long pll145x_get_rate(unsigned int *con1, unsigned long fin_freq);