Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/kernel/time/
A Dtimecounter.c79 u64 timecounter_cyc2time(const struct timecounter *tc, in timecounter_cyc2time() function
99 EXPORT_SYMBOL_GPL(timecounter_cyc2time);
/linux-6.3-rc2/drivers/ptp/
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()
/linux-6.3-rc2/drivers/net/ethernet/cavium/common/
A Dcavium_ptp.h38 ret = timecounter_cyc2time(&ptp->time_counter, tstamp); in cavium_ptp_tstamp2time()
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_ptp.c207 event.timestamp = timecounter_cyc2time(&ptp->time_counter, tstmp); in otx2_ptp_extts_check()
232 ptp->tstamp = timecounter_cyc2time(&pfvf->ptp->time_counter, tstamp); in otx2_sync_tstamp()
390 *tsns = timecounter_cyc2time(&pfvf->ptp->time_counter, tstamp); in otx2_ptp_tstamp2time()
/linux-6.3-rc2/include/linux/
A Dtimecounter.h127 extern u64 timecounter_cyc2time(const struct timecounter *tc,
/linux-6.3-rc2/drivers/net/ethernet/intel/e1000e/
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()
A Dnetdev.c503 ns = timecounter_cyc2time(&adapter->tc, systim); in e1000e_systim_to_hwtstamp()
/linux-6.3-rc2/drivers/net/can/spi/mcp251xfd/
A Dmcp251xfd-timestamp.c48 ns = timecounter_cyc2time(&priv->tc, timestamp); in mcp251xfd_skb_set_timestamp()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dclock.h74 nsec = timecounter_cyc2time(&timer->tc, timestamp); in mlx5_timecounter_cyc2time()
A Dclock.c300 ns = timecounter_cyc2time(&timer->tc, cycles); in mlx5_ptp_gettimex()
486 nsec_now = timecounter_cyc2time(&timer->tc, cycles_now); in find_target_cycles()
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_ptp.c154 ns = timecounter_cyc2time(&ptp->tc, cycles); in bnxt_ptp_gettimex()
246 ns = timecounter_cyc2time(&ptp->tc, pps_ts); in bnxt_ptp_pps_event()
388 nsec_now = timecounter_cyc2time(&ptp->tc, cycles_now); in bnxt_get_target_cycles()
686 ns = timecounter_cyc2time(&ptp->tc, ts); in bnxt_stamp_tx_skb()
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qede/
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()
/linux-6.3-rc2/drivers/net/dsa/mv88e6xxx/
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()
A Dptp.c192 ev.timestamp = timecounter_cyc2time(&chip->tstamp_tc, raw_ts); in mv88e6352_tai_event_work()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/
A Den_clock.c68 nsec = timecounter_cyc2time(&mdev->clock, timestamp); in mlx4_en_get_hwtstamp()
/linux-6.3-rc2/drivers/net/ethernet/pensando/ionic/
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()
/linux-6.3-rc2/drivers/net/ethernet/intel/igb/
A Digb_ptp.c176 ns = timecounter_cyc2time(&adapter->tc, systim); in igb_ptp_systim_to_hwtstamp()
282 ns = timecounter_cyc2time(&igb->tc, ((u64)hi << 32) | lo); in igb_ptp_gettimex_82576()
310 ns = timecounter_cyc2time(&igb->tc, ((u64)hi << 32) | lo); in igb_ptp_gettimex_82580()
593 now = timecounter_cyc2time(&igb->tc, systim); in igb_ptp_feature_enable_82580()
/linux-6.3-rc2/drivers/net/ethernet/freescale/
A Dfec_ptp.c143 ns = timecounter_cyc2time(&fep->tc, tempval); in fec_ptp_enable_pps()
225 curr_time = timecounter_cyc2time(&fep->tc, ptp_hc); in fec_ptp_pps_perout()
A Dfec_main.c1367 ns = timecounter_cyc2time(&fep->tc, ts); in fec_enet_hwtstamp()
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbe/
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()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_ptp.c227 nsec = timecounter_cyc2time(&clock->tc, cycles); in mlxsw_sp1_ptp_gettimex()
623 nsec = timecounter_cyc2time(&clock->tc, timestamp); in mlxsw_sp1_packet_timestamp()
/linux-6.3-rc2/drivers/net/ethernet/ti/
A Dcpts.c128 event->timestamp = timecounter_cyc2time(&cpts->tc, event->low); in cpts_fifo_read()
/linux-6.3-rc2/drivers/net/ethernet/amd/xgbe/
A Dxgbe-drv.c1481 nsec = timecounter_cyc2time(&pdata->tstamp_tc, in xgbe_tx_tstamp()
2637 nsec = timecounter_cyc2time(&pdata->tstamp_tc, in xgbe_rx_poll()
/linux-6.3-rc2/drivers/net/can/usb/
A Dgs_usb.c452 ns = timecounter_cyc2time(&dev->tc, timestamp); in gs_usb_skb_set_timestamp()
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_main.c15142 ns = timecounter_cyc2time(&bp->timecounter, timestamp); in bnx2x_ptp_task()
15176 ns = timecounter_cyc2time(&bp->timecounter, timestamp); in bnx2x_set_rx_ts()

Completed in 79 milliseconds

12