Lines Matching refs:default_ds
1614 struct gptp_default_ds *default_ds; in compute_best_vector() local
1621 default_ds = GPTP_DEFAULT_DS(); in compute_best_vector()
1628 gm_prio->root_system_id.grand_master_prio1 = default_ds->priority1; in compute_best_vector()
1629 gm_prio->root_system_id.grand_master_prio2 = default_ds->priority2; in compute_best_vector()
1631 default_ds->clk_quality.clock_class; in compute_best_vector()
1633 default_ds->clk_quality.clock_accuracy; in compute_best_vector()
1635 htons(default_ds->clk_quality.offset_scaled_log_var); in compute_best_vector()
1637 memcpy(gm_prio->src_port_id.clk_id, default_ds->clk_id, in compute_best_vector()
1639 memcpy(gm_prio->root_system_id.grand_master_id, default_ds->clk_id, in compute_best_vector()
1655 if (memcmp(challenger->src_port_id.clk_id, default_ds->clk_id, in compute_best_vector()
1736 struct gptp_default_ds *default_ds, in update_bmca() argument
1754 default_ds->clk_id, GPTP_CLOCK_ID_LEN); in update_bmca()
1799 default_ds->clk_id, in update_bmca()
1822 struct gptp_default_ds *default_ds; in gptp_updt_roles_tree() local
1828 default_ds = GPTP_DEFAULT_DS(); in gptp_updt_roles_tree()
1865 update_bmca(port, best_port, global_ds, default_ds, gm_prio); in gptp_updt_roles_tree()
1886 if (memcmp(default_ds->clk_id, gm_prio->root_system_id.grand_master_id, in gptp_updt_roles_tree()
1890 default_ds->clk_id, GPTP_CLOCK_ID_LEN); in gptp_updt_roles_tree()