[go: nahoru, domu]

Searched refs:best_rate (Results 1 - 6 of 6) sorted by relevance

/drivers/clk/at91/
H A Dclk-programmable.c63 long best_rate = -EINVAL; local
84 if (best_rate < 0 || (rate - tmp_rate) < (rate - best_rate)) {
85 best_rate = tmp_rate;
90 if (!best_rate)
94 return best_rate;
H A Dclk-peripheral.c235 unsigned long best_rate; local
256 best_rate = cur_rate;
266 best_rate = cur_rate;
273 return best_rate;
/drivers/clk/sunxi/
H A Dclk-sun6i-ar100.c52 long best_rate = -EINVAL; local
102 if (!*best_parent_clk || tmp_rate > best_rate) {
105 best_rate = tmp_rate;
109 return best_rate;
/drivers/spi/
H A Dspi-sh-hspi.c115 u32 rate, best_rate, min, tmp; local
121 best_rate = 0;
140 best_rate = rate;
149 dev_dbg(dev, "speed %d/%d\n", t->speed_hz, best_rate);
/drivers/clk/
H A Dclk-composite.c69 long tmp_rate, best_rate = 0; local
109 best_rate = tmp_rate;
116 return best_rate;
/drivers/clk/bcm/
H A Dclk-kona.c1042 unsigned long best_rate; local
1058 best_rate = kona_peri_clk_round_rate(hw, rate, &parent_rate);
1059 best_delta = abs(best_rate - rate);
1077 best_rate = other_rate;
1083 return best_rate;

Completed in 170 milliseconds