Home
last modified time | relevance | path

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

/linux/net/dsa/
H A Dtag_ksz.c190 u8 *tstamp_raw = tag - KSZ_PTP_TAG_LEN; in ksz_rcv_timestamp() local
193 tstamp = ksz_decode_tstamp(get_unaligned_be32(tstamp_raw)); in ksz_rcv_timestamp()
205 u32 tstamp_raw = 0; in ksz_xmit_timestamp() local
228 tstamp_raw = ((ts.tv_sec & 3) << 30) | ts.tv_nsec; in ksz_xmit_timestamp()
235 put_unaligned_be32(tstamp_raw, skb_put(skb, KSZ_PTP_TAG_LEN)); in ksz_xmit_timestamp()
/linux/drivers/net/dsa/microchip/
H A Dksz_ptp.c973 u32 tstamp_raw; in ksz_ptp_msg_thread_fn() local
981 ret = ksz_read32(dev, ptpmsg_irq->ts_reg, &tstamp_raw); in ksz_ptp_msg_thread_fn()
985 tstamp = ksz_decode_tstamp(tstamp_raw); in ksz_ptp_msg_thread_fn()