Home
last modified time | relevance | path

Searched refs:rate_ratio (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/subsys/net/l2/ethernet/gptp/
Dgptp_md.h45 double rate_ratio; member
Dgptp_md.c90 (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()
165 sync_rcv->rate_ratio = ntohl(fup->tlv.cumulative_scaled_rate_offset); in gptp_set_md_sync_receive()
166 sync_rcv->rate_ratio /= GPTP_POW2_41; in gptp_set_md_sync_receive()
167 sync_rcv->rate_ratio += 1; in gptp_set_md_sync_receive()
Dgptp_mi.c386 state->rate_ratio = sync_rcv->rate_ratio; in gptp_mi_pss_rcv_compute()
387 state->rate_ratio += (port_ds->neighbor_rate_ratio - 1.0); in gptp_mi_pss_rcv_compute()
402 pss->sync_info.rate_ratio = state->rate_ratio; in gptp_mi_pss_rcv_compute()
480 state->last_rate_ratio = sync_info->rate_ratio; in gptp_mi_pss_store_last_pss()
715 sync_receipt_time *= pss->rate_ratio; in gptp_mi_clk_slave_sync_compute()
728 global_ds->sync_receipt_local_time /= pss->rate_ratio; in gptp_mi_clk_slave_sync_compute()
973 sync_info->rate_ratio = 1.0; in gptp_mi_set_ps_sync_cmss()
Dgptp_state.h286 double rate_ratio; member
/Zephyr-latest/subsys/net/lib/shell/
Dgptp.c449 ": %f\n", port_state->pss_rcv.rate_ratio); in gptp_print_port_info()