Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/subsys/net/l2/ethernet/gptp/
Dgptp_data_set.h41 #define GPTP_PORT_END (gptp_domain.default_ds.nb_ports + GPTP_PORT_START)
45 #define GPTP_GLOBAL_DS() (&gptp_domain.global_ds)
46 #define GPTP_DEFAULT_DS() (&gptp_domain.default_ds)
47 #define GPTP_CURRENT_DS() (&gptp_domain.current_ds)
48 #define GPTP_PARENT_DS() (&gptp_domain.parent_ds)
49 #define GPTP_PROPERTIES_DS() (&gptp_domain.properties_ds)
50 #define GPTP_STATE() (&gptp_domain.state)
53 (&gptp_domain.port_ds[port - GPTP_PORT_START])
55 (&gptp_domain.port_state[port - GPTP_PORT_START])
57 (&gptp_domain.port_bmca_data[port - GPTP_PORT_START])
[all …]
Dgptp.c37 struct gptp_domain gptp_domain; variable
587 gptp_domain.iface[*num_ports] = iface; in gptp_add_port()
854 struct gptp_domain *gptp_get_domain(void) in gptp_get_domain()
856 return &gptp_domain; in gptp_get_domain()
859 int gptp_get_port_data(struct gptp_domain *domain, in gptp_get_port_data()
867 if (domain != &gptp_domain) { in gptp_get_port_data()
904 net_if_foreach(gptp_add_port, &gptp_domain.default_ds.nb_ports); in init_ports()
918 gptp_domain.default_ds.nb_ports = 0U; in net_gptp_init()
Dgptp_md.c410 local_clock = !memcmp(gptp_domain.default_ds.clk_id, in gptp_md_pdelay_compute()
/Zephyr-Core-3.7.0/samples/net/gptp/src/
Dgptp.c33 struct gptp_domain *domain; in get_current_status()
/Zephyr-Core-3.7.0/include/zephyr/net/
Dgptp.h325 struct gptp_domain *gptp_get_domain(void);
/Zephyr-Core-3.7.0/subsys/net/lib/shell/
Dgptp.c276 struct gptp_domain *domain; in gptp_print_port_info()
585 struct gptp_domain *domain = gptp_get_domain(); in cmd_net_gptp()