Searched refs:tsns (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_ptp.h | 30 int otx2_ptp_tstamp2time(struct otx2_nic *pfvf, u64 tstamp, u64 *tsns);
|
H A D | otx2_txrx.c | 142 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 D | otx2_ptp.c | 511 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()
|