Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/qlogic/qed/
Dqed_ptp.c256 s64 best_val = 0, val, best_period = 0, period, approx_dev, dif, dif2; in qed_ptp_hw_adjfreq() local
303 best_period = period; in qed_ptp_hw_adjfreq()
313 best_period = 0xee6b27f; in qed_ptp_hw_adjfreq()
316 best_period = 0xFFFFFFF; in qed_ptp_hw_adjfreq()
319 drift_ctr_cfg = (best_period << QED_DRIFT_CNTR_TIME_QUANTA_SHIFT) | in qed_ptp_hw_adjfreq()
/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c13687 int best_val, int best_period) in bnx2x_send_update_drift_ramrod() argument
13706 set_timesync_params->drift_adjust_period = best_period; in bnx2x_send_update_drift_ramrod()
13717 int best_dif = BNX2X_MAX_PHC_DRIFT, best_period = 0, best_val = 0; in bnx2x_ptp_adjfreq() local
13734 best_period = 0x1FFFFFF; in bnx2x_ptp_adjfreq()
13737 best_period = 1; in bnx2x_ptp_adjfreq()
13761 best_period = period; in bnx2x_ptp_adjfreq()
13767 best_period); in bnx2x_ptp_adjfreq()
13774 best_period); in bnx2x_ptp_adjfreq()