Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c13716 int val, period, period1, period2, dif, dif1, dif2; in bnx2x_ptp_adjfreq() local
13746 period2 = period1 + 1; in bnx2x_ptp_adjfreq()
13753 dif2 = ppb - (val * 1000000 / period2); in bnx2x_ptp_adjfreq()
13757 period = (dif1 < dif2) ? period1 : period2; in bnx2x_ptp_adjfreq()