Lines Matching refs:NSEC_PER_SEC
25 #define PORT_DELAY_REQ_CLEARE_TO (3 * NSEC_PER_SEC)
92 ((uint64_t)NSEC_PER_SEC * factor) >> -log_seconds : in port_timer_set_timeout()
93 ((uint64_t)NSEC_PER_SEC * factor) << log_seconds; in port_timer_set_timeout()
106 timeout = ((uint64_t)NSEC_PER_SEC * min_factor) >> -log_seconds; in port_timer_set_timeout_random()
107 random_ns = (uint64_t)NSEC_PER_SEC >> -log_seconds; in port_timer_set_timeout_random()
109 timeout = ((uint64_t)NSEC_PER_SEC * min_factor) << log_seconds; in port_timer_set_timeout_random()
110 random_ns = ((uint64_t)span * NSEC_PER_SEC) << log_seconds; in port_timer_set_timeout_random()
125 t1 = origin_ts.second * NSEC_PER_SEC + origin_ts.nanosecond; in port_synchronize()
126 t2 = ingress_ts.second * NSEC_PER_SEC + ingress_ts.nanosecond; in port_synchronize()
406 (1 << msg->header.log_msg_interval) * NSEC_PER_SEC; in foreign_clock_cleanup()
408 timeout = FOREIGN_TIME_TRANSMITTER_TIME_WINDOW_MUL * NSEC_PER_SEC / in foreign_clock_cleanup()
412 timestamp = msg->timestamp.host.second * NSEC_PER_SEC + in foreign_clock_cleanup()
444 timestamp = msg->timestamp.host.second * NSEC_PER_SEC + in port_delay_req_cleanup()
682 t3 = req->timestamp.host.second * NSEC_PER_SEC + req->timestamp.host.nanosecond; in port_delay_resp_msg_process()
683 t4 = msg->timestamp.protocol.second * NSEC_PER_SEC + msg->timestamp.protocol.nanosecond; in port_delay_resp_msg_process()