Searched refs:rrate (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/drivers/clk/qcom/ |
D | clk-hfpll.c | 136 unsigned long rrate; in clk_hfpll_round_rate() local 140 rrate = DIV_ROUND_UP(rate, *parent_rate) * *parent_rate; in clk_hfpll_round_rate() 141 if (rrate > hd->max_rate) in clk_hfpll_round_rate() 142 rrate -= *parent_rate; in clk_hfpll_round_rate() 144 return rrate; in clk_hfpll_round_rate()
|
D | clk-alpha-pll.c | 1242 unsigned long rrate, unsigned long rate) in alpha_pll_check_rate_margin() argument 1246 if (rrate > rate_margin || rrate < rate) { in alpha_pll_check_rate_margin() 1248 clk_hw_get_name(hw), rrate, rate, rate_margin); in alpha_pll_check_rate_margin() 1260 unsigned long rrate; in alpha_pll_fabia_set_rate() local 1264 rrate = alpha_pll_round_rate(rate, prate, &l, &a, alpha_width); in alpha_pll_fabia_set_rate() 1266 ret = alpha_pll_check_rate_margin(hw, rrate, rate); in alpha_pll_fabia_set_rate() 1281 unsigned long cal_freq, rrate; in alpha_pll_fabia_prepare() local 1309 rrate = alpha_pll_round_rate(cal_freq, clk_hw_get_rate(parent_hw), in alpha_pll_fabia_prepare() 1312 ret = alpha_pll_check_rate_margin(hw, rrate, cal_freq); in alpha_pll_fabia_prepare() 1573 unsigned long rrate; in __alpha_pll_trion_set_rate() local [all …]
|