Home
last modified time | relevance | path

Searched refs:second_high (Results 1 – 12 of 12) sorted by relevance

/NetX-Duo-v6.2.1/test/regression/ptp_test/
Dnetx_ptp_utility.c161 buffer[0] = (ts -> second_high >> 8) & 0xFF; in fill_timestamp()
162 buffer[1] = ts -> second_high & 0xFF; in fill_timestamp()
355 if ((test_ts -> follow_up.second_high == 0) && in calibrate_timestamp()
370 …ts -> second_high = (test_ts -> delay_response.second_high + test_ts -> delay_request.second_high)… in calibrate_timestamp()
371 (test_ts -> sync_received.second_high - t1 -> second_high); in calibrate_timestamp()
372 if (ts -> second_high & 1) in calibrate_timestamp()
380 ts -> second_high /= 2; in calibrate_timestamp()
409 ts -> second_high--; in calibrate_timestamp()
422 ts -> second_high++; in calibrate_timestamp()
488 ptp_timestamp.second_high++; in _netx_ptp_clock_callback()
[all …]
Dnetx_ptp_client_basic_test.c147 DBGPRINTF("ts: %d%d.%d\r\n", synced_time.second_high, in ptp_event_callback()
183 expected_time.second_high = (delay_response_ts.second_high + follow_up_ts.second_high) / 2; in ntest_0_entry()
204 ASSERT_TRUE(ts_diff.second_high == 0); in ntest_0_entry()
Dnetx_ptp_client_ipv6_test.c151 DBGPRINTF("ts: %d%d.%d\r\n", synced_time.second_high, in ptp_event_callback()
196 expected_time.second_high = (delay_response_ts.second_high + follow_up_ts.second_high) / 2; in ntest_0_entry()
217 ASSERT_TRUE(ts_diff.second_high == 0); in ntest_0_entry()
Dnetx_ptp_client_two_steps_off_test.c147 DBGPRINTF("ts: %d%d.%d\r\n", synced_time.second_high, in ptp_event_callback()
183 expected_time.second_high = (delay_response_ts.second_high + sync_ts.second_high) / 2; in ntest_0_entry()
204 ASSERT_TRUE(ts_diff.second_high == 0); in ntest_0_entry()
Dnetx_ptp_client_api_test.c174 DBGPRINTF("ts: %d%d.%d\r\n", synced_time.second_high, in ptp_event_callback()
211 expected_time.second_high = (delay_response_ts.second_high + follow_up_ts.second_high) / 2; in ntest_0_entry()
242 ASSERT_TRUE(ts_diff.second_high == 0); in ntest_0_entry()
Dnetx_ptp_client_announce_timeout_test.c153 DBGPRINTF("ts: %d%d.%d\r\n", synced_time.second_high, in ptp_event_callback()
195 expected_time.second_high = (delay_response_ts.second_high + follow_up_ts.second_high) / 2; in ntest_0_entry()
Dnetx_ptp_client_master_selection_test.c151 DBGPRINTF("ts: %d%d.%d\r\n", synced_time.second_high, in ptp_event_callback()
185 expected_time.second_high = (delay_response_ts.second_high + follow_up_ts.second_high) / 2; in ntest_0_entry()
Dnetx_ptp_client_calibrate_test.c224 DBGPRINTF("ts: %d%d.%d\r\n", synced_time.second_high, in ptp_event_callback()
/NetX-Duo-v6.2.1/addons/ptp/
Dnxd_ptp_client.c230 #define NX_PTP_TS_RESET(ts) (ts).second_high = 0; \
234 #define NX_PTP_TS_COPY(ts1, ts2) (ts1).second_high = (ts2).second_high; \
238 #define NX_PTP_TS_EQUAL(ts1, ts2) ((ts1).second_high == (ts2).second_high && \
285 NX_PTP_RD16(ptr, time_ptr -> second_high); in _nx_ptp_msg_parse_timestamp()
649 _nx_ptp_client_utility_inc64(&client_ptr -> nx_ptp_client_soft_clock.second_high, in _nx_ptp_client_soft_clock_adjust()
655 _nx_ptp_client_utility_dec64(&client_ptr -> nx_ptp_client_soft_clock.second_high, in _nx_ptp_client_soft_clock_adjust()
904 if ((offset_ptr -> second_high == 0) && (offset_ptr -> second_low == 0)) in _nx_ptp_client_clock_adjust()
927 _nx_ptp_client_utility_dec64(&current.second_high, &current.second_low); in _nx_ptp_client_clock_adjust()
932 _nx_ptp_client_utility_inc64(&current.second_high, &current.second_low); in _nx_ptp_client_clock_adjust()
936 _nx_ptp_client_utility_add64(&current.second_high, &current.second_low, in _nx_ptp_client_clock_adjust()
[all …]
Dnxd_ptp_client.h260 LONG second_high; member
/NetX-Duo-v6.2.1/common/inc/
Dnx_link.h105 ULONG second_high; member
/NetX-Duo-v6.2.1/common/src/
Dnx_link.c1236 ((ULONG *)packet_ptr -> nx_packet_data_start)[2] = time_ptr -> second_high; in nx_link_ethernet_packet_received()
1288 ((ULONG *)packet_ptr -> nx_packet_data_start)[2] = time_ptr -> second_high; in nx_link_ethernet_packet_received()