Home
last modified time | relevance | path

Searched refs:ts (Results 1 – 3 of 3) sorted by relevance

/NetX-Duo-v6.2.1/test/regression/ptp_test/
Dnetx_ptp_utility.c159 static VOID fill_timestamp(UCHAR *buffer, NX_PTP_TIME *ts) in fill_timestamp() argument
161 buffer[0] = (ts -> second_high >> 8) & 0xFF; in fill_timestamp()
162 buffer[1] = ts -> second_high & 0xFF; in fill_timestamp()
163 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()
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()
[all …]
Dnetx_ptp_utility.h55 VOID send_sync(NX_UDP_SOCKET *socket_ptr, NX_PACKET_POOL *pool_ptr, NX_PTP_TIME *ts);
56 VOID send_follow_up(NX_UDP_SOCKET *socket_ptr, NX_PACKET_POOL *pool_ptr, NX_PTP_TIME *ts);
58 DELAY_REQUEST_CONTEXT *context, NX_PTP_TIME *ts);
64 VOID calibrate_timestamp(TEST_TIMESTAMP *test_ts, NX_PTP_TIME *ts);
/NetX-Duo-v6.2.1/addons/ptp/
Dnxd_ptp_client.c230 #define NX_PTP_TS_RESET(ts) (ts).second_high = 0; \ argument
231 (ts).second_low = 0; \
232 (ts).nanosecond = 0; \