Home
last modified time | relevance | path

Searched refs:next_sec_in_nsec (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.c128 u64 next_sec, next_sec_in_nsec, cycles; in mlxsw_sp1_ptp_phc_settime() local
134 next_sec_in_nsec = next_sec * NSEC_PER_SEC; in mlxsw_sp1_ptp_phc_settime()
137 cycles = mlxsw_sp1_ptp_ns2cycles(&clock->tc, next_sec_in_nsec); in mlxsw_sp1_ptp_phc_settime()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.c166 u64 next_sec, next_sec_in_nsec, cycles; in mlxsw_sp1_ptp_phc_settime() local
172 next_sec_in_nsec = next_sec * NSEC_PER_SEC; in mlxsw_sp1_ptp_phc_settime()
175 cycles = mlxsw_sp1_ptp_ns2cycles(&clock->tc, next_sec_in_nsec); in mlxsw_sp1_ptp_phc_settime()

Completed in 6 milliseconds