Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/microchip/
Dlan743x_ptp.c197 s64 time_step_ns);
1284 s64 time_step_ns) in lan743x_ptp_clock_step() argument
1294 if (time_step_ns > 15000000000LL) { in lan743x_ptp_clock_step()
1302 unsigned_seconds += div_u64_rem(time_step_ns, 1000000000LL, in lan743x_ptp_clock_step()
1312 } else if (time_step_ns < -15000000000LL) { in lan743x_ptp_clock_step()
1314 time_step_ns = -time_step_ns; in lan743x_ptp_clock_step()
1323 unsigned_seconds -= div_u64_rem(time_step_ns, 1000000000LL, in lan743x_ptp_clock_step()
1337 if (time_step_ns >= 0) { in lan743x_ptp_clock_step()
1338 abs_time_step_ns = (u64)(time_step_ns); in lan743x_ptp_clock_step()
1343 abs_time_step_ns = (u64)(-time_step_ns); in lan743x_ptp_clock_step()
/Linux-v6.1/drivers/net/phy/
Dmicrel.c2429 s64 time_step_ns) in lan8814_ptp_clock_step() argument
2438 if (time_step_ns > 15000000000LL) { in lan8814_ptp_clock_step()
2441 unsigned_seconds += div_u64_rem(time_step_ns, 1000000000LL, in lan8814_ptp_clock_step()
2450 } else if (time_step_ns < -15000000000LL) { in lan8814_ptp_clock_step()
2452 time_step_ns = -time_step_ns; in lan8814_ptp_clock_step()
2455 unsigned_seconds -= div_u64_rem(time_step_ns, 1000000000LL, in lan8814_ptp_clock_step()
2469 if (time_step_ns >= 0) { in lan8814_ptp_clock_step()
2470 abs_time_step_ns = (u64)time_step_ns; in lan8814_ptp_clock_step()
2475 abs_time_step_ns = (u64)(-time_step_ns); in lan8814_ptp_clock_step()