Home
last modified time | relevance | path

Searched refs:default_ds (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.5.0/subsys/net/l2/ethernet/gptp/
Dgptp.c71 struct gptp_default_ds *default_ds; in gptp_compute_clock_identity() local
73 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 …]
Dgptp_messages.c486 struct gptp_default_ds *default_ds; in gptp_prepare_announce() local
495 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() local
695 default_ds = GPTP_DEFAULT_DS(); in gptp_handle_pdelay_resp()
[all …]
Dgptp_mi.c1600 struct gptp_default_ds *default_ds; in compute_best_vector() local
1607 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 …]
Dgptp_data_set.h41 #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
Dgptp_md.c365 local_clock = !memcmp(gptp_domain.default_ds.clk_id, in gptp_md_pdelay_compute()
/Zephyr-Core-3.5.0/subsys/net/ip/
Dnet_shell.c3135 domain->default_ds.priority1); in gptp_print_port_info()
3138 domain->default_ds.priority2); in gptp_print_port_info()