Searched refs:rrate (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/clk/qcom/ |
H A 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()
|
H A D | clk-alpha-pll.c | 1154 unsigned long rrate, max = rate + PLL_RATE_MARGIN; in alpha_pll_fabia_set_rate() local 1156 rrate = alpha_pll_round_rate(rate, prate, &l, &a, alpha_width); in alpha_pll_fabia_set_rate() 1162 if (rrate > (rate + PLL_RATE_MARGIN) || rrate < rate) { in alpha_pll_fabia_set_rate() 1164 clk_hw_get_name(hw), rrate, rate, max); in alpha_pll_fabia_set_rate() 1179 unsigned long cal_freq, rrate; in alpha_pll_fabia_prepare() local 1207 rrate = alpha_pll_round_rate(cal_freq, clk_hw_get_rate(parent_hw), in alpha_pll_fabia_prepare() 1213 if (rrate > (cal_freq + PLL_RATE_MARGIN) || rrate < cal_freq) in alpha_pll_fabia_prepare() 1486 unsigned long rrate; in alpha_pll_trion_set_rate() local [all...] |
/kernel/linux/linux-6.6/drivers/clk/qcom/ |
H A D | clk-hfpll.c | 135 unsigned long rrate; in clk_hfpll_determine_rate() local 139 rrate = DIV_ROUND_UP(req->rate, req->best_parent_rate) * req->best_parent_rate; in clk_hfpll_determine_rate() 140 if (rrate > hd->max_rate) in clk_hfpll_determine_rate() 141 rrate -= req->best_parent_rate; in clk_hfpll_determine_rate() 143 req->rate = rrate; in clk_hfpll_determine_rate()
|
H A D | clk-alpha-pll.c | 1300 unsigned long rrate, unsigned long rate) in alpha_pll_check_rate_margin() 1304 if (rrate > rate_margin || rrate < rate) { in alpha_pll_check_rate_margin() 1306 clk_hw_get_name(hw), rrate, rate, rate_margin); in alpha_pll_check_rate_margin() 1318 unsigned long rrate; in alpha_pll_fabia_set_rate() local 1322 rrate = alpha_pll_round_rate(rate, prate, &l, &a, alpha_width); in alpha_pll_fabia_set_rate() 1324 ret = alpha_pll_check_rate_margin(hw, rrate, rate); in alpha_pll_fabia_set_rate() 1339 unsigned long cal_freq, rrate; in alpha_pll_fabia_prepare() local 1367 rrate = alpha_pll_round_rate(cal_freq, clk_hw_get_rate(parent_hw), in alpha_pll_fabia_prepare() 1370 ret = alpha_pll_check_rate_margin(hw, rrate, cal_fre in alpha_pll_fabia_prepare() 1299 alpha_pll_check_rate_margin(struct clk_hw *hw, unsigned long rrate, unsigned long rate) alpha_pll_check_rate_margin() argument 1631 unsigned long rrate; __alpha_pll_trion_set_rate() local 1733 unsigned long rrate; clk_alpha_pll_agera_set_rate() local 2051 unsigned long rrate; clk_zonda_pll_set_rate() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/alsa/ |
H A D | pcm-test.c | 273 unsigned int rrate; in test_pcm_time() local 379 rrate = rate; in test_pcm_time() 380 err = snd_pcm_hw_params_set_rate_near(handle, hw_params, &rrate, 0); in test_pcm_time() 385 if (rrate != rate) { in test_pcm_time() 386 snprintf(msg, sizeof(msg), "rate mismatch %ld != %d", rate, rrate); in test_pcm_time()
|
Completed in 7 milliseconds