Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ptp.c36 struct otx2_ptp *ptp = container_of(cc, struct otx2_ptp, cycle_counter); in ptp_cc_read()
103 timecounter_init(&ptp->time_counter, &ptp->cycle_counter, nsec); in otx2_ptp_settime()
147 cc = &ptp_ptr->cycle_counter; in otx2_ptp_init()
153 timecounter_init(&ptp_ptr->time_counter, &ptp_ptr->cycle_counter, in otx2_ptp_init()
Dotx2_common.h223 struct cyclecounter cycle_counter; member
/Linux-v5.10/drivers/net/ethernet/cavium/common/
Dcavium_ptp.c194 timecounter_init(&clock->time_counter, &clock->cycle_counter, nsec); in cavium_ptp_settime()
215 container_of(cc, struct cavium_ptp, cycle_counter); in cavium_ptp_cc_read()
250 cc = &clock->cycle_counter; in cavium_ptp_probe()
256 timecounter_init(&clock->time_counter, &clock->cycle_counter, in cavium_ptp_probe()
Dcavium_ptp.h17 struct cyclecounter cycle_counter; member