/linux/kernel/time/ |
A D | timecounter.c | 79 u64 timecounter_cyc2time(const struct timecounter *tc, in timecounter_cyc2time() function 99 EXPORT_SYMBOL_GPL(timecounter_cyc2time);
|
/linux/drivers/net/ethernet/intel/e1000e/ |
A D | ptp.c | 133 *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()
|
A D | netdev.c | 499 ns = timecounter_cyc2time(&adapter->tc, systim); in e1000e_systim_to_hwtstamp()
|
/linux/drivers/net/ethernet/cavium/common/ |
A D | cavium_ptp.h | 38 ret = timecounter_cyc2time(&ptp->time_counter, tstamp); in cavium_ptp_tstamp2time()
|
/linux/include/linux/ |
A D | timecounter.h | 127 extern u64 timecounter_cyc2time(const struct timecounter *tc,
|
/linux/drivers/net/can/spi/mcp251xfd/ |
A D | mcp251xfd-timestamp.c | 48 ns = timecounter_cyc2time(&priv->tc, timestamp); in mcp251xfd_skb_set_timestamp()
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_ptp.c | 179 event.timestamp = timecounter_cyc2time(&ptp->time_counter, tstmp); in otx2_ptp_extts_check() 331 *tsns = timecounter_cyc2time(&pfvf->ptp->time_counter, tstamp); in otx2_ptp_tstamp2time()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
A D | clock.h | 74 nsec = timecounter_cyc2time(&timer->tc, timestamp); in mlx5_timecounter_cyc2time()
|
A D | clock.c | 268 ns = timecounter_cyc2time(&timer->tc, cycles); in mlx5_ptp_gettimex() 442 nsec_now = timecounter_cyc2time(&timer->tc, cycles_now); in find_target_cycles()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_ptp.c | 127 ns = timecounter_cyc2time(&ptp->tc, cycles); in bnxt_ptp_gettimex() 174 ns = timecounter_cyc2time(&ptp->tc, pps_ts); in bnxt_ptp_pps_event() 282 nsec_now = timecounter_cyc2time(&ptp->tc, cycles_now); in bnxt_get_target_cycles() 555 ns = timecounter_cyc2time(&ptp->tc, ts); in bnxt_stamp_tx_skb()
|
A D | bnxt.c | 1930 ns = timecounter_cyc2time(&ptp->tc, ts); in bnxt_rx_pkt()
|
/linux/drivers/net/ethernet/qlogic/qede/ |
A D | qede_ptp.c | 167 ns = timecounter_cyc2time(&ptp->tc, timestamp); in qede_ptp_task() 546 ns = timecounter_cyc2time(&ptp->tc, timestamp); in qede_ptp_rx_ts()
|
/linux/drivers/net/dsa/mv88e6xxx/ |
A D | hwtstamp.c | 301 ns = timecounter_cyc2time(&chip->tstamp_tc, ns); in mv88e6xxx_get_rxts() 421 ns = timecounter_cyc2time(&chip->tstamp_tc, time_raw); in mv88e6xxx_txtstamp_work()
|
A D | ptp.c | 191 ev.timestamp = timecounter_cyc2time(&chip->tstamp_tc, raw_ts); in mv88e6352_tai_event_work()
|
/linux/drivers/ptp/ |
A D | ptp_vclock.c | 214 ns = timecounter_cyc2time(&vclock->tc, ns); in ptp_convert_timestamp()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | en_clock.c | 70 nsec = timecounter_cyc2time(&mdev->clock, timestamp); in mlx4_en_fill_hwtstamps()
|
/linux/drivers/net/ethernet/pensando/ionic/ |
A D | ionic_phc.c | 425 ns = timecounter_cyc2time(&phc->tc, tick); in ionic_phc_gettimex64() 476 ns = timecounter_cyc2time(&lif->phc->tc, tick); in ionic_lif_phc_ktime()
|
/linux/drivers/net/ethernet/intel/igb/ |
A D | igb_ptp.c | 174 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/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_ptp.c | 430 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/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_ptp.c | 204 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/drivers/net/ethernet/freescale/ |
A D | fec_ptp.c | 145 ns = timecounter_cyc2time(&fep->tc, tempval); in fec_ptp_enable_pps()
|
A D | fec_main.c | 1271 ns = timecounter_cyc2time(&fep->tc, ts); in fec_enet_hwtstamp()
|
/linux/drivers/net/ethernet/ti/ |
A D | cpts.c | 128 event->timestamp = timecounter_cyc2time(&cpts->tc, event->low); in cpts_fifo_read()
|
/linux/drivers/net/ethernet/amd/xgbe/ |
A D | xgbe-drv.c | 1476 nsec = timecounter_cyc2time(&pdata->tstamp_tc, in xgbe_tx_tstamp() 2627 nsec = timecounter_cyc2time(&pdata->tstamp_tc, in xgbe_rx_poll()
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_main.c | 15128 ns = timecounter_cyc2time(&bp->timecounter, timestamp); in bnx2x_ptp_task() 15162 ns = timecounter_cyc2time(&bp->timecounter, timestamp); in bnx2x_set_rx_ts()
|