Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ptp.h30 int otx2_ptp_tstamp2time(struct otx2_nic *pfvf, u64 tstamp, u64 *tsns);
H A Dotx2_txrx.c142 u64 timestamp, tsns; in otx2_snd_pkt_handler() local
160 err = otx2_ptp_tstamp2time(pfvf, timestamp, &tsns); in otx2_snd_pkt_handler()
163 ts.hwtstamp = ns_to_ktime(tsns); in otx2_snd_pkt_handler()
179 u64 timestamp, tsns; in otx2_set_rxtstamp() local
187 err = otx2_ptp_tstamp2time(pfvf, timestamp, &tsns); in otx2_set_rxtstamp()
191 skb_hwtstamps(skb)->hwtstamp = ns_to_ktime(tsns); in otx2_set_rxtstamp()
H A Dotx2_ptp.c511 int otx2_ptp_tstamp2time(struct otx2_nic *pfvf, u64 tstamp, u64 *tsns) in otx2_ptp_tstamp2time() argument
516 *tsns = pfvf->ptp->ptp_tstamp2nsec(&pfvf->ptp->time_counter, tstamp); in otx2_ptp_tstamp2time()