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()
585 long best_rate = LONG_MIN, best_diff = LONG_MIN; in clk_sama7g5_master_determine_rate() local
601 &best_rate, &best_diff, in clk_sama7g5_master_determine_rate()
603 if (!best_diff) in clk_sama7g5_master_determine_rate()
607 if (!best_diff) in clk_sama7g5_master_determine_rate()
633 &best_rate, &best_diff, div); in clk_sama7g5_master_determine_rate()
635 if (!best_diff) in clk_sama7g5_master_determine_rate()