Lines Matching refs:pss

377 	struct gptp_mi_port_sync_sync *pss;  in gptp_mi_pss_rcv_compute()  local
382 pss = &state->pss; in gptp_mi_pss_rcv_compute()
394 pss->local_port_number = port; in gptp_mi_pss_rcv_compute()
396 memcpy(&pss->sync_info, sync_rcv, sizeof(struct gptp_md_sync_info)); in gptp_mi_pss_rcv_compute()
398 pss->sync_receipt_timeout_time = gptp_get_current_time_nanosecond(port); in gptp_mi_pss_rcv_compute()
399 pss->sync_receipt_timeout_time += in gptp_mi_pss_rcv_compute()
402 pss->sync_info.rate_ratio = state->rate_ratio; in gptp_mi_pss_rcv_compute()
446 site_ss_state->pss_rcv_ptr = &state->pss; in gptp_mi_pss_rcv_state_machine()
703 struct gptp_md_sync_info *pss; in gptp_mi_clk_slave_sync_compute() local
712 pss = &state->pss_rcv_ptr->sync_info; in gptp_mi_clk_slave_sync_compute()
715 sync_receipt_time *= pss->rate_ratio; in gptp_mi_clk_slave_sync_compute()
717 sync_receipt_time += pss->follow_up_correction_field; in gptp_mi_clk_slave_sync_compute()
723 global_ds->sync_receipt_time.second += pss->precise_orig_ts.second; in gptp_mi_clk_slave_sync_compute()
725 pss->precise_orig_ts.nanosecond * GPTP_POW2_16; in gptp_mi_clk_slave_sync_compute()
728 global_ds->sync_receipt_local_time /= pss->rate_ratio; in gptp_mi_clk_slave_sync_compute()
731 global_ds->sync_receipt_local_time += pss->upstream_tx_time; in gptp_mi_clk_slave_sync_compute()
733 global_ds->gm_time_base_indicator = pss->gm_time_base_indicator; in gptp_mi_clk_slave_sync_compute()
734 global_ds->last_gm_phase_change.high = pss->last_gm_phase_change.high; in gptp_mi_clk_slave_sync_compute()
735 global_ds->last_gm_phase_change.low = pss->last_gm_phase_change.low; in gptp_mi_clk_slave_sync_compute()
736 global_ds->last_gm_freq_change = pss->last_gm_freq_change; in gptp_mi_clk_slave_sync_compute()