Lines Matching refs:best_diff
258 long best_diff = -1; in clk_master_div_notifier_fn() local
317 if (best_diff < 0 || best_diff > tmp_diff) { in clk_master_div_notifier_fn()
319 best_diff = tmp_diff; in clk_master_div_notifier_fn()
357 long *best_diff, in clk_sama7g5_master_best_diff() argument
369 if (*best_diff < 0 || *best_diff >= tmp_diff) { in clk_sama7g5_master_best_diff()
371 *best_diff = tmp_diff; in clk_sama7g5_master_best_diff()
591 long best_rate = LONG_MIN, best_diff = LONG_MIN; in clk_sama7g5_master_determine_rate() local
607 &best_rate, &best_diff, in clk_sama7g5_master_determine_rate()
609 if (!best_diff) in clk_sama7g5_master_determine_rate()
613 if (!best_diff) in clk_sama7g5_master_determine_rate()
639 &best_rate, &best_diff, div); in clk_sama7g5_master_determine_rate()
641 if (!best_diff) in clk_sama7g5_master_determine_rate()