Searched refs:ptp_adjust (Results 1 – 4 of 4) sorted by relevance
35 systime += interface->ptp_adjust; in fm10k_systime_to_hwtstamp()153 interface->ptp_adjust = fm10k_systime_read(interface) - ns; in fm10k_ts_reset()285 interface->ptp_adjust += delta; in fm10k_ptp_adjtime()300 now = fm10k_systime_read(interface) + interface->ptp_adjust; in fm10k_ptp_gettime()318 interface->ptp_adjust = fm10k_systime_read(interface) - ns; in fm10k_ptp_settime()
329 s64 ptp_adjust; member
6214 tp->ptp_adjust += delta; in tg3_ptp_adjtime()6228 ns += tp->ptp_adjust; in tg3_ptp_gettime()6247 tp->ptp_adjust = 0; in tg3_ptp_settime()6333 tp->ptp_adjust); in tg3_hwclock_to_timestamp()6344 tp->ptp_adjust = 0; in tg3_ptp_init()6354 tg3_refclk_write(tp, ktime_to_ns(ktime_get_real()) + tp->ptp_adjust); in tg3_ptp_resume()6355 tp->ptp_adjust = 0; in tg3_ptp_resume()6365 tp->ptp_adjust = 0; in tg3_ptp_fini()
3174 s64 ptp_adjust; member