Lines Matching refs:sync_send

16 				 struct gptp_md_sync_info *sync_send,  in gptp_md_sync_prepare()  argument
23 memcpy(&hdr->port_id.clk_id, &sync_send->src_port_id.clk_id, in gptp_md_sync_prepare()
28 hdr->log_msg_interval = sync_send->log_msg_interval; in gptp_md_sync_prepare()
33 struct gptp_md_sync_info *sync_send, in gptp_md_follow_up_prepare() argument
44 memcpy(&hdr->port_id.clk_id, &sync_send->src_port_id.clk_id, in gptp_md_follow_up_prepare()
49 hdr->log_msg_interval = sync_send->log_msg_interval; in gptp_md_follow_up_prepare()
73 htons(sync_send->precise_orig_ts._sec.high); in gptp_md_follow_up_prepare()
74 fup->prec_orig_ts_secs_low = htonl(sync_send->precise_orig_ts._sec.low); in gptp_md_follow_up_prepare()
75 fup->prec_orig_ts_nsecs = htonl(sync_send->precise_orig_ts.nanosecond); in gptp_md_follow_up_prepare()
87 delay_ns = sync_ts_ns - sync_send->upstream_tx_time; in gptp_md_follow_up_prepare()
89 hdr->correction_field = sync_send->follow_up_correction_field + in gptp_md_follow_up_prepare()
90 (int64_t)(sync_send->rate_ratio * delay_ns); in gptp_md_follow_up_prepare()
103 (sync_send->rate_ratio - 1.0) * GPTP_POW2_41; in gptp_md_follow_up_prepare()
107 ntohs(sync_send->gm_time_base_indicator); in gptp_md_follow_up_prepare()
109 ntohl(sync_send->last_gm_phase_change.high); in gptp_md_follow_up_prepare()
111 ntohll(sync_send->last_gm_phase_change.low); in gptp_md_follow_up_prepare()
112 fup->tlv.scaled_last_gm_freq_change = sync_send->last_gm_freq_change; in gptp_md_follow_up_prepare()
565 state = &GPTP_PORT_STATE(port)->sync_send; in gptp_md_init_sync_send_state_machine()
853 state = &GPTP_PORT_STATE(port)->sync_send; in gptp_md_sync_send_state_machine()