Searched refs:new_diff (Results 1 – 2 of 2) sorted by relevance
118 int new_diff = temp_setup->fout - temp_setup->fout_request; in clk_sccg_pll2_check_match() local121 if (abs(diff) > abs(new_diff)) { in clk_sccg_pll2_check_match()122 temp_setup->fout_error = new_diff; in clk_sccg_pll2_check_match()
1190 u32 new_diff; in check_clock() local1194 new_diff = abs((u32)new_rate - rate); in check_clock()1196 if (new_diff < *best_diff) { in check_clock()1198 *best_diff = new_diff; in check_clock()1201 return new_diff; in check_clock()