Searched refs:default_ds (Results 1 – 6 of 6) sorted by relevance
71 struct gptp_default_ds *default_ds; in gptp_compute_clock_identity() local73 default_ds = GPTP_DEFAULT_DS(); in gptp_compute_clock_identity()76 default_ds->clk_id[0] = net_if_get_link_addr(iface)->addr[0]; in gptp_compute_clock_identity()77 default_ds->clk_id[1] = net_if_get_link_addr(iface)->addr[1]; in gptp_compute_clock_identity()78 default_ds->clk_id[2] = net_if_get_link_addr(iface)->addr[2]; in gptp_compute_clock_identity()79 default_ds->clk_id[3] = 0xFF; in gptp_compute_clock_identity()80 default_ds->clk_id[4] = 0xFE; in gptp_compute_clock_identity()81 default_ds->clk_id[5] = net_if_get_link_addr(iface)->addr[3]; in gptp_compute_clock_identity()82 default_ds->clk_id[6] = net_if_get_link_addr(iface)->addr[4]; in gptp_compute_clock_identity()83 default_ds->clk_id[7] = net_if_get_link_addr(iface)->addr[5]; in gptp_compute_clock_identity()[all …]
486 struct gptp_default_ds *default_ds; in gptp_prepare_announce() local495 default_ds = GPTP_DEFAULT_DS(); in gptp_prepare_announce()543 ann->root_system_id.grand_master_prio1 = default_ds->priority1; in gptp_prepare_announce()544 ann->root_system_id.grand_master_prio2 = default_ds->priority2; in gptp_prepare_announce()547 default_ds->clk_quality.clock_accuracy; in gptp_prepare_announce()548 ann->root_system_id.clk_quality.clock_class = default_ds->clk_quality.clock_class; in gptp_prepare_announce()550 htons(default_ds->clk_quality.offset_scaled_log_var); in gptp_prepare_announce()553 default_ds->clk_id, in gptp_prepare_announce()688 struct gptp_default_ds *default_ds; in gptp_handle_pdelay_resp() local695 default_ds = GPTP_DEFAULT_DS(); in gptp_handle_pdelay_resp()[all …]
1600 struct gptp_default_ds *default_ds; in compute_best_vector() local1607 default_ds = GPTP_DEFAULT_DS(); in compute_best_vector()1614 gm_prio->root_system_id.grand_master_prio1 = default_ds->priority1; in compute_best_vector()1615 gm_prio->root_system_id.grand_master_prio2 = default_ds->priority2; in compute_best_vector()1617 default_ds->clk_quality.clock_class; in compute_best_vector()1619 default_ds->clk_quality.clock_accuracy; in compute_best_vector()1621 htons(default_ds->clk_quality.offset_scaled_log_var); in compute_best_vector()1623 memcpy(gm_prio->src_port_id.clk_id, default_ds->clk_id, in compute_best_vector()1625 memcpy(gm_prio->root_system_id.grand_master_id, default_ds->clk_id, in compute_best_vector()1641 if (memcmp(challenger->src_port_id.clk_id, default_ds->clk_id, in compute_best_vector()[all …]
41 #define GPTP_PORT_END (gptp_domain.default_ds.nb_ports + GPTP_PORT_START)46 #define GPTP_DEFAULT_DS() (&gptp_domain.default_ds)542 struct gptp_default_ds default_ds; member
365 local_clock = !memcmp(gptp_domain.default_ds.clk_id, in gptp_md_pdelay_compute()
3135 domain->default_ds.priority1); in gptp_print_port_info()3138 domain->default_ds.priority2); in gptp_print_port_info()