Home
last modified time | relevance | path

Searched refs:sync_rcv (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/subsys/net/l2/ethernet/gptp/
Dgptp_md.c118 struct gptp_md_sync_info *sync_rcv) in gptp_set_md_sync_receive() argument
128 state = &GPTP_PORT_STATE(port)->sync_rcv; in gptp_set_md_sync_receive()
140 sync_rcv->follow_up_correction_field = in gptp_set_md_sync_receive()
142 memcpy(&sync_rcv->src_port_id, &sync_hdr->port_id, in gptp_set_md_sync_receive()
144 sync_rcv->log_msg_interval = fup_hdr->log_msg_interval; in gptp_set_md_sync_receive()
145 sync_rcv->precise_orig_ts._sec.high = in gptp_set_md_sync_receive()
147 sync_rcv->precise_orig_ts._sec.low = ntohl(fup->prec_orig_ts_secs_low); in gptp_set_md_sync_receive()
148 sync_rcv->precise_orig_ts.nanosecond = ntohl(fup->prec_orig_ts_nsecs); in gptp_set_md_sync_receive()
151 sync_rcv->upstream_tx_time = sync_ts->second; in gptp_set_md_sync_receive()
152 sync_rcv->upstream_tx_time *= NSEC_PER_SEC; in gptp_set_md_sync_receive()
[all …]
Dgptp_state.h277 struct gptp_md_sync_info sync_rcv; member
497 struct gptp_sync_rcv_state sync_rcv; member
Dgptp_mi.c378 struct gptp_md_sync_info *sync_rcv; in gptp_mi_pss_rcv_compute() local
383 sync_rcv = &state->sync_rcv; in gptp_mi_pss_rcv_compute()
386 state->rate_ratio = sync_rcv->rate_ratio; in gptp_mi_pss_rcv_compute()
392 GPTP_POW2(sync_rcv->log_msg_interval); 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()
Dgptp_messages.c586 state = &GPTP_PORT_STATE(port)->sync_rcv; in gptp_handle_sync()
603 state = &GPTP_PORT_STATE(port)->sync_rcv; in gptp_handle_follow_up()
Dgptp.c146 sync_rcv_state = &GPTP_PORT_STATE(port)->sync_rcv; in gptp_handle_msg()
/Zephyr-latest/subsys/net/lib/shell/
Dgptp.c420 ": %s\n", sync_rcv2str(port_state->sync_rcv.state)); in gptp_print_port_info()
423 port_state->sync_rcv.rcvd_sync ? "yes" : "no"); in gptp_print_port_info()
426 port_state->sync_rcv.rcvd_follow_up ? "yes" : "no"); in gptp_print_port_info()
429 port_state->sync_rcv.follow_up_timeout_expired ? "yes" : "no"); in gptp_print_port_info()
433 port_state->sync_rcv.follow_up_receipt_timeout); in gptp_print_port_info()