Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/microchip/
Dlan743x_ptp.c180 s64 time_step_ns);
653 s64 time_step_ns) in lan743x_ptp_clock_step() argument
663 if (time_step_ns > 15000000000LL) { in lan743x_ptp_clock_step()
667 unsigned_seconds += div_u64_rem(time_step_ns, 1000000000LL, in lan743x_ptp_clock_step()
677 } else if (time_step_ns < -15000000000LL) { in lan743x_ptp_clock_step()
679 time_step_ns = -time_step_ns; in lan743x_ptp_clock_step()
683 unsigned_seconds -= div_u64_rem(time_step_ns, 1000000000LL, in lan743x_ptp_clock_step()
697 if (time_step_ns >= 0) { in lan743x_ptp_clock_step()
698 abs_time_step_ns = (u64)(time_step_ns); in lan743x_ptp_clock_step()
703 abs_time_step_ns = (u64)(-time_step_ns); in lan743x_ptp_clock_step()