Searched refs:nanosecond (Results 1 – 11 of 11) sorted by relevance
167 buffer[6] = (ts -> nanosecond >> 24) & 0xFF; in fill_timestamp()168 buffer[7] = (ts -> nanosecond >> 16) & 0xFF; in fill_timestamp()169 buffer[8] = (ts -> nanosecond >> 8) & 0xFF; in fill_timestamp()170 buffer[9] = ts -> nanosecond & 0xFF; in fill_timestamp()332 long long nanosecond; in calibrate_timestamp() local357 (test_ts -> follow_up.nanosecond == 0)) in calibrate_timestamp()394 …nanosecond = (carry + ((long long)test_ts -> delay_response.nanosecond + (long long)test_ts -> del… in calibrate_timestamp()395 … ((long long)test_ts -> sync_received.nanosecond - (long long)t1 -> nanosecond)) / 2; in calibrate_timestamp()398 while (nanosecond >= NANOSECONDS_PER_SEC) in calibrate_timestamp()400 nanosecond -= NANOSECONDS_PER_SEC; in calibrate_timestamp()[all …]
149 synced_time.nanosecond); in ptp_event_callback()152 date.nanosecond); in ptp_event_callback()185 expected_time.nanosecond = (delay_response_ts.nanosecond + follow_up_ts.nanosecond) / 2; in ntest_0_entry()206 ASSERT_TRUE(ts_diff.nanosecond / 1000000 <= 1000 / NX_PTP_CLIENT_TIMER_TICKS_PER_SECOND); in ntest_0_entry()
153 synced_time.nanosecond); in ptp_event_callback()156 date.nanosecond); in ptp_event_callback()198 expected_time.nanosecond = (delay_response_ts.nanosecond + follow_up_ts.nanosecond) / 2; in ntest_0_entry()219 ASSERT_TRUE(ts_diff.nanosecond / 1000000 <= 1000 / NX_PTP_CLIENT_TIMER_TICKS_PER_SECOND); in ntest_0_entry()
149 synced_time.nanosecond); in ptp_event_callback()152 date.nanosecond); in ptp_event_callback()185 expected_time.nanosecond = (delay_response_ts.nanosecond + sync_ts.nanosecond) / 2; in ntest_0_entry()206 ASSERT_TRUE(ts_diff.nanosecond / 1000000 <= 1000 / NX_PTP_CLIENT_TIMER_TICKS_PER_SECOND); in ntest_0_entry()
155 synced_time.nanosecond); in ptp_event_callback()158 date.nanosecond); in ptp_event_callback()197 expected_time.nanosecond = (delay_response_ts.nanosecond + follow_up_ts.nanosecond) / 2; in ntest_0_entry()
176 synced_time.nanosecond); in ptp_event_callback()179 date.nanosecond); in ptp_event_callback()213 expected_time.nanosecond = (delay_response_ts.nanosecond + follow_up_ts.nanosecond) / 2; in ntest_0_entry()244 ASSERT_TRUE(ts_diff.nanosecond / 1000000 <= 1000 / NX_PTP_CLIENT_TIMER_TICKS_PER_SECOND); in ntest_0_entry()
153 synced_time.nanosecond); in ptp_event_callback()156 date.nanosecond); in ptp_event_callback()187 expected_time.nanosecond = (delay_response_ts.nanosecond + follow_up_ts.nanosecond) / 2; in ntest_0_entry()
226 synced_time.nanosecond); in ptp_event_callback()229 date.nanosecond); in ptp_event_callback()
232 (ts).nanosecond = 0; \236 (ts1).nanosecond = (ts2).nanosecond; \240 (ts1).nanosecond == (ts2).nanosecond)283 ULONG nanoseconds = (ULONG)time_ptr -> nanosecond; in _nx_ptp_msg_parse_timestamp()288 time_ptr -> nanosecond = (LONG)nanoseconds; in _nx_ptp_msg_parse_timestamp()645 client_ptr -> nx_ptp_client_soft_clock.nanosecond += offset_ns; in _nx_ptp_client_soft_clock_adjust()646 if (client_ptr -> nx_ptp_client_soft_clock.nanosecond >= NX_PTP_NANOSECONDS_PER_SEC) in _nx_ptp_client_soft_clock_adjust()648 client_ptr -> nx_ptp_client_soft_clock.nanosecond -= NX_PTP_NANOSECONDS_PER_SEC; in _nx_ptp_client_soft_clock_adjust()652 else if (client_ptr -> nx_ptp_client_soft_clock.nanosecond < 0) in _nx_ptp_client_soft_clock_adjust()654 client_ptr -> nx_ptp_client_soft_clock.nanosecond += NX_PTP_NANOSECONDS_PER_SEC; in _nx_ptp_client_soft_clock_adjust()[all …]
266 LONG nanosecond; member282 ULONG nanosecond; member
212 …%09lu\r\n", date.day, date.month, date.year, date.hour, date.minute, date.second, date.nanosecond); in thread_0_entry()