Searched refs:child_rate (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/clk/sunxi/ |
H A D | clk-sun9i-cpus.c | 118 unsigned long parent_rate, best = 0, child_rate, best_child_rate = 0; in sun9i_a80_cpus_clk_determine_rate() local 132 child_rate = sun9i_a80_cpus_clk_round(rate, NULL, NULL, i, in sun9i_a80_cpus_clk_determine_rate() 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()
|
H A D | clk-factors.c | 94 unsigned long parent_rate, best = 0, child_rate, best_child_rate = 0; in clk_factors_determine_rate() local 113 child_rate = factors_req.rate; in clk_factors_determine_rate() 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()
|