Searched refs:rrate (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.15/drivers/clk/qcom/ |
| D | clk-hfpll.c | 133 unsigned long rrate; in clk_hfpll_round_rate() local 137 rrate = DIV_ROUND_UP(rate, *parent_rate) * *parent_rate; in clk_hfpll_round_rate() 138 if (rrate > hd->max_rate) in clk_hfpll_round_rate() 139 rrate -= *parent_rate; in clk_hfpll_round_rate() 141 return rrate; in clk_hfpll_round_rate()
|
| D | clk-alpha-pll.c | 1183 unsigned long rrate, unsigned long rate) in alpha_pll_check_rate_margin() argument 1187 if (rrate > rate_margin || rrate < rate) { in alpha_pll_check_rate_margin() 1189 clk_hw_get_name(hw), rrate, rate, rate_margin); in alpha_pll_check_rate_margin() 1201 unsigned long rrate; in alpha_pll_fabia_set_rate() local 1205 rrate = alpha_pll_round_rate(rate, prate, &l, &a, alpha_width); in alpha_pll_fabia_set_rate() 1207 ret = alpha_pll_check_rate_margin(hw, rrate, rate); in alpha_pll_fabia_set_rate() 1222 unsigned long cal_freq, rrate; in alpha_pll_fabia_prepare() local 1250 rrate = alpha_pll_round_rate(cal_freq, clk_hw_get_rate(parent_hw), in alpha_pll_fabia_prepare() 1253 ret = alpha_pll_check_rate_margin(hw, rrate, cal_freq); in alpha_pll_fabia_prepare() 1505 unsigned long rrate; in __alpha_pll_trion_set_rate() local [all …]
|