Searched refs:time_counter (Results 1 - 5 of 5) sorted by relevance

/linux-master/drivers/net/ethernet/cavium/common/
H A Dcavium_ptp.h15 /* Serialize access to cycle_counter, time_counter and hw_registers */
18 struct timecounter time_counter; member in struct:cavium_ptp
38 ret = timecounter_cyc2time(&ptp->time_counter, tstamp);
H A Dcavium_ptp.c147 timecounter_adjtime(&clock->time_counter, delta);
170 nsec = timecounter_read(&clock->time_counter);
194 timecounter_init(&clock->time_counter, &clock->cycle_counter, nsec);
256 timecounter_init(&clock->time_counter, &clock->cycle_counter,
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ptp.c237 timecounter_adjtime(&ptp->time_counter, delta);
251 tstamp = timecounter_read(&ptp->time_counter);
268 timecounter_init(&ptp->time_counter, &ptp->cycle_counter, nsec);
288 static u64 otx2_ptp_hw_tstamp2time(const struct timecounter *time_counter, u64 tstamp) argument
308 event.timestamp = ptp->ptp_tstamp2nsec(&ptp->time_counter, tstmp);
333 ptp->tstamp = ptp->ptp_tstamp2nsec(&ptp->time_counter, tstamp);
456 timecounter_init(&ptp_ptr->time_counter, &ptp_ptr->cycle_counter,
516 *tsns = pfvf->ptp->ptp_tstamp2nsec(&pfvf->ptp->time_counter, tstamp);
H A Dotx2_common.h321 struct timecounter time_counter; member in struct:otx2_ptp
330 u64 (*ptp_tstamp2nsec)(const struct timecounter *time_counter, u64 timestamp);
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c10856 int time_counter = 10; local
10920 } while (--time_counter);
10922 if (!time_counter || rc) {

Completed in 148 milliseconds