Home
last modified time | relevance | path

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

/openbmc/linux/net/dsa/
H A Dtag_ksz.c187 u8 *tstamp_raw = tag - KSZ_PTP_TAG_LEN; in ksz_rcv_timestamp() local
190 tstamp = ksz_decode_tstamp(get_unaligned_be32(tstamp_raw)); in ksz_rcv_timestamp()
202 u32 tstamp_raw = 0; in ksz_xmit_timestamp() local
225 tstamp_raw = ((ts.tv_sec & 3) << 30) | ts.tv_nsec; in ksz_xmit_timestamp()
232 put_unaligned_be32(tstamp_raw, skb_put(skb, KSZ_PTP_TAG_LEN)); in ksz_xmit_timestamp()
/openbmc/linux/drivers/net/dsa/microchip/
H A Dksz_ptp.c976 u32 tstamp_raw; in ksz_ptp_msg_thread_fn() local
984 ret = ksz_read32(dev, ptpmsg_irq->ts_reg, &tstamp_raw); in ksz_ptp_msg_thread_fn()
988 tstamp = ksz_decode_tstamp(tstamp_raw); in ksz_ptp_msg_thread_fn()