Searched refs:actual_rate (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/drivers/clk/qcom/ |
D | clk-regmap-mux-div.c | 93 unsigned long actual_rate, best_rate = 0; in mux_div_determine_rate() local 104 actual_rate = mult_frac(parent_rate, 2, div); in mux_div_determine_rate() 106 if (is_better_rate(req_rate, best_rate, actual_rate)) { in mux_div_determine_rate() 107 best_rate = actual_rate; in mux_div_determine_rate() 113 if (actual_rate < req_rate || best_rate <= req_rate) in mux_div_determine_rate() 131 unsigned long actual_rate, best_rate = 0; in __mux_div_set_rate_and_parent() local 141 actual_rate = mult_frac(parent_rate, 2, div); in __mux_div_set_rate_and_parent() 143 if (is_better_rate(rate, best_rate, actual_rate)) { in __mux_div_set_rate_and_parent() 144 best_rate = actual_rate; in __mux_div_set_rate_and_parent() 149 if (actual_rate < rate || best_rate <= rate) in __mux_div_set_rate_and_parent()
|
/Linux-v6.6/arch/arm/mach-ep93xx/ |
D | clock.c | 214 unsigned long best_rate = 0, actual_rate, mclk_rate; in ep93xx_mux_determine_rate() local 240 actual_rate = mclk_rate / (__pdiv * __div); in ep93xx_mux_determine_rate() 241 if (is_best(rate, actual_rate, best_rate)) { in ep93xx_mux_determine_rate() 242 best_rate = actual_rate; in ep93xx_mux_determine_rate() 279 unsigned long best_rate = 0, actual_rate, mclk_rate; in ep93xx_ddiv_set_rate() local 290 actual_rate = mclk_rate / (__pdiv * __div); in ep93xx_ddiv_set_rate() 291 if (is_best(rate, actual_rate, best_rate)) { in ep93xx_ddiv_set_rate() 294 best_rate = actual_rate; in ep93xx_ddiv_set_rate()
|
/Linux-v6.6/drivers/input/keyboard/ |
D | bcm-keypad.c | 367 long actual_rate; in bcm_kp_probe() local 374 actual_rate = clk_round_rate(kp->clk, desired_rate); in bcm_kp_probe() 375 if (actual_rate <= 0) in bcm_kp_probe() 378 error = clk_set_rate(kp->clk, actual_rate); in bcm_kp_probe()
|
/Linux-v6.6/drivers/clk/ |
D | clk-cdce925.c | 420 unsigned long actual_rate; in cdce925_clk_best_parent_rate() local 425 actual_rate = pll_rate / pdiv_now; in cdce925_clk_best_parent_rate() 426 rate_error = abs((long)actual_rate - (long)rate); in cdce925_clk_best_parent_rate()
|