Searched refs:new_diff (Results 1 – 2 of 2) sorted by relevance
130 u64 diff = 0, new_diff; in iwl_mvm_phc_get_crosstimestamp_loop() local138 new_diff = tmp_sys_time - ((u64)tmp_gp2 * NSEC_PER_USEC); in iwl_mvm_phc_get_crosstimestamp_loop()139 if (!diff || new_diff < diff) { in iwl_mvm_phc_get_crosstimestamp_loop()142 diff = new_diff; in iwl_mvm_phc_get_crosstimestamp_loop()
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()