Searched refs:history_begin (Results 1 – 3 of 3) sorted by relevance
129 struct system_time_snapshot history_begin; in viortc_ptp_getcrosststamp() local142 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()
330 struct system_time_snapshot history_begin = {0}; in mlx5_ptp_getcrosststamp() local342 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() local368 ktime_get_snapshot(&history_begin); in mlx5_ptp_getcrosscycles()371 mdev, &history_begin, cts); in mlx5_ptp_getcrosscycles()
1309 struct system_time_snapshot *history_begin, in get_device_system_crosststamp() argument1382 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()