Searched refs:time_counter (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_ptp.c | 69 timecounter_adjtime(&ptp->time_counter, delta); in otx2_ptp_adjtime() 84 nsec = timecounter_read(&ptp->time_counter); in otx2_ptp_gettime() 103 timecounter_init(&ptp->time_counter, &ptp->cycle_counter, nsec); in otx2_ptp_settime() 153 timecounter_init(&ptp_ptr->time_counter, &ptp_ptr->cycle_counter, in otx2_ptp_init() 209 *tsns = timecounter_cyc2time(&pfvf->ptp->time_counter, tstamp); in otx2_ptp_tstamp2time()
|
D | otx2_common.h | 224 struct timecounter time_counter; member
|
/Linux-v5.10/drivers/net/ethernet/cavium/common/ |
D | cavium_ptp.h | 18 struct timecounter time_counter; member 38 ret = timecounter_cyc2time(&ptp->time_counter, tstamp); in cavium_ptp_tstamp2time()
|
D | cavium_ptp.c | 147 timecounter_adjtime(&clock->time_counter, delta); in cavium_ptp_adjtime() 170 nsec = timecounter_read(&clock->time_counter); in cavium_ptp_gettime() 194 timecounter_init(&clock->time_counter, &clock->cycle_counter, nsec); in cavium_ptp_settime() 256 timecounter_init(&clock->time_counter, &clock->cycle_counter, in cavium_ptp_probe()
|
/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 10844 int time_counter = 10; in bnx2x_prev_unload() local 10908 } while (--time_counter); in bnx2x_prev_unload() 10910 if (!time_counter || rc) { in bnx2x_prev_unload()
|