Searched refs:child_rate (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/drivers/clk/sunxi/ |
D | clk-factors.c | 90 unsigned long parent_rate, best = 0, child_rate, best_child_rate = 0; in clk_factors_determine_rate() local 103 child_rate = clk_factors_round_rate(hw, rate, &parent_rate); in clk_factors_determine_rate() 105 if (child_rate <= rate && child_rate > best_child_rate) { in clk_factors_determine_rate() 108 best_child_rate = child_rate; in clk_factors_determine_rate()
|
D | clk-sunxi.c | 129 unsigned long parent_rate, best = 0, child_rate, best_child_rate = 0; in sun6i_ahb1_clk_determine_rate() local 142 child_rate = sun6i_ahb1_clk_round(rate, NULL, NULL, i, in sun6i_ahb1_clk_determine_rate() 145 if (child_rate <= rate && child_rate > best_child_rate) { in sun6i_ahb1_clk_determine_rate() 148 best_child_rate = child_rate; in sun6i_ahb1_clk_determine_rate()
|