Home
last modified time | relevance | path

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

/linux/drivers/virtio/
H A Dvirtio_rtc_ptp.c129 struct system_time_snapshot history_begin; in viortc_ptp_getcrosststamp() local
142 ktime_get_snapshot(&history_begin); in viortc_ptp_getcrosststamp()
143 if (history_begin.cs_id != cs_id) in viortc_ptp_getcrosststamp()
159 &history_begin, xtstamp); in viortc_ptp_getcrosststamp()
/linux/kernel/time/
H A Dtimekeeping.c1292 * @history_begin: Historical reference point used to interpolate system
1303 struct system_time_snapshot *history_begin, in get_device_system_crosststamp() argument
1376 if (!history_begin || in get_device_system_crosststamp()
1377 !timestamp_in_interval(history_begin->cycles, in get_device_system_crosststamp()
1379 history_begin->cs_was_changed_seq != cs_was_changed_seq) in get_device_system_crosststamp()
1382 total_history_cycles = cycles - history_begin->cycles; in get_device_system_crosststamp()
1384 history_begin->clock_was_set_seq != clock_was_set_seq; in get_device_system_crosststamp()
1386 ret = adjust_historical_crosststamp(history_begin, in get_device_system_crosststamp()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dclock.c298 struct system_time_snapshot history_begin = {0}; in mlx5_ptp_getcrosststamp() local
310 ktime_get_snapshot(&history_begin); in mlx5_ptp_getcrosststamp()
313 &history_begin, cts); in mlx5_ptp_getcrosststamp()