Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/clk/sunxi/
Dclk-factors.c87 unsigned long parent_rate, best = 0, child_rate, best_child_rate = 0; in clk_factors_determine_rate() local
100 child_rate = clk_factors_round_rate(hw, req->rate, in clk_factors_determine_rate()
103 if (child_rate <= req->rate && child_rate > best_child_rate) { in clk_factors_determine_rate()
106 best_child_rate = child_rate; in clk_factors_determine_rate()
Dclk-sunxi.c128 unsigned long parent_rate, best = 0, child_rate, best_child_rate = 0; in sun6i_ahb1_clk_determine_rate() local
141 child_rate = sun6i_ahb1_clk_round(req->rate, NULL, NULL, i, in sun6i_ahb1_clk_determine_rate()
144 if (child_rate <= req->rate && child_rate > best_child_rate) { in sun6i_ahb1_clk_determine_rate()
147 best_child_rate = child_rate; in sun6i_ahb1_clk_determine_rate()