Searched refs:rrate (Results 1 – 3 of 3) sorted by relevance
| /Linux-v6.6/drivers/clk/qcom/ |
| 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()
|
| D | clk-alpha-pll.c | 1300 unsigned long rrate, unsigned long rate) in alpha_pll_check_rate_margin() argument 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_freq); in alpha_pll_fabia_prepare() 1631 unsigned long rrate; in __alpha_pll_trion_set_rate() local [all …]
|
| /Linux-v6.6/tools/testing/selftests/alsa/ |
| 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()
|