Home
last modified time | relevance | path

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

/NetX-Duo-v6.2.1/test/regression/ptp_test/
Dnetx_ptp_utility.c163 buffer[2] = (ts -> second_low >> 24) & 0xFF; in fill_timestamp()
164 buffer[3] = (ts -> second_low >> 16) & 0xFF; in fill_timestamp()
165 buffer[4] = (ts -> second_low >> 8) & 0xFF; in fill_timestamp()
166 buffer[5] = ts -> second_low & 0xFF; in fill_timestamp()
330 ULONG64 second_low; in calibrate_timestamp() local
356 (test_ts -> follow_up.second_low == 0) && in calibrate_timestamp()
382second_low = carry + ((ULONG64)test_ts -> delay_response.second_low + (ULONG64)test_ts -> delay_re… in calibrate_timestamp()
383 ((ULONG64)test_ts -> sync_received.second_low - (ULONG64)t1 -> second_low); in calibrate_timestamp()
384 if (second_low & 1) in calibrate_timestamp()
392 second_low /= 2; in calibrate_timestamp()
[all …]
Dnetx_ptp_client_basic_test.c148 synced_time.second_low, in ptp_event_callback()
184 expected_time.second_low = (delay_response_ts.second_low + follow_up_ts.second_low) / 2; in ntest_0_entry()
205 ASSERT_TRUE(ts_diff.second_low == 0); in ntest_0_entry()
Dnetx_ptp_client_ipv6_test.c152 synced_time.second_low, in ptp_event_callback()
197 expected_time.second_low = (delay_response_ts.second_low + follow_up_ts.second_low) / 2; in ntest_0_entry()
218 ASSERT_TRUE(ts_diff.second_low == 0); in ntest_0_entry()
Dnetx_ptp_client_two_steps_off_test.c148 synced_time.second_low, in ptp_event_callback()
184 expected_time.second_low = (delay_response_ts.second_low + sync_ts.second_low) / 2; in ntest_0_entry()
205 ASSERT_TRUE(ts_diff.second_low == 0); in ntest_0_entry()
Dnetx_ptp_client_api_test.c175 synced_time.second_low, in ptp_event_callback()
212 expected_time.second_low = (delay_response_ts.second_low + follow_up_ts.second_low) / 2; in ntest_0_entry()
243 ASSERT_TRUE(ts_diff.second_low == 0); in ntest_0_entry()
Dnetx_ptp_client_announce_timeout_test.c154 synced_time.second_low, in ptp_event_callback()
196 expected_time.second_low = (delay_response_ts.second_low + follow_up_ts.second_low) / 2; in ntest_0_entry()
Dnetx_ptp_client_master_selection_test.c152 synced_time.second_low, in ptp_event_callback()
186 expected_time.second_low = (delay_response_ts.second_low + follow_up_ts.second_low) / 2; in ntest_0_entry()
Dnetx_ptp_client_calibrate_test.c225 synced_time.second_low, in ptp_event_callback()
/NetX-Duo-v6.2.1/addons/ptp/
Dnxd_ptp_client.c231 (ts).second_low = 0; \
235 (ts1).second_low = (ts2).second_low; \
239 (ts1).second_low == (ts2).second_low && \
286 NX_PTP_RD32(ptr, time_ptr -> second_low); in _nx_ptp_msg_parse_timestamp()
650 &client_ptr -> nx_ptp_client_soft_clock.second_low); in _nx_ptp_client_soft_clock_adjust()
656 &client_ptr -> nx_ptp_client_soft_clock.second_low); 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.h263 ULONG second_low; member
/NetX-Duo-v6.2.1/common/inc/
Dnx_link.h106 ULONG second_low; member
/NetX-Duo-v6.2.1/common/src/
Dnx_link.c1235 ((ULONG *)packet_ptr -> nx_packet_data_start)[1] = time_ptr -> second_low; in nx_link_ethernet_packet_received()
1287 ((ULONG *)packet_ptr -> nx_packet_data_start)[1] = time_ptr -> second_low; in nx_link_ethernet_packet_received()