Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/pps/
Dkapi.c164 struct pps_ktime ts_real = { .sec = 0, .nsec = 0, .flags = 0 }; in pps_event() local
170 (s64)ts->ts_real.tv_sec, ts->ts_real.tv_nsec); in pps_event()
172 timespec_to_pps_ktime(&ts_real, ts->ts_real); in pps_event()
185 pps_add_offset(&ts_real, in pps_event()
189 pps->assert_tu = ts_real; in pps_event()
199 pps_add_offset(&ts_real, in pps_event()
203 pps->clear_tu = ts_real; in pps_event()
Dkc.c107 hardpps(&ts->ts_real, &ts->ts_raw); in pps_kc_event()
/Linux-v5.4/include/linux/
Dpps_kernel.h39 struct timespec64 ts_real; member
105 ts->ts_real = ktime_to_timespec64(snap.real); in pps_get_ts()
114 ts->ts_real = timespec64_sub(ts->ts_real, delta); in pps_sub_ts()
/Linux-v5.4/drivers/net/ethernet/sfc/
Dptp.c833 limit = now.ts_real; in efx_ptp_send_times()
837 while ((timespec64_compare(&now.ts_real, &limit) < 0) && in efx_ptp_send_times()
843 update_time = now.ts_real; in efx_ptp_send_times()
847 } while ((timespec64_compare(&now.ts_real, &update_time) < 0) && in efx_ptp_send_times()
851 host_time = (now.ts_real.tv_sec << MC_NANOSECOND_BITS | in efx_ptp_send_times()
852 now.ts_real.tv_nsec); in efx_ptp_send_times()
963 last_sec = last_time->ts_real.tv_sec & MC_SECOND_MASK; in efx_ptp_process_times()
972 last_time->ts_real.tv_nsec - in efx_ptp_process_times()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.c484 ptp_event.pps_times.ts_real = in mlx5_pps_event()