Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mscc/
Docelot.c978 u64 tod_in_ns, full_ts_in_ns; in ocelot_ptp_rx_timestamp() local
983 tod_in_ns = ktime_set(ts.tv_sec, ts.tv_nsec); in ocelot_ptp_rx_timestamp()
984 if ((tod_in_ns & 0xffffffff) < timestamp) in ocelot_ptp_rx_timestamp()
985 full_ts_in_ns = (((tod_in_ns >> 32) - 1) << 32) | in ocelot_ptp_rx_timestamp()
988 full_ts_in_ns = (tod_in_ns & GENMASK_ULL(63, 32)) | in ocelot_ptp_rx_timestamp()