Searched refs:ptp_timestamp (Results 1 – 1 of 1) sorted by relevance
123 static NX_PTP_TIME ptp_timestamp = {0}; variable441 nx_ptp_client_packet_timestamp_notify(ptp_client_ptr, packet_ptr, &ptp_timestamp); in _netx_ptp_network_driver()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()483 if (ptp_timestamp.nanosecond >= NANOSECONDS_PER_SEC) in _netx_ptp_clock_callback()485 ptp_timestamp.nanosecond -= NANOSECONDS_PER_SEC; in _netx_ptp_clock_callback()486 if (ptp_timestamp.second_low == 0xFFFFFFFF) in _netx_ptp_clock_callback()488 ptp_timestamp.second_high++; in _netx_ptp_clock_callback()[all …]