Home
last modified time | relevance | path

Searched refs:timecounter_cyc2time (Results 1 – 25 of 25) sorted by relevance

/linux/drivers/ptp/
H A Dptp_vclock.c103 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 Dcavium_ptp.h38 ret = timecounter_cyc2time(&ptp->time_counter, tstamp); in cavium_ptp_tstamp2time()
/linux/drivers/net/ethernet/intel/e1000e/
H A Dptp.c121 *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 Dnetdev.c503 ns = timecounter_cyc2time(&adapter->tc, systim); in e1000e_systim_to_hwtstamp()
/linux/include/linux/
H A Dtimecounter.h143 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 Dclock.h104 nsec = timecounter_cyc2time(&timer->tc, timestamp); in mlx5_timecounter_cyc2time()
/linux/drivers/net/can/rockchip/
H A Drockchip_canfd-timestamp.c24 ns = timecounter_cyc2time(&priv->tc, timestamp); in rkcanfd_skb_set_timestamp()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ptp.h185 ns = timecounter_cyc2time(&ptp->tc, ts); in bnxt_timecounter_cyc2time()
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_ptp.c170 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 Dhwtstamp.c293 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 Dptp.c235 ev.timestamp = timecounter_cyc2time(&chip->tstamp_tc, raw_ts); in mv88e6352_tai_event_work()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_clock.c68 nsec = timecounter_cyc2time(&mdev->clock, timestamp); in mlx4_en_get_hwtstamp()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_ptp.c177 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 Digb_main.c6966 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 Dionic_phc.c440 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 Dmcp251xfd-rx.c184 timestamp = timecounter_cyc2time(&priv->tc, hw_rx_obj->ts); in mcp251xfd_handle_rxif_one()
/linux/drivers/net/ethernet/freescale/
H A Dfec_ptp.c169 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 Dfec_main.c1475 ns = timecounter_cyc2time(&fep->tc, ts); in fec_enet_hwtstamp()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ptp.c435 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 Dotx2_ptp.c454 ptp_ptr->ptp_tstamp2nsec = timecounter_cyc2time; in otx2_ptp_init()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.c228 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 Dwx_ptp.c41 ns = timecounter_cyc2time(&wx->hw_tc, timestamp); in wx_ptp_timecounter_cyc2time()
/linux/drivers/net/ethernet/ti/
H A Dcpts.c128 event->timestamp = timecounter_cyc2time(&cpts->tc, event->low); in cpts_fifo_read()
/linux/drivers/net/can/usb/
H A Dgs_usb.c468 ns = timecounter_cyc2time(&parent->tc, timestamp); in gs_usb_skb_set_timestamp()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c15133 ns = timecounter_cyc2time(&bp->timecounter, timestamp); in bnx2x_ptp_task()
15167 ns = timecounter_cyc2time(&bp->timecounter, timestamp); in bnx2x_set_rx_ts()