Searched refs:time_ptr (Results 1 – 5 of 5) sorted by relevance
/NetX-Duo-v6.3.0/addons/ptp/ |
D | nxd_ptp_client.c | 210 static VOID _nx_ptp_msg_parse_timestamp(UCHAR *ptr, NX_PTP_TIME *time_ptr) in _nx_ptp_msg_parse_timestamp() argument 212 ULONG nanoseconds = (ULONG)time_ptr -> nanosecond; in _nx_ptp_msg_parse_timestamp() 214 NX_PTP_RD16(ptr, time_ptr -> second_high); in _nx_ptp_msg_parse_timestamp() 215 NX_PTP_RD32(ptr, time_ptr -> second_low); in _nx_ptp_msg_parse_timestamp() 217 time_ptr -> nanosecond = (LONG)nanoseconds; in _nx_ptp_msg_parse_timestamp() 2359 UINT _nxe_ptp_client_time_get(NX_PTP_CLIENT *client_ptr, NX_PTP_TIME *time_ptr) in _nxe_ptp_client_time_get() argument 2363 if ((client_ptr == NX_NULL) || (time_ptr == NX_NULL)) in _nxe_ptp_client_time_get() 2374 return(_nx_ptp_client_time_get(client_ptr, time_ptr)); in _nxe_ptp_client_time_get() 2416 UINT _nx_ptp_client_time_get(NX_PTP_CLIENT *client_ptr, NX_PTP_TIME *time_ptr) in _nx_ptp_client_time_get() argument 2421 time_ptr, NX_NULL, in _nx_ptp_client_time_get() [all …]
|
D | nxd_ptp_client.h | 190 … NX_PTP_TIME *time_ptr, NX_PACKET *packet_ptr, VOID *callback_data); 433 UINT _nx_ptp_client_time_get(NX_PTP_CLIENT *client_ptr, NX_PTP_TIME *time_ptr); 434 UINT _nx_ptp_client_time_set(NX_PTP_CLIENT *client_ptr, NX_PTP_TIME *time_ptr); 441 UINT _nx_ptp_client_utility_convert_time_to_date(NX_PTP_TIME *time_ptr, LONG offset, NX_PTP_DATE_TI… 444 NX_PTP_TIME *time_ptr, NX_PACKET *packet_ptr, 455 UINT _nxe_ptp_client_time_get(NX_PTP_CLIENT *client_ptr, NX_PTP_TIME *time_ptr); 456 UINT _nxe_ptp_client_time_set(NX_PTP_CLIENT *client_ptr, NX_PTP_TIME *time_ptr); 463 UINT _nxe_ptp_client_utility_convert_time_to_date(NX_PTP_TIME *time_ptr, LONG offset, NX_PTP_DATE_T… 468 VOID _nx_ptp_client_utility_time_div_by_2(NX_PTP_TIME *time_ptr);
|
/NetX-Duo-v6.3.0/samples/ |
D | demo_netx_duo_ptp_client.c | 76 NX_PTP_TIME *time_ptr, NX_PACKET *packet_ptr,
|
/NetX-Duo-v6.3.0/addons/sntp/ |
D | nxd_sntp_client.c | 4358 UINT _nx_sntp_client_utility_convert_time_to_UCHAR(NX_SNTP_TIME *time_ptr, in _nx_sntp_client_utility_convert_time_to_UCHAR() argument 4390 *(buffer) = time_ptr -> seconds; in _nx_sntp_client_utility_convert_time_to_UCHAR() 4391 *(buffer + 1) = time_ptr -> fraction; in _nx_sntp_client_utility_convert_time_to_UCHAR() 5842 UINT _nx_sntp_client_utility_convert_fraction_to_msecs(ULONG *milliseconds, NX_SNTP_TIME *time_ptr) in _nx_sntp_client_utility_convert_fraction_to_msecs() argument 5849 _nx_sntp_client_utility_fraction_to_usecs(time_ptr ->fraction, &usecs); in _nx_sntp_client_utility_convert_fraction_to_msecs()
|
D | nxd_sntp_client.h | 765 … _nx_sntp_client_utility_convert_fraction_to_msecs(ULONG *milliseconds, NX_SNTP_TIME *time_ptr);
|