Home
last modified time | relevance | path

Searched refs:best_child_rate (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/clk/sunxi/
H A Dclk-sun9i-cpus.c118 unsigned long parent_rate, best = 0, child_rate, best_child_rate = 0; in sun9i_a80_cpus_clk_determine_rate() local
135 if (child_rate <= rate && child_rate > best_child_rate) { in sun9i_a80_cpus_clk_determine_rate()
138 best_child_rate = child_rate; in sun9i_a80_cpus_clk_determine_rate()
147 req->rate = best_child_rate; in sun9i_a80_cpus_clk_determine_rate()
H A Dclk-factors.c94 unsigned long parent_rate, best = 0, child_rate, best_child_rate = 0; in clk_factors_determine_rate() local
115 if (child_rate <= req->rate && child_rate > best_child_rate) { in clk_factors_determine_rate()
118 best_child_rate = child_rate; in clk_factors_determine_rate()
127 req->rate = best_child_rate; in clk_factors_determine_rate()