Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/cavium/common/
Dcavium_ptp.h18 struct timecounter time_counter; member
38 ret = timecounter_cyc2time(&ptp->time_counter, tstamp); in cavium_ptp_tstamp2time()
Dcavium_ptp.c144 timecounter_adjtime(&clock->time_counter, delta); in cavium_ptp_adjtime()
167 nsec = timecounter_read(&clock->time_counter); in cavium_ptp_gettime()
191 timecounter_init(&clock->time_counter, &clock->cycle_counter, nsec); in cavium_ptp_settime()
253 timecounter_init(&clock->time_counter, &clock->cycle_counter, in cavium_ptp_probe()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c10913 int time_counter = 10; in bnx2x_prev_unload() local
10977 } while (--time_counter); in bnx2x_prev_unload()
10979 if (!time_counter || rc) { in bnx2x_prev_unload()