Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/microchip/
Dlan743x_ptp.c183 s64 time_step_ns);
737 s64 time_step_ns) in lan743x_ptp_clock_step() argument
747 if (time_step_ns > 15000000000LL) { in lan743x_ptp_clock_step()
751 unsigned_seconds += div_u64_rem(time_step_ns, 1000000000LL, in lan743x_ptp_clock_step()
761 } else if (time_step_ns < -15000000000LL) { in lan743x_ptp_clock_step()
763 time_step_ns = -time_step_ns; in lan743x_ptp_clock_step()
767 unsigned_seconds -= div_u64_rem(time_step_ns, 1000000000LL, in lan743x_ptp_clock_step()
781 if (time_step_ns >= 0) { in lan743x_ptp_clock_step()
782 abs_time_step_ns = (u64)(time_step_ns); in lan743x_ptp_clock_step()
787 abs_time_step_ns = (u64)(-time_step_ns); in lan743x_ptp_clock_step()