Searched refs:cur_diff (Results 1 – 1 of 1) sorted by relevance
260 unsigned long cur_diff; in clk_sam9x5_peripheral_round_rate() local282 cur_diff = rate - cur_rate; in clk_sam9x5_peripheral_round_rate()284 cur_diff = cur_rate - rate; in clk_sam9x5_peripheral_round_rate()286 if (cur_diff < best_diff) { in clk_sam9x5_peripheral_round_rate()287 best_diff = cur_diff; in clk_sam9x5_peripheral_round_rate()