Home
last modified time | relevance | path

Searched refs:bmca_data (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.7.0/subsys/net/l2/ethernet/gptp/
Dgptp_mi.c266 struct gptp_port_bmca_data *bmca_data; in gptp_mi_init_bmca_data() local
268 bmca_data = GPTP_PORT_BMCA_DATA(port); in gptp_mi_init_bmca_data()
270 (void)memset(bmca_data, 0, sizeof(struct gptp_port_bmca_data)); in gptp_mi_init_bmca_data()
272 gptp_set_time_itv(&bmca_data->announce_interval, 1, in gptp_mi_init_bmca_data()
275 (void)memset(&bmca_data->port_priority, 0xFF, in gptp_mi_init_bmca_data()
277 (void)memset(&bmca_data->master_priority, 0xFF, in gptp_mi_init_bmca_data()
1271 struct gptp_port_bmca_data *bmca_data; in gptp_mi_port_announce_receive_state_machine() local
1275 bmca_data = GPTP_PORT_BMCA_DATA(port); in gptp_mi_port_announce_receive_state_machine()
1284 bmca_data->rcvd_msg = false; in gptp_mi_port_announce_receive_state_machine()
1285 if (bmca_data->rcvd_announce_ptr != NULL) { in gptp_mi_port_announce_receive_state_machine()
[all …]
Dgptp.c136 struct gptp_port_bmca_data *bmca_data; in gptp_handle_msg() local
283 bmca_data = GPTP_PORT_BMCA_DATA(port); in gptp_handle_msg()
286 bmca_data->rcvd_announce_ptr == NULL) { in gptp_handle_msg()
288 bmca_data->rcvd_announce_ptr = pkt; in gptp_handle_msg()
796 struct gptp_port_bmca_data *bmca_data; in gptp_update_announce_interval() local
801 bmca_data = GPTP_PORT_BMCA_DATA(port); in gptp_update_announce_interval()
805 old_itv = gptp_uscaled_ns_to_timer_ms(&bmca_data->announce_interval); in gptp_update_announce_interval()
806 new_itv = update_itv(&bmca_data->announce_interval, in gptp_update_announce_interval()