Lines Matching refs:default_ds
39 struct ptp_default_ds default_ds; member
171 ptp_clk.default_ds.priority1 = *tlv->data; in clock_management_set()
175 ptp_clk.default_ds.priority2 = *tlv->data; in clock_management_set()
190 &ptp_clk.default_ds.clk_id, in clock_update_grandmaster()
193 &ptp_clk.default_ds.clk_id, in clock_update_grandmaster()
196 ptp_clk.parent_ds.gm_clk_quality = ptp_clk.default_ds.clk_quality; in clock_update_grandmaster()
197 ptp_clk.parent_ds.gm_priority1 = ptp_clk.default_ds.priority1; in clock_update_grandmaster()
198 ptp_clk.parent_ds.gm_priority2 = ptp_clk.default_ds.priority2; in clock_update_grandmaster()
247 struct ptp_default_ds *dds = &ptp_clk.default_ds; in ptp_clock_init()
301 ret = zsock_poll(ptp_clk.pollfd, PTP_SOCKET_CNT * ptp_clk.default_ds.n_ports + 1, -1); in ptp_clock_poll_sockets()
576 return (enum ptp_clock_type)ptp_clk.default_ds.type; in ptp_clock_type()
581 return &ptp_clk.default_ds; in ptp_clock_default_ds()
603 ds->priority1 = ptp_clk.default_ds.priority1; in ptp_clock_ds()
604 ds->clk_quality = ptp_clk.default_ds.clk_quality; in ptp_clock_ds()
605 ds->priority2 = ptp_clk.default_ds.priority2; in ptp_clock_ds()
609 memcpy(&ds->clk_id, &ptp_clk.default_ds.clk_id, sizeof(ptp_clk_id)); in ptp_clock_ds()
610 memcpy(&ds->sender.clk_id, &ptp_clk.default_ds.clk_id, sizeof(ptp_clk_id)); in ptp_clock_ds()
611 memcpy(&ds->receiver.clk_id, &ptp_clk.default_ds.clk_id, sizeof(ptp_clk_id)); in ptp_clock_ds()
650 ptp_clk.default_ds.n_ports++; in ptp_clock_port_add()