Searched refs:time_counter (Results 1 - 5 of 5) sorted by relevance
/linux-master/drivers/net/ethernet/cavium/common/ |
H A D | cavium_ptp.h | 15 /* 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 D | cavium_ptp.c | 147 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 D | otx2_ptp.c | 237 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 D | otx2_common.h | 321 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 D | bnx2x_main.c | 10856 int time_counter = 10; local 10920 } while (--time_counter); 10922 if (!time_counter || rc) {
|
Completed in 148 milliseconds