Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/qlogic/qed/
Dqed_ptp.c268 s64 best_dif = ppb, best_approx_dev = 1; in qed_ptp_hw_adjfreq() local
300 if (best_dif * approx_dev > dif * best_approx_dev) { in qed_ptp_hw_adjfreq()
301 best_dif = dif; in qed_ptp_hw_adjfreq()
/linux-5.19.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c13680 int best_dif = BNX2X_MAX_PHC_DRIFT, best_period = 0, best_val = 0; in bnx2x_ptp_adjfreq() local
13721 if (dif < best_dif) { in bnx2x_ptp_adjfreq()
13722 best_dif = dif; in bnx2x_ptp_adjfreq()