| /linux/drivers/ptp/ |
| H A D | ptp_vclock.c | 103 ns = timecounter_cyc2time(&vclock->tc, timespec64_to_ns(&pts)); in ptp_vclock_gettimex() 139 ns = timecounter_cyc2time(&vclock->tc, ktime_to_ns(xtstamp->device)); in ptp_vclock_getcrosststamp() 292 vclock_ns = timecounter_cyc2time(&vclock->tc, ns); in ptp_convert_timestamp()
|
| /linux/drivers/net/ethernet/cavium/common/ |
| H A D | cavium_ptp.h | 38 ret = timecounter_cyc2time(&ptp->time_counter, tstamp); in cavium_ptp_tstamp2time()
|
| /linux/drivers/net/ethernet/intel/e1000e/ |
| H A D | ptp.c | 121 *device = ns_to_ktime(timecounter_cyc2time(&adapter->tc, dev_cycles)); in e1000e_phc_get_syncdevicetime() 175 ns = timecounter_cyc2time(&adapter->tc, cycles); in e1000e_phc_gettimex()
|
| H A D | netdev.c | 503 ns = timecounter_cyc2time(&adapter->tc, systim); in e1000e_systim_to_hwtstamp()
|
| /linux/include/linux/ |
| H A D | timecounter.h | 143 static inline u64 timecounter_cyc2time(const struct timecounter *tc, u64 cycle_tstamp) in timecounter_cyc2time() function
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| H A D | clock.h | 104 nsec = timecounter_cyc2time(&timer->tc, timestamp); in mlx5_timecounter_cyc2time()
|
| /linux/drivers/net/can/rockchip/ |
| H A D | rockchip_canfd-timestamp.c | 24 ns = timecounter_cyc2time(&priv->tc, timestamp); in rkcanfd_skb_set_timestamp()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_ptp.h | 185 ns = timecounter_cyc2time(&ptp->tc, ts); in bnxt_timecounter_cyc2time()
|
| /linux/drivers/net/ethernet/qlogic/qede/ |
| H A D | qede_ptp.c | 170 ns = timecounter_cyc2time(&ptp->tc, timestamp); in qede_ptp_task() 555 ns = timecounter_cyc2time(&ptp->tc, timestamp); in qede_ptp_rx_ts()
|
| /linux/drivers/net/dsa/mv88e6xxx/ |
| H A D | hwtstamp.c | 293 ns = timecounter_cyc2time(&chip->tstamp_tc, ns); in mv88e6xxx_get_rxts() 413 ns = timecounter_cyc2time(&chip->tstamp_tc, time_raw); in mv88e6xxx_txtstamp_work()
|
| H A D | ptp.c | 235 ev.timestamp = timecounter_cyc2time(&chip->tstamp_tc, raw_ts); in mv88e6352_tai_event_work()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | en_clock.c | 68 nsec = timecounter_cyc2time(&mdev->clock, timestamp); in mlx4_en_get_hwtstamp()
|
| /linux/drivers/net/ethernet/intel/igb/ |
| H A D | igb_ptp.c | 177 ns = timecounter_cyc2time(&adapter->tc, systim); in igb_ptp_systim_to_hwtstamp() 277 ns = timecounter_cyc2time(&igb->tc, ((u64)hi << 32) | lo); in igb_ptp_gettimex_82576() 305 ns = timecounter_cyc2time(&igb->tc, ((u64)hi << 32) | lo); in igb_ptp_gettimex_82580() 587 now = timecounter_cyc2time(&igb->tc, systim); in igb_ptp_feature_enable_82580()
|
| H A D | igb_main.c | 6966 now = timecounter_cyc2time(&adapter->tc, systim); in igb_perout() 7040 ns = timecounter_cyc2time(&adapter->tc, ns); in igb_extts()
|
| /linux/drivers/net/ethernet/pensando/ionic/ |
| H A D | ionic_phc.c | 440 ns = timecounter_cyc2time(&phc->tc, tick); in ionic_phc_gettimex64() 491 ns = timecounter_cyc2time(&lif->phc->tc, tick); in ionic_lif_phc_ktime()
|
| /linux/drivers/net/can/spi/mcp251xfd/ |
| H A D | mcp251xfd-rx.c | 184 timestamp = timecounter_cyc2time(&priv->tc, hw_rx_obj->ts); in mcp251xfd_handle_rxif_one()
|
| /linux/drivers/net/ethernet/freescale/ |
| H A D | fec_ptp.c | 169 ns = timecounter_cyc2time(&fep->tc, tempval); in fec_ptp_enable_pps() 245 curr_time = timecounter_cyc2time(&fep->tc, ptp_hc); in fec_ptp_pps_perout()
|
| H A D | fec_main.c | 1475 ns = timecounter_cyc2time(&fep->tc, ts); in fec_enet_hwtstamp()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_ptp.c | 435 ns = timecounter_cyc2time(&adapter->hw_tc, timestamp); in ixgbe_ptp_convert_to_hwtstamp() 587 ns = timecounter_cyc2time(&adapter->hw_tc, stamp); in ixgbe_ptp_gettimex()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_ptp.c | 454 ptp_ptr->ptp_tstamp2nsec = timecounter_cyc2time; in otx2_ptp_init()
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_ptp.c | 228 nsec = timecounter_cyc2time(&clock->tc, cycles); in mlxsw_sp1_ptp_gettimex() 624 nsec = timecounter_cyc2time(&clock->tc, timestamp); in mlxsw_sp1_packet_timestamp()
|
| /linux/drivers/net/ethernet/wangxun/libwx/ |
| H A D | wx_ptp.c | 41 ns = timecounter_cyc2time(&wx->hw_tc, timestamp); in wx_ptp_timecounter_cyc2time()
|
| /linux/drivers/net/ethernet/ti/ |
| H A D | cpts.c | 128 event->timestamp = timecounter_cyc2time(&cpts->tc, event->low); in cpts_fifo_read()
|
| /linux/drivers/net/can/usb/ |
| H A D | gs_usb.c | 468 ns = timecounter_cyc2time(&parent->tc, timestamp); in gs_usb_skb_set_timestamp()
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x_main.c | 15133 ns = timecounter_cyc2time(&bp->timecounter, timestamp); in bnx2x_ptp_task() 15167 ns = timecounter_cyc2time(&bp->timecounter, timestamp); in bnx2x_set_rx_ts()
|