Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c13679 int val, period, period1, period2, dif, dif1, dif2; in bnx2x_ptp_adjfreq() local
13708 period1 = val * 1000000 / ppb; in bnx2x_ptp_adjfreq()
13709 period2 = period1 + 1; in bnx2x_ptp_adjfreq()
13710 if (period1 != 0) in bnx2x_ptp_adjfreq()
13711 dif1 = ppb - (val * 1000000 / period1); in bnx2x_ptp_adjfreq()
13720 period = (dif1 < dif2) ? period1 : period2; in bnx2x_ptp_adjfreq()