Home
last modified time | relevance | path

Searched refs:rrate (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/clk/qcom/
H A Dclk-hfpll.c135 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 Dclk-alpha-pll.c1328 unsigned long rrate, unsigned long rate) in alpha_pll_check_rate_margin() argument
1332 if (rrate > rate_margin || rrate < rate) { in alpha_pll_check_rate_margin()
1334 clk_hw_get_name(hw), rrate, rate, rate_margin); in alpha_pll_check_rate_margin()
1346 unsigned long rrate; in alpha_pll_fabia_set_rate() local
1350 rrate = alpha_pll_round_rate(rate, prate, &l, &a, alpha_width); in alpha_pll_fabia_set_rate()
1352 ret = alpha_pll_check_rate_margin(hw, rrate, rate); in alpha_pll_fabia_set_rate()
1367 unsigned long cal_freq, rrate; in alpha_pll_fabia_prepare() local
1395 rrate = alpha_pll_round_rate(cal_freq, clk_hw_get_rate(parent_hw), in alpha_pll_fabia_prepare()
1398 ret = alpha_pll_check_rate_margin(hw, rrate, cal_freq); in alpha_pll_fabia_prepare()
1659 unsigned long rrate; in __alpha_pll_trion_set_rate() local
[all …]
/openbmc/linux/tools/testing/selftests/alsa/
H A Dpcm-test.c273 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()