Home
last modified time | relevance | path

Searched refs:log_msg_interval (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/subsys/net/l2/ethernet/gptp/
Dgptp_md.h54 int8_t log_msg_interval; member
Dgptp.c595 int8_t log_msg_interval) in gptp_set_time_itv() argument
603 } else if (log_msg_interval >= 96) { in gptp_set_time_itv()
609 } else if (log_msg_interval <= -64) { in gptp_set_time_itv()
622 if (log_msg_interval <= 0) { in gptp_set_time_itv()
623 interval->low >>= -log_msg_interval; in gptp_set_time_itv()
633 if ((i + log_msg_interval) >= 96 || log_msg_interval > 64) { in gptp_set_time_itv()
639 interval->low >> (64 - log_msg_interval); in gptp_set_time_itv()
644 if (log_msg_interval == 64) { in gptp_set_time_itv()
647 interval->low <<= log_msg_interval; in gptp_set_time_itv()
Dgptp_private.h64 int8_t log_msg_interval);
Dgptp_md.c28 hdr->log_msg_interval = sync_send->log_msg_interval; in gptp_md_sync_prepare()
49 hdr->log_msg_interval = sync_send->log_msg_interval; in gptp_md_follow_up_prepare()
144 sync_rcv->log_msg_interval = fup_hdr->log_msg_interval; in gptp_set_md_sync_receive()
Dgptp_messages.c326 hdr->log_msg_interval = port_ds->cur_log_pdelay_req_itv; in gptp_prepare_pdelay_req()
384 hdr->log_msg_interval = GPTP_RESP_LOG_MSG_ITV; in gptp_prepare_pdelay_resp()
443 hdr->log_msg_interval = GPTP_RESP_LOG_MSG_ITV; in gptp_prepare_pdelay_follow_up()
517 hdr->log_msg_interval = port_ds->cur_log_announce_itv; in gptp_prepare_announce()
589 upstream_sync_itv = NSEC_PER_SEC * GPTP_POW2(hdr->log_msg_interval); in gptp_handle_sync()
Dgptp_mi.c392 GPTP_POW2(sync_rcv->log_msg_interval); in gptp_mi_pss_rcv_compute()
980 sync_info->log_msg_interval = CONFIG_NET_GPTP_INIT_LOG_SYNC_ITV; in gptp_mi_set_ps_sync_cmss()
1556 hdr->log_msg_interval); in gptp_mi_port_announce_information_state_machine()
/Zephyr-latest/subsys/net/lib/ptp/
Dport.c233 resp->header.log_msg_interval = port->port_ds.log_sync_interval; in port_sync_timestamp_cb()
268 msg->header.log_msg_interval = port->port_ds.log_sync_interval; in port_announce_msg_transmit()
305 msg->header.log_msg_interval = DEFAULT_LOG_MSG_INTERVAL; in port_delay_req_msg_transmit()
343 msg->header.log_msg_interval = port->port_ds.log_sync_interval; in port_sync_msg_transmit()
400 if (msg->header.log_msg_interval <= -31) { in foreign_clock_cleanup()
402 } else if (msg->header.log_msg_interval >= 31) { in foreign_clock_cleanup()
404 } else if (msg->header.log_msg_interval > 0) { in foreign_clock_cleanup()
406 (1 << msg->header.log_msg_interval) * NSEC_PER_SEC; in foreign_clock_cleanup()
409 (1 << (-msg->header.log_msg_interval)); in foreign_clock_cleanup()
570 if (port->port_ds.log_sync_interval != msg->header.log_msg_interval) { in port_sync_msg_process()
[all …]
Dmsg.h85 int8_t log_msg_interval; member
/Zephyr-latest/include/zephyr/net/
Dgptp.h188 int8_t log_msg_interval; member