Home
last modified time | relevance | path

Searched refs:best_dif (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_ptp.c292 s64 best_dif = ppb, best_approx_dev = 1; in qed_ptp_hw_adjfreq() local
324 if (best_dif * approx_dev > dif * best_approx_dev) { in qed_ptp_hw_adjfreq()
325 best_dif = dif; in qed_ptp_hw_adjfreq()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c13786 int best_dif = BNX2X_MAX_PHC_DRIFT, best_period = 0, best_val = 0; in bnx2x_ptp_adjfreq() local
13827 if (dif < best_dif) { in bnx2x_ptp_adjfreq()
13828 best_dif = dif; in bnx2x_ptp_adjfreq()