Searched refs:tsns (Results 1 – 3 of 3) sorted by relevance
| /Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/ |
| D | otx2_ptp.h | 30 int otx2_ptp_tstamp2time(struct otx2_nic *pfvf, u64 tstamp, u64 *tsns);
|
| D | otx2_txrx.c | 140 u64 timestamp, tsns; in otx2_snd_pkt_handler() local 158 err = otx2_ptp_tstamp2time(pfvf, timestamp, &tsns); in otx2_snd_pkt_handler() 161 ts.hwtstamp = ns_to_ktime(tsns); in otx2_snd_pkt_handler() 177 u64 timestamp, tsns; in otx2_set_rxtstamp() local 185 err = otx2_ptp_tstamp2time(pfvf, timestamp, &tsns); in otx2_set_rxtstamp() 189 skb_hwtstamps(skb)->hwtstamp = ns_to_ktime(tsns); in otx2_set_rxtstamp()
|
| D | otx2_ptp.c | 385 int otx2_ptp_tstamp2time(struct otx2_nic *pfvf, u64 tstamp, u64 *tsns) in otx2_ptp_tstamp2time() argument 390 *tsns = timecounter_cyc2time(&pfvf->ptp->time_counter, tstamp); in otx2_ptp_tstamp2time()
|