Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/time/
Dtimecounter.c79 u64 timecounter_cyc2time(struct timecounter *tc, in timecounter_cyc2time() function
99 EXPORT_SYMBOL_GPL(timecounter_cyc2time);
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.h53 nsec = timecounter_cyc2time(&clock->tc, timestamp); in mlx5_timecounter_cyc2time()
Dclock.c193 ns = timecounter_cyc2time(&clock->tc, cycles); in mlx5_ptp_gettimex()
358 nsec_now = timecounter_cyc2time(&clock->tc, cycles_now); in mlx5_perout_configure()
578 nsec_now = timecounter_cyc2time(&clock->tc, cycles_now); in mlx5_pps_event()
/Linux-v5.10/drivers/net/ethernet/cavium/common/
Dcavium_ptp.h38 ret = timecounter_cyc2time(&ptp->time_counter, tstamp); in cavium_ptp_tstamp2time()
/Linux-v5.10/include/linux/
Dtimecounter.h127 extern u64 timecounter_cyc2time(struct timecounter *tc,
/Linux-v5.10/drivers/net/ethernet/intel/e1000e/
Dptp.c133 *device = ns_to_ktime(timecounter_cyc2time(&adapter->tc, dev_cycles)); in e1000e_phc_get_syncdevicetime()
186 ns = timecounter_cyc2time(&adapter->tc, cycles); in e1000e_phc_gettimex()
Dnetdev.c536 ns = timecounter_cyc2time(&adapter->tc, systim); in e1000e_systim_to_hwtstamp()
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ptp.c209 *tsns = timecounter_cyc2time(&pfvf->ptp->time_counter, tstamp); in otx2_ptp_tstamp2time()
/Linux-v5.10/drivers/net/ethernet/qlogic/qede/
Dqede_ptp.c167 ns = timecounter_cyc2time(&ptp->tc, timestamp); in qede_ptp_task()
546 ns = timecounter_cyc2time(&ptp->tc, timestamp); in qede_ptp_rx_ts()
/Linux-v5.10/drivers/net/dsa/mv88e6xxx/
Dhwtstamp.c301 ns = timecounter_cyc2time(&chip->tstamp_tc, ns); in mv88e6xxx_get_rxts()
421 ns = timecounter_cyc2time(&chip->tstamp_tc, time_raw); in mv88e6xxx_txtstamp_work()
Dptp.c191 ev.timestamp = timecounter_cyc2time(&chip->tstamp_tc, raw_ts); in mv88e6352_tai_event_work()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/
Den_clock.c70 nsec = timecounter_cyc2time(&mdev->clock, timestamp); in mlx4_en_fill_hwtstamps()
/Linux-v5.10/drivers/net/ethernet/intel/igb/
Digb_ptp.c174 ns = timecounter_cyc2time(&adapter->tc, systim); in igb_ptp_systim_to_hwtstamp()
298 ns = timecounter_cyc2time(&igb->tc, ((u64)hi << 32) | lo); in igb_ptp_gettimex_82576()
326 ns = timecounter_cyc2time(&igb->tc, ((u64)hi << 32) | lo); in igb_ptp_gettimex_82580()
/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c430 ns = timecounter_cyc2time(&adapter->hw_tc, timestamp); in ixgbe_ptp_convert_to_hwtstamp()
592 ns = timecounter_cyc2time(&adapter->hw_tc, stamp); in ixgbe_ptp_gettimex()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.c204 nsec = timecounter_cyc2time(&clock->tc, cycles); in mlxsw_sp1_ptp_gettimex()
445 nsec = timecounter_cyc2time(&mlxsw_sp->clock->tc, timestamp); in mlxsw_sp1_packet_timestamp()
/Linux-v5.10/drivers/net/ethernet/freescale/
Dfec_ptp.c145 ns = timecounter_cyc2time(&fep->tc, tempval); in fec_ptp_enable_pps()
Dfec_main.c1228 ns = timecounter_cyc2time(&fep->tc, ts); in fec_enet_hwtstamp()
/Linux-v5.10/drivers/net/ethernet/ti/
Dcpts.c128 event->timestamp = timecounter_cyc2time(&cpts->tc, event->low); in cpts_fifo_read()
/Linux-v5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c1475 nsec = timecounter_cyc2time(&pdata->tstamp_tc, in xgbe_tx_tstamp()
2630 nsec = timecounter_cyc2time(&pdata->tstamp_tc, in xgbe_rx_poll()
/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c15177 ns = timecounter_cyc2time(&bp->timecounter, timestamp); in bnx2x_ptp_task()
15211 ns = timecounter_cyc2time(&bp->timecounter, timestamp); in bnx2x_set_rx_ts()