Home
last modified time | relevance | path

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

12

/openbmc/linux/kernel/time/
H A Dtimecounter.c79 u64 timecounter_cyc2time(const struct timecounter *tc, in timecounter_cyc2time() function
99 EXPORT_SYMBOL_GPL(timecounter_cyc2time);
/openbmc/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()
285 vclock_ns = timecounter_cyc2time(&vclock->tc, ns); in ptp_convert_timestamp()
/openbmc/linux/drivers/net/ethernet/cavium/common/
H A Dcavium_ptp.h38 ret = timecounter_cyc2time(&ptp->time_counter, tstamp); in cavium_ptp_tstamp2time()
/openbmc/linux/include/linux/
H A Dtimecounter.h127 extern u64 timecounter_cyc2time(const struct timecounter *tc,
/openbmc/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()
174 ns = timecounter_cyc2time(&adapter->tc, cycles); in e1000e_phc_gettimex()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dclock.h74 nsec = timecounter_cyc2time(&timer->tc, timestamp); in mlx5_timecounter_cyc2time()
H A Dclock.c333 ns = timecounter_cyc2time(&timer->tc, cycles); in mlx5_ptp_gettimex()
516 nsec_now = timecounter_cyc2time(&timer->tc, cycles_now); in find_target_cycles()
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ptp.c154 ns = timecounter_cyc2time(&ptp->tc, cycles); in bnxt_ptp_gettimex()
251 ns = timecounter_cyc2time(&ptp->tc, pps_ts); in bnxt_ptp_pps_event()
393 nsec_now = timecounter_cyc2time(&ptp->tc, cycles_now); in bnxt_get_target_cycles()
690 ns = timecounter_cyc2time(&ptp->tc, ts); in bnxt_stamp_tx_skb()
/openbmc/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_ptp.c170 ns = timecounter_cyc2time(&ptp->tc, timestamp); in qede_ptp_task()
544 ns = timecounter_cyc2time(&ptp->tc, timestamp); in qede_ptp_rx_ts()
/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A Dhwtstamp.c297 ns = timecounter_cyc2time(&chip->tstamp_tc, ns); in mv88e6xxx_get_rxts()
417 ns = timecounter_cyc2time(&chip->tstamp_tc, time_raw); in mv88e6xxx_txtstamp_work()
H A Dptp.c247 ev.timestamp = timecounter_cyc2time(&chip->tstamp_tc, raw_ts); in mv88e6352_tai_event_work()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_clock.c68 nsec = timecounter_cyc2time(&mdev->clock, timestamp); in mlx4_en_get_hwtstamp()
/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_phc.c425 ns = timecounter_cyc2time(&phc->tc, tick); in ionic_phc_gettimex64()
476 ns = timecounter_cyc2time(&lif->phc->tc, tick); in ionic_lif_phc_ktime()
/openbmc/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()
588 now = timecounter_cyc2time(&igb->tc, systim); in igb_ptp_feature_enable_82580()
H A Digb_main.c6906 now = timecounter_cyc2time(&adapter->tc, systim); in igb_perout()
6980 ns = timecounter_cyc2time(&adapter->tc, ns); in igb_extts()
/openbmc/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()
H A Dmcp251xfd.h837 ns = timecounter_cyc2time(&priv->tc, ts_raw); in mcp251xfd_skb_set_timestamp_raw()
/openbmc/linux/drivers/net/ethernet/freescale/
H A Dfec_ptp.c165 ns = timecounter_cyc2time(&fep->tc, tempval); in fec_ptp_enable_pps()
241 curr_time = timecounter_cyc2time(&fep->tc, ptp_hc); in fec_ptp_pps_perout()
H A Dfec_main.c1402 ns = timecounter_cyc2time(&fep->tc, ts); in fec_enet_hwtstamp()
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ptp.c433 ns = timecounter_cyc2time(&adapter->hw_tc, timestamp); in ixgbe_ptp_convert_to_hwtstamp()
582 ns = timecounter_cyc2time(&adapter->hw_tc, stamp); in ixgbe_ptp_gettimex()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ptp.c439 ptp_ptr->ptp_tstamp2nsec = timecounter_cyc2time; in otx2_ptp_init()
/openbmc/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()
/openbmc/linux/drivers/net/ethernet/ti/
H A Dcpts.c128 event->timestamp = timecounter_cyc2time(&cpts->tc, event->low); in cpts_fifo_read()
/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-drv.c1495 nsec = timecounter_cyc2time(&pdata->tstamp_tc, in xgbe_tx_tstamp()
2651 nsec = timecounter_cyc2time(&pdata->tstamp_tc, in xgbe_rx_poll()
/openbmc/linux/drivers/net/can/usb/
H A Dgs_usb.c462 ns = timecounter_cyc2time(&parent->tc, timestamp); in gs_usb_skb_set_timestamp()

12