Searched refs:start_ns (Results 1 – 4 of 4) sorted by relevance
62 long long start_ns, end_ns; in diff_timespec() local64 start_ns = ts_to_nsec(start); in diff_timespec()66 return end_ns - start_ns; in diff_timespec()
61 long long start_ns, end_ns; in diff_timespec() local63 start_ns = ts_to_nsec(start); in diff_timespec()66 return end_ns - start_ns; in diff_timespec()
219 u64 start_ns; in ravb_ptp_perout() local222 start_ns = req->start.sec * NSEC_PER_SEC + req->start.nsec; in ravb_ptp_perout()225 if (start_ns > U32_MAX) { in ravb_ptp_perout()240 perout->target = (u32)start_ns; in ravb_ptp_perout()242 error = ravb_ptp_update_compare(priv, (u32)start_ns); in ravb_ptp_perout()
866 unsigned start_ns, end_ns; in efx_ptp_read_timeset() local875 start_ns = timeset->host_start & MC_NANOSECOND_MASK; in efx_ptp_read_timeset()878 if (end_ns < start_ns) in efx_ptp_read_timeset()881 timeset->window = end_ns - start_ns; in efx_ptp_read_timeset()