Searched refs:parent_ds (Results 1 – 4 of 4) sorted by relevance
47 struct ptp_tlv_parent_ds *parent_ds; in tlv_mgmt_post_recv() local216 parent_ds = (struct ptp_tlv_parent_ds *)mgmt_tlv->data; in tlv_mgmt_post_recv()218 parent_ds->port_id.port_number = ntohs(parent_ds->port_id.port_number); in tlv_mgmt_post_recv()219 parent_ds->obsreved_parent_offset_scaled_log_variance = in tlv_mgmt_post_recv()220 ntohs(parent_ds->obsreved_parent_offset_scaled_log_variance); in tlv_mgmt_post_recv()221 parent_ds->obsreved_parent_clk_phase_change_rate = in tlv_mgmt_post_recv()222 ntohl(parent_ds->obsreved_parent_clk_phase_change_rate); in tlv_mgmt_post_recv()223 parent_ds->gm_clk_quality.offset_scaled_log_variance = in tlv_mgmt_post_recv()224 ntohs(parent_ds->gm_clk_quality.offset_scaled_log_variance); in tlv_mgmt_post_recv()267 struct ptp_tlv_parent_ds *parent_ds; in tlv_mgmt_pre_send() local[all …]
41 struct ptp_parent_ds parent_ds; member189 memcpy(&ptp_clk.parent_ds.port_id.clk_id, in clock_update_grandmaster()192 memcpy(&ptp_clk.parent_ds.gm_id, in clock_update_grandmaster()195 ptp_clk.parent_ds.port_id.port_number = 0; in clock_update_grandmaster()196 ptp_clk.parent_ds.gm_clk_quality = ptp_clk.default_ds.clk_quality; in clock_update_grandmaster()197 ptp_clk.parent_ds.gm_priority1 = ptp_clk.default_ds.priority1; in clock_update_grandmaster()198 ptp_clk.parent_ds.gm_priority2 = ptp_clk.default_ds.priority2; in clock_update_grandmaster()211 memcpy(&ptp_clk.parent_ds.gm_id, in clock_update_time_receiver()214 memcpy(&ptp_clk.parent_ds.port_id, in clock_update_time_receiver()217 ptp_clk.parent_ds.gm_clk_quality = best_msg->announce.gm_clk_quality; in clock_update_time_receiver()[all …]
354 struct gptp_parent_ds *parent_ds; in gptp_init_clock_ds() local360 parent_ds = GPTP_PARENT_DS(); in gptp_init_clock_ds()405 memcpy(parent_ds->port_id.clk_id, default_ds->clk_id, in gptp_init_clock_ds()407 memcpy(parent_ds->gm_id, default_ds->clk_id, GPTP_CLOCK_ID_LEN); in gptp_init_clock_ds()408 parent_ds->port_id.port_number = 0U; in gptp_init_clock_ds()411 parent_ds->cumulative_rate_ratio = 0; in gptp_init_clock_ds()413 parent_ds->gm_clk_quality.clock_class = in gptp_init_clock_ds()415 parent_ds->gm_clk_quality.clock_accuracy = in gptp_init_clock_ds()417 parent_ds->gm_clk_quality.offset_scaled_log_var = in gptp_init_clock_ds()419 parent_ds->gm_priority1 = default_ds->priority1; in gptp_init_clock_ds()[all …]
48 #define GPTP_PARENT_DS() (&gptp_domain.parent_ds)548 struct gptp_parent_ds parent_ds; member