Searched refs:now_ts (Results 1 – 3 of 3) sorted by relevance
366 struct timespec now_ts; in rcv_tstamp() local394 ret = clock_gettime(CLOCK_REALTIME, &now_ts); in rcv_tstamp()396 now_ns = now_ts.tv_sec * NSEC_PER_SEC + now_ts.tv_nsec; in rcv_tstamp()407 struct timespec now_ts; in snd_tstamp() local414 ret = clock_gettime(CLOCK_TAI, &now_ts); in snd_tstamp()416 now_ns = now_ts.tv_sec * NSEC_PER_SEC + now_ts.tv_nsec; in snd_tstamp()
726 struct timespec64 base_time_ts, now_ts; in sja1105_tas_state_machine() local773 now_ts = ns_to_timespec64(now); in sja1105_tas_state_machine()777 now_ts.tv_sec, now_ts.tv_nsec); in sja1105_tas_state_machine()
1816 ktime_t now_ts = ktime_get_boottime(); in resp_start_stop() local1818 if (ktime_to_ns(now_ts) > ktime_to_ns(devip->create_ts)) { in resp_start_stop()1819 u64 diff_ns = ktime_to_ns(ktime_sub(now_ts, devip->create_ts)); in resp_start_stop()7453 ktime_t now_ts = ktime_get_boottime(); in resp_not_ready() local7458 if (ktime_to_ns(now_ts) > ktime_to_ns(devip->create_ts)) { in resp_not_ready()7459 diff_ns = ktime_to_ns(ktime_sub(now_ts, devip->create_ts)); in resp_not_ready()