Lines Matching refs:sync_info

396 	memcpy(&pss->sync_info, sync_rcv, sizeof(struct gptp_md_sync_info));  in gptp_mi_pss_rcv_compute()
402 pss->sync_info.rate_ratio = state->rate_ratio; in gptp_mi_pss_rcv_compute()
465 struct gptp_md_sync_info *sync_info; in gptp_mi_pss_store_last_pss() local
469 sync_info = &pss_ptr->sync_info; in gptp_mi_pss_store_last_pss()
473 memcpy(&state->last_precise_orig_ts, &sync_info->precise_orig_ts, in gptp_mi_pss_store_last_pss()
475 memcpy(&state->last_gm_phase_change, &sync_info->last_gm_phase_change, in gptp_mi_pss_store_last_pss()
479 sync_info->follow_up_correction_field; in gptp_mi_pss_store_last_pss()
480 state->last_rate_ratio = sync_info->rate_ratio; in gptp_mi_pss_store_last_pss()
481 state->last_upstream_tx_time = sync_info->upstream_tx_time; in gptp_mi_pss_store_last_pss()
482 state->last_gm_time_base_indicator = sync_info->gm_time_base_indicator; in gptp_mi_pss_store_last_pss()
483 state->last_gm_freq_change = sync_info->last_gm_freq_change; in gptp_mi_pss_store_last_pss()
496 memcpy(&state->sync_send, &pss_ptr->sync_info, in gptp_mi_pss_send_md_sync_send()
566 memcpy(&state->pss_sync_ptr->sync_info.src_port_id.clk_id, in gptp_mi_pss_send_state_machine()
569 state->pss_sync_ptr->sync_info.src_port_id.port_number = port; in gptp_mi_pss_send_state_machine()
712 pss = &state->pss_rcv_ptr->sync_info; in gptp_mi_clk_slave_sync_compute()
948 struct gptp_md_sync_info *sync_info; in gptp_mi_set_ps_sync_cmss() local
954 sync_info = &state->pss_snd.sync_info; in gptp_mi_set_ps_sync_cmss()
960 sync_info->precise_orig_ts.second = current_time / NSEC_PER_SEC; in gptp_mi_set_ps_sync_cmss()
961 sync_info->precise_orig_ts.nanosecond = current_time % NSEC_PER_SEC; in gptp_mi_set_ps_sync_cmss()
972 sync_info->follow_up_correction_field = 0; in gptp_mi_set_ps_sync_cmss()
973 sync_info->rate_ratio = 1.0; in gptp_mi_set_ps_sync_cmss()
975 memcpy(&sync_info->src_port_id.clk_id, in gptp_mi_set_ps_sync_cmss()
979 sync_info->src_port_id.port_number = 0U; in gptp_mi_set_ps_sync_cmss()
980 sync_info->log_msg_interval = CONFIG_NET_GPTP_INIT_LOG_SYNC_ITV; in gptp_mi_set_ps_sync_cmss()
981 sync_info->upstream_tx_time = global_ds->local_time.low; in gptp_mi_set_ps_sync_cmss()
985 sync_info->gm_time_base_indicator = in gptp_mi_set_ps_sync_cmss()
988 memcpy(&sync_info->last_gm_phase_change, in gptp_mi_set_ps_sync_cmss()
992 sync_info->last_gm_freq_change = global_ds->clk_src_freq_offset; in gptp_mi_set_ps_sync_cmss()