Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/
H A Docelot_vsc7514.c615 u64 tod_in_ns, full_ts_in_ns; in ocelot_xtr_irq_handler() local
682 tod_in_ns = ktime_set(ts.tv_sec, ts.tv_nsec); in ocelot_xtr_irq_handler()
683 if ((tod_in_ns & 0xffffffff) < info.timestamp) in ocelot_xtr_irq_handler()
684 full_ts_in_ns = (((tod_in_ns >> 32) - 1) << 32) | in ocelot_xtr_irq_handler()
687 full_ts_in_ns = (tod_in_ns & GENMASK_ULL(63, 32)) | in ocelot_xtr_irq_handler()
/kernel/linux/linux-6.6/drivers/net/ethernet/mscc/
H A Docelot.c1083 u64 tod_in_ns, full_ts_in_ns; in ocelot_ptp_rx_timestamp() local
1088 tod_in_ns = ktime_set(ts.tv_sec, ts.tv_nsec); in ocelot_ptp_rx_timestamp()
1089 if ((tod_in_ns & 0xffffffff) < timestamp) in ocelot_ptp_rx_timestamp()
1090 full_ts_in_ns = (((tod_in_ns >> 32) - 1) << 32) | in ocelot_ptp_rx_timestamp()
1093 full_ts_in_ns = (tod_in_ns & GENMASK_ULL(63, 32)) | in ocelot_ptp_rx_timestamp()

Completed in 6 milliseconds