Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c797 struct ptp_tstamp origin_timestamp; in dpaa2_eth_enable_tx_tstamp() local
844 ns_to_ptp_tstamp(&origin_timestamp, le64_to_cpup(ns)); in dpaa2_eth_enable_tx_tstamp()
846 *(__be16 *)(data + offset2) = htons(origin_timestamp.sec_msb); in dpaa2_eth_enable_tx_tstamp()
848 htonl(origin_timestamp.sec_lsb); in dpaa2_eth_enable_tx_tstamp()
849 *(__be32 *)(data + offset2 + 6) = htonl(origin_timestamp.nsec); in dpaa2_eth_enable_tx_tstamp()