Home
last modified time | relevance | path

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

/linux-4.4.14/tools/testing/selftests/timers/
Draw_skew.c74 long long start_ns, end_ns; in diff_timespec() local
77 end_ns = ts_to_nsec(end); in diff_timespec()
78 return end_ns - start_ns; in diff_timespec()
Dadjtick.c72 long long start_ns, end_ns; in diff_timespec() local
75 end_ns = ts_to_nsec(end); in diff_timespec()
77 return end_ns - start_ns; in diff_timespec()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dptp.c686 unsigned start_ns, end_ns; in efx_ptp_read_timeset() local
696 end_ns = timeset->host_end & MC_NANOSECOND_MASK; in efx_ptp_read_timeset()
698 if (end_ns < start_ns) in efx_ptp_read_timeset()
699 end_ns += NSEC_PER_SEC; in efx_ptp_read_timeset()
701 timeset->window = end_ns - start_ns; in efx_ptp_read_timeset()