Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/time/
H A Dtimecounter.c79 u64 timecounter_cyc2time(struct timecounter *tc, in timecounter_cyc2time() function
99 EXPORT_SYMBOL_GPL(timecounter_cyc2time);
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/e1000e/
H A 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()
H A Dnetdev.c498 ns = timecounter_cyc2time(&adapter->tc, systim); in e1000e_systim_to_hwtstamp()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dclock.h53 nsec = timecounter_cyc2time(&clock->tc, timestamp); in mlx5_timecounter_cyc2time()
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/common/
H A Dcavium_ptp.h38 ret = timecounter_cyc2time(&ptp->time_counter, tstamp); in cavium_ptp_tstamp2time()
/OK3568_Linux_fs/kernel/include/linux/
H A Dtimecounter.h127 extern u64 timecounter_cyc2time(struct timecounter *tc,
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qede/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/dsa/mv88e6xxx/
H A 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()
H A Dptp.c191 ev.timestamp = timecounter_cyc2time(&chip->tstamp_tc, raw_ts); in mv88e6352_tai_event_work()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ptp.c209 *tsns = timecounter_cyc2time(&pfvf->ptp->time_counter, tstamp); in otx2_ptp_tstamp2time()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/
H A Den_clock.c70 nsec = timecounter_cyc2time(&mdev->clock, timestamp); in mlx4_en_fill_hwtstamps()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igb/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/
H A Dfec_ptp.c141 ns = timecounter_cyc2time(&fep->tc, tempval); in fec_ptp_enable_pps()
H A Dfec_main.c1230 ns = timecounter_cyc2time(&fep->tc, ts); in fec_enet_hwtstamp()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/ti/
H A Dcpts.c128 event->timestamp = timecounter_cyc2time(&cpts->tc, event->low); in cpts_fifo_read()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-drv.c1478 nsec = timecounter_cyc2time(&pdata->tstamp_tc, in xgbe_tx_tstamp()
2643 nsec = timecounter_cyc2time(&pdata->tstamp_tc, in xgbe_rx_poll()
/OK3568_Linux_fs/kernel/android/
H A Dabi_gki_aarch64_imx1370 timecounter_cyc2time
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c15201 ns = timecounter_cyc2time(&bp->timecounter, timestamp); in bnx2x_ptp_task()
15235 ns = timecounter_cyc2time(&bp->timecounter, timestamp); in bnx2x_set_rx_ts()