Searched refs:new_diff (Results 1 – 2 of 2) sorted by relevance
115 int new_diff = temp_setup->fout - temp_setup->fout_request; in clk_sscg_pll2_check_match() local118 if (abs(diff) > abs(new_diff)) { in clk_sscg_pll2_check_match()119 temp_setup->fout_error = new_diff; in clk_sscg_pll2_check_match()
1236 u32 new_diff; in check_clock() local1240 new_diff = abs((u32)new_rate - rate); in check_clock()1242 if (new_diff < *best_diff) { in check_clock()1244 *best_diff = new_diff; in check_clock()1247 return new_diff; in check_clock()