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/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dclock.c330 struct system_time_snapshot history_begin = {0}; in mlx5_ptp_getcrosststamp() local
342 ktime_get_snapshot(&history_begin); in mlx5_ptp_getcrosststamp()
345 &history_begin, cts); in mlx5_ptp_getcrosststamp()
356 struct system_time_snapshot history_begin = {0}; in mlx5_ptp_getcrosscycles() local
368 ktime_get_snapshot(&history_begin); in mlx5_ptp_getcrosscycles()
371 mdev, &history_begin, cts); in mlx5_ptp_getcrosscycles()
/linux/kernel/time/
H A Dtimekeeping.c1309 struct system_time_snapshot *history_begin, in get_device_system_crosststamp() argument
1382 if (!history_begin || in get_device_system_crosststamp()
1383 !timestamp_in_interval(history_begin->cycles, in get_device_system_crosststamp()
1385 history_begin->cs_was_changed_seq != cs_was_changed_seq) in get_device_system_crosststamp()
1388 total_history_cycles = cycles - history_begin->cycles; in get_device_system_crosststamp()
1390 history_begin->clock_was_set_seq != clock_was_set_seq; in get_device_system_crosststamp()
1392 ret = adjust_historical_crosststamp(history_begin, in get_device_system_crosststamp()