Searched refs:unsigned_seconds (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/microchip/ |
H A D | lan743x_ptp.c | 1248 u32 unsigned_seconds = 0; in lan743x_ptp_clock_step() local 1256 lan743x_ptp_io_clock_get(adapter, &unsigned_seconds, in lan743x_ptp_clock_step() 1259 lan743x_ptp_clock_get(adapter, &unsigned_seconds, in lan743x_ptp_clock_step() 1261 unsigned_seconds += div_u64_rem(time_step_ns, 1000000000LL, in lan743x_ptp_clock_step() 1265 unsigned_seconds++; in lan743x_ptp_clock_step() 1268 lan743x_ptp_clock_set(adapter, unsigned_seconds, in lan743x_ptp_clock_step() 1276 lan743x_ptp_io_clock_get(adapter, &unsigned_seconds, in lan743x_ptp_clock_step() 1279 lan743x_ptp_clock_get(adapter, &unsigned_seconds, in lan743x_ptp_clock_step() 1282 unsigned_seconds -= div_u64_rem(time_step_ns, 1000000000LL, in lan743x_ptp_clock_step() 1286 unsigned_seconds--; in lan743x_ptp_clock_step() [all …]
|
/openbmc/linux/drivers/net/phy/ |
H A D | micrel.c | 2743 u32 unsigned_seconds; in lan8814_ptp_clock_step() local 2750 lan8814_ptp_clock_get(phydev, &unsigned_seconds, &nano_seconds); in lan8814_ptp_clock_step() 2751 unsigned_seconds += div_u64_rem(time_step_ns, 1000000000LL, in lan8814_ptp_clock_step() 2755 unsigned_seconds++; in lan8814_ptp_clock_step() 2758 lan8814_ptp_clock_set(phydev, unsigned_seconds, nano_seconds); in lan8814_ptp_clock_step() 2764 lan8814_ptp_clock_get(phydev, &unsigned_seconds, &nano_seconds); in lan8814_ptp_clock_step() 2765 unsigned_seconds -= div_u64_rem(time_step_ns, 1000000000LL, in lan8814_ptp_clock_step() 2769 unsigned_seconds--; in lan8814_ptp_clock_step() 2773 lan8814_ptp_clock_set(phydev, unsigned_seconds, in lan8814_ptp_clock_step()
|