Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/lib/ptp/
Dclock.c58 __maybe_unused static struct ptp_clock ptp_clk = { 0 }; variable
149 SYS_SLIST_FOR_EACH_CONTAINER(&ptp_clk.ports_list, iter, node) { in clock_forward_management_msg()
171 ptp_clk.default_ds.priority1 = *tlv->data; in clock_management_set()
175 ptp_clk.default_ds.priority2 = *tlv->data; in clock_management_set()
187 memset(&ptp_clk.current_ds, 0, sizeof(struct ptp_current_ds)); in clock_update_grandmaster()
189 memcpy(&ptp_clk.parent_ds.port_id.clk_id, in clock_update_grandmaster()
190 &ptp_clk.default_ds.clk_id, in clock_update_grandmaster()
192 memcpy(&ptp_clk.parent_ds.gm_id, in clock_update_grandmaster()
193 &ptp_clk.default_ds.clk_id, in clock_update_grandmaster()
195 ptp_clk.parent_ds.port_id.port_number = 0; in clock_update_grandmaster()
[all …]