Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/microchip/
Dlan743x_ptp.c197 s64 time_step_ns);
1243 s64 time_step_ns) in lan743x_ptp_clock_step() argument
1253 if (time_step_ns > 15000000000LL) { in lan743x_ptp_clock_step()
1261 unsigned_seconds += div_u64_rem(time_step_ns, 1000000000LL, in lan743x_ptp_clock_step()
1271 } else if (time_step_ns < -15000000000LL) { in lan743x_ptp_clock_step()
1273 time_step_ns = -time_step_ns; in lan743x_ptp_clock_step()
1282 unsigned_seconds -= div_u64_rem(time_step_ns, 1000000000LL, in lan743x_ptp_clock_step()
1296 if (time_step_ns >= 0) { in lan743x_ptp_clock_step()
1297 abs_time_step_ns = (u64)(time_step_ns); in lan743x_ptp_clock_step()
1302 abs_time_step_ns = (u64)(-time_step_ns); in lan743x_ptp_clock_step()
/Linux-v6.6/drivers/net/phy/
Dmicrel.c2629 s64 time_step_ns) in lan8814_ptp_clock_step() argument
2638 if (time_step_ns > 15000000000LL) { in lan8814_ptp_clock_step()
2641 unsigned_seconds += div_u64_rem(time_step_ns, 1000000000LL, in lan8814_ptp_clock_step()
2650 } else if (time_step_ns < -15000000000LL) { in lan8814_ptp_clock_step()
2652 time_step_ns = -time_step_ns; in lan8814_ptp_clock_step()
2655 unsigned_seconds -= div_u64_rem(time_step_ns, 1000000000LL, in lan8814_ptp_clock_step()
2669 if (time_step_ns >= 0) { in lan8814_ptp_clock_step()
2670 abs_time_step_ns = (u64)time_step_ns; in lan8814_ptp_clock_step()
2675 abs_time_step_ns = (u64)(-time_step_ns); in lan8814_ptp_clock_step()