Home
last modified time | relevance | path

Searched refs:time_ptr (Results 1 – 14 of 14) sorted by relevance

/NetX-Duo-v6.2.1/addons/ptp/
Dnxd_ptp_client.h335 … NX_PTP_TIME *time_ptr, NX_PACKET *packet_ptr, VOID *callback_data);
715 UINT _nx_ptp_client_time_get(NX_PTP_CLIENT *client_ptr, NX_PTP_TIME *time_ptr);
716 UINT _nx_ptp_client_time_set(NX_PTP_CLIENT *client_ptr, NX_PTP_TIME *time_ptr);
724 UINT _nx_ptp_client_utility_convert_time_to_date(NX_PTP_TIME *time_ptr, LONG offset, NX_PTP_DATE_TI…
727 NX_PTP_TIME *time_ptr, NX_PACKET *packet_ptr,
743 UINT _nxe_ptp_client_time_get(NX_PTP_CLIENT *client_ptr, NX_PTP_TIME *time_ptr);
744 UINT _nxe_ptp_client_time_set(NX_PTP_CLIENT *client_ptr, NX_PTP_TIME *time_ptr);
752 UINT _nxe_ptp_client_utility_convert_time_to_date(NX_PTP_TIME *time_ptr, LONG offset, NX_PTP_DATE_T…
762 VOID _nx_ptp_client_utility_time_div_by_2(NX_PTP_TIME *time_ptr);
Dnxd_ptp_client.c281 static VOID _nx_ptp_msg_parse_timestamp(UCHAR *ptr, NX_PTP_TIME *time_ptr) in _nx_ptp_msg_parse_timestamp() argument
283 ULONG nanoseconds = (ULONG)time_ptr -> nanosecond; in _nx_ptp_msg_parse_timestamp()
285 NX_PTP_RD16(ptr, time_ptr -> second_high); in _nx_ptp_msg_parse_timestamp()
286 NX_PTP_RD32(ptr, time_ptr -> second_low); in _nx_ptp_msg_parse_timestamp()
288 time_ptr -> nanosecond = (LONG)nanoseconds; in _nx_ptp_msg_parse_timestamp()
802 struct NX_LINK_TIME_STRUCT *time_ptr) in _nx_ptp_client_ethernet_receive_notify() argument
812 NX_PARAMETER_NOT_USED(time_ptr); in _nx_ptp_client_ethernet_receive_notify()
4568 UINT _nxe_ptp_client_time_get(NX_PTP_CLIENT *client_ptr, NX_PTP_TIME *time_ptr)
4572 if ((client_ptr == NX_NULL) || (time_ptr == NX_NULL))
4583 return(_nx_ptp_client_time_get(client_ptr, time_ptr));
[all …]
/NetX-Duo-v6.2.1/common/src/
Dnx_link.c1020 …ket_transmitted(NX_IP *ip_ptr, UINT interface_index, NX_PACKET *packet_ptr, NX_LINK_TIME *time_ptr) in nx_link_packet_transmitted() argument
1024 NX_PARAMETER_NOT_USED(time_ptr); in nx_link_packet_transmitted()
1110 NX_LINK_TIME *time_ptr) in nx_link_ethernet_packet_received() argument
1232 if (time_ptr) in nx_link_ethernet_packet_received()
1234 ((ULONG *)packet_ptr -> nx_packet_data_start)[0] = time_ptr -> nano_second; in nx_link_ethernet_packet_received()
1235 ((ULONG *)packet_ptr -> nx_packet_data_start)[1] = time_ptr -> second_low; in nx_link_ethernet_packet_received()
1236 ((ULONG *)packet_ptr -> nx_packet_data_start)[2] = time_ptr -> second_high; in nx_link_ethernet_packet_received()
1284 if ((packet_type == NX_LINK_ETHERNET_PTP) && (time_ptr != NX_NULL)) in nx_link_ethernet_packet_received()
1286 ((ULONG *)packet_ptr -> nx_packet_data_start)[0] = time_ptr -> nano_second; 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()
[all …]
/NetX-Duo-v6.2.1/common/inc/
Dnx_link.h99 struct NX_LINK_TIME_STRUCT *time_ptr);
145 …et_transmitted(NX_IP *ip_ptr, UINT interface_index, NX_PACKET *packet_ptr, NX_LINK_TIME *time_ptr);
147 NX_LINK_TIME *time_ptr);
/NetX-Duo-v6.2.1/test/regression/ptp_test/
Dnetx_ptp_utility.c451 NX_PTP_TIME *time_ptr, NX_PACKET *packet_ptr, in _netx_ptp_clock_callback() argument
467 ptp_timestamp = *time_ptr; in _netx_ptp_clock_callback()
472 *time_ptr = ptp_timestamp; in _netx_ptp_clock_callback()
477 *time_ptr = ptp_timestamp; in _netx_ptp_clock_callback()
482 ptp_timestamp.nanosecond += time_ptr -> nanosecond; in _netx_ptp_clock_callback()
Dnetx_ptp_client_calibrate_test.c250 NX_PTP_TIME *time_ptr, NX_PACKET *packet_ptr, in clock_callback() argument
262 return(_netx_ptp_clock_callback(client_ptr, operation, time_ptr, packet_ptr, callback_data)); in clock_callback()
264 …return(nx_ptp_client_soft_clock_callback(client_ptr, operation, time_ptr, packet_ptr, callback_dat… in clock_callback()
Dnetx_ptp_utility.h67 NX_PTP_TIME *time_ptr, NX_PACKET *packet_ptr,
/NetX-Duo-v6.2.1/test/regression/netxduo_test/
Dnetx_ip_link_status_test2.c59 struct NX_LINK_TIME_STRUCT *time_ptr);
161 struct NX_LINK_TIME_STRUCT *time_ptr) in receive_callback() argument
166 (VOID)(time_ptr); in receive_callback()
/NetX-Duo-v6.2.1/samples/
Ddemo_netx_duo_ptp_client.c80 NX_PTP_TIME *time_ptr, NX_PACKET *packet_ptr,
/NetX-Duo-v6.2.1/tsn/inc/
Dnx_mrp.h256 struct NX_LINK_TIME_STRUCT *time_ptr);
/NetX-Duo-v6.2.1/addons/sntp/
Dnxd_sntp_client.c4357 UINT _nx_sntp_client_utility_convert_time_to_UCHAR(NX_SNTP_TIME *time_ptr, in _nx_sntp_client_utility_convert_time_to_UCHAR() argument
4389 *(buffer) = time_ptr -> seconds; in _nx_sntp_client_utility_convert_time_to_UCHAR()
4390 *(buffer + 1) = time_ptr -> fraction; in _nx_sntp_client_utility_convert_time_to_UCHAR()
5841 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
5848 _nx_sntp_client_utility_fraction_to_usecs(time_ptr ->fraction, &usecs); in _nx_sntp_client_utility_convert_fraction_to_msecs()
Dnxd_sntp_client.h764 … _nx_sntp_client_utility_convert_fraction_to_msecs(ULONG *milliseconds, NX_SNTP_TIME *time_ptr);
/NetX-Duo-v6.2.1/tsn/src/
Dnx_mrp.c1008 struct NX_LINK_TIME_STRUCT *time_ptr) in nx_mrp_ethernet_receive_notify() argument
1017 NX_PARAMETER_NOT_USED(time_ptr); in nx_mrp_ethernet_receive_notify()
/NetX-Duo-v6.2.1/addons/BSD/
Dnxd_bsd.c189 struct NX_LINK_TIME_STRUCT *time_ptr);
13494 struct NX_LINK_TIME_STRUCT *time_ptr) in _nx_bsd_ethernet_receive_notify() argument