Searched refs:offset_ns (Results 1 – 1 of 1) sorted by relevance
628 static VOID _nx_ptp_client_soft_clock_adjust(VOID *ptp_instance, LONG offset_ns) in _nx_ptp_client_soft_clock_adjust() argument634 if (offset_ns > NX_PTP_NANOSECONDS_PER_SEC) in _nx_ptp_client_soft_clock_adjust()636 offset_ns = NX_PTP_NANOSECONDS_PER_SEC; in _nx_ptp_client_soft_clock_adjust()638 else if (offset_ns < -NX_PTP_NANOSECONDS_PER_SEC) in _nx_ptp_client_soft_clock_adjust()640 offset_ns = -NX_PTP_NANOSECONDS_PER_SEC; in _nx_ptp_client_soft_clock_adjust()645 client_ptr -> nx_ptp_client_soft_clock.nanosecond += offset_ns; in _nx_ptp_client_soft_clock_adjust()