Home
last modified time | relevance | path

Searched refs:start_ns (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/tools/testing/selftests/timers/
Draw_skew.c74 long long start_ns, end_ns; in diff_timespec() local
76 start_ns = ts_to_nsec(start); in diff_timespec()
78 return end_ns - start_ns; in diff_timespec()
Dadjtick.c72 long long start_ns, end_ns; in diff_timespec() local
74 start_ns = ts_to_nsec(start); in diff_timespec()
77 return end_ns - start_ns; in diff_timespec()
/linux-4.4.14/drivers/net/ethernet/renesas/
Dravb_ptp.c225 u64 start_ns; in ravb_ptp_perout() local
228 start_ns = req->start.sec * NSEC_PER_SEC + req->start.nsec; in ravb_ptp_perout()
231 if (start_ns > U32_MAX) { in ravb_ptp_perout()
246 perout->target = (u32)start_ns; in ravb_ptp_perout()
248 error = ravb_ptp_update_compare(priv, (u32)start_ns); in ravb_ptp_perout()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dptp.c686 unsigned start_ns, end_ns; in efx_ptp_read_timeset() local
695 start_ns = timeset->host_start & MC_NANOSECOND_MASK; in efx_ptp_read_timeset()
698 if (end_ns < start_ns) in efx_ptp_read_timeset()
701 timeset->window = end_ns - start_ns; in efx_ptp_read_timeset()