Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/l2/ethernet/gptp/
Dgptp_md.h33 struct net_ptp_time precise_orig_ts; member
Dgptp_md.c73 htons(sync_send->precise_orig_ts._sec.high); in gptp_md_follow_up_prepare()
74 fup->prec_orig_ts_secs_low = htonl(sync_send->precise_orig_ts._sec.low); in gptp_md_follow_up_prepare()
75 fup->prec_orig_ts_nsecs = htonl(sync_send->precise_orig_ts.nanosecond); in gptp_md_follow_up_prepare()
145 sync_rcv->precise_orig_ts._sec.high = in gptp_set_md_sync_receive()
147 sync_rcv->precise_orig_ts._sec.low = ntohl(fup->prec_orig_ts_secs_low); in gptp_set_md_sync_receive()
148 sync_rcv->precise_orig_ts.nanosecond = ntohl(fup->prec_orig_ts_nsecs); in gptp_set_md_sync_receive()
Dgptp_mi.c473 memcpy(&state->last_precise_orig_ts, &sync_info->precise_orig_ts, in gptp_mi_pss_store_last_pss()
723 global_ds->sync_receipt_time.second += pss->precise_orig_ts.second; in gptp_mi_clk_slave_sync_compute()
725 pss->precise_orig_ts.nanosecond * GPTP_POW2_16; in gptp_mi_clk_slave_sync_compute()
960 sync_info->precise_orig_ts.second = current_time / NSEC_PER_SEC; in gptp_mi_set_ps_sync_cmss()
961 sync_info->precise_orig_ts.nanosecond = current_time % NSEC_PER_SEC; in gptp_mi_set_ps_sync_cmss()