Searched refs:actual_rate (Results 1 – 3 of 3) sorted by relevance
/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()
|
/drivers/input/keyboard/ |
D | bcm-keypad.c | 392 long actual_rate; in bcm_kp_probe() local 399 actual_rate = clk_round_rate(kp->clk, desired_rate); in bcm_kp_probe() 400 if (actual_rate <= 0) in bcm_kp_probe() 403 error = clk_set_rate(kp->clk, actual_rate); in bcm_kp_probe()
|
/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()
|