Home
last modified time | relevance | path

Searched refs:new_diff (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dptp.c130 u64 diff = 0, new_diff; in iwl_mvm_phc_get_crosstimestamp_loop() local
138 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()
/openbmc/linux/drivers/clk/imx/
H A Dclk-sscg-pll.c115 int new_diff = temp_setup->fout - temp_setup->fout_request; in clk_sscg_pll2_check_match() local
118 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()
/openbmc/linux/drivers/net/wan/
H A Dixp4xx_hss.c1236 u32 new_diff; in check_clock() local
1240 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()