Searched refs:bmca_data (Results 1 – 2 of 2) sorted by relevance
266 struct gptp_port_bmca_data *bmca_data; in gptp_mi_init_bmca_data() local268 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()1257 struct gptp_port_bmca_data *bmca_data; in gptp_mi_port_announce_receive_state_machine() local1261 bmca_data = GPTP_PORT_BMCA_DATA(port); in gptp_mi_port_announce_receive_state_machine()1270 bmca_data->rcvd_msg = false; in gptp_mi_port_announce_receive_state_machine()1271 if (bmca_data->rcvd_announce_ptr != NULL) { in gptp_mi_port_announce_receive_state_machine()[all …]
138 struct gptp_port_bmca_data *bmca_data; in gptp_handle_msg() local285 bmca_data = GPTP_PORT_BMCA_DATA(port); in gptp_handle_msg()288 bmca_data->rcvd_announce_ptr == NULL) { in gptp_handle_msg()290 bmca_data->rcvd_announce_ptr = pkt; in gptp_handle_msg()807 struct gptp_port_bmca_data *bmca_data; in gptp_update_announce_interval() local812 bmca_data = GPTP_PORT_BMCA_DATA(port); in gptp_update_announce_interval()816 old_itv = gptp_uscaled_ns_to_timer_ms(&bmca_data->announce_interval); in gptp_update_announce_interval()817 new_itv = update_itv(&bmca_data->announce_interval, in gptp_update_announce_interval()