Home
last modified time | relevance | path

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

/openbmc/linux/kernel/time/
H A Dtimecounter.c52 u64 timecounter_read(struct timecounter *tc) in timecounter_read() function
63 EXPORT_SYMBOL_GPL(timecounter_read);
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_clock.c112 timecounter_read(&mdev->clock); in mlx4_en_ptp_overflow_check()
138 timecounter_read(&mdev->clock); in mlx4_en_phc_adjfine()
182 ns = timecounter_read(&mdev->clock); in mlx4_en_phc_gettime()
/openbmc/linux/drivers/net/ethernet/freescale/
H A Dfec_ptp.c155 timecounter_read(&fep->tc); in fec_ptp_enable_pps()
235 timecounter_read(&fep->tc); in fec_ptp_pps_perout()
401 timecounter_read(&fep->tc); in fec_ptp_adjfine()
450 ns = timecounter_read(&fep->tc); in fec_ptp_gettime()
570 curr_time = timecounter_read(&fep->tc); in fec_ptp_enable()
657 timecounter_read(&fep->tc); in fec_time_keep()
776 fep->ptp_saved_state.ns_phc = timecounter_read(&fep->tc); in fec_ptp_save_state()
/openbmc/linux/drivers/ptp/
H A Dptp_mock.c58 timecounter_read(&phc->tc); in mock_phc_adjfine()
95 ns = timecounter_read(&phc->tc); in mock_phc_gettime64()
H A Dptp_vclock.c53 timecounter_read(&vclock->tc); in ptp_vclock_adjfine()
80 ns = timecounter_read(&vclock->tc); in ptp_vclock_gettime()
/openbmc/linux/include/linux/
H A Dtimecounter.h111 extern u64 timecounter_read(struct timecounter *tc);
/openbmc/linux/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-timestamp.c36 timecounter_read(&priv->tc); in mcp251xfd_timestamp_work()
H A Dmcp251xfd-ring.c209 rx_ring->last_valid = timecounter_read(&priv->tc); in mcp251xfd_ring_init_rx()
/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-ptp.c180 nsec = timecounter_read(&pdata->tstamp_tc); in xgbe_gettime()
/openbmc/linux/drivers/net/ethernet/ti/
H A Dcpts.c136 timecounter_read(&cpts->tc); in cpts_fifo_read()
252 ns = timecounter_read(&cpts->tc); in cpts_ptp_gettimeex()
402 ns = timecounter_read(&cpts->tc); in cpts_overflow_check()
/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A Dptp.c274 timecounter_read(&chip->tstamp_tc); in mv88e6xxx_ptp_adjfine()
300 ns = timecounter_read(&chip->tstamp_tc); in mv88e6xxx_ptp_gettime()
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ptp.c199 ns = timecounter_read(&adapter->hw_tc); in ixgbe_ptp_setup_sdp_X540()
282 ns = timecounter_read(&adapter->hw_tc); in ixgbe_ptp_setup_sdp_X550()
697 timecounter_read(&adapter->hw_tc); in ixgbe_ptp_overflow_check()
/openbmc/linux/drivers/net/ethernet/intel/e1000e/
H A Dptp.c234 ns = timecounter_read(&adapter->tc); in e1000e_systim_overflow_work()
/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_phc.c341 timecounter_read(&phc->tc); in ionic_phc_adjfine()
453 timecounter_read(&phc->tc); in ionic_phc_aux_work()
/openbmc/linux/drivers/net/ethernet/cavium/common/
H A Dcavium_ptp.c170 nsec = timecounter_read(&clock->time_counter); in cavium_ptp_gettime()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.c198 timecounter_read(&clock->tc); in mlxsw_sp1_ptp_adjfine()
213 nsec = timecounter_read(&clock->tc); in mlxsw_sp1_ptp_adjtime()
244 nsec = timecounter_read(&clock->tc); in mlxsw_sp1_ptp_settime()
268 timecounter_read(&clock->tc); in mlxsw_sp1_ptp_clock_overflow()
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ptp.c237 timecounter_read(&ptp->tc); in bnxt_ptp_adjfine()
721 timecounter_read(&ptp->tc); in bnxt_ptp_ts_aux_work()
/openbmc/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_ptp.c89 ns = timecounter_read(&ptp->tc); in qede_ptp_gettime()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ptp.c250 tstamp = timecounter_read(&ptp->time_counter); in otx2_ptp_tc_gettime()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dclock.c256 timecounter_read(&timer->tc); in mlx5_timestamp_overflow()
434 timecounter_read(&timer->tc); in mlx5_ptp_adjfine()
/openbmc/linux/sound/pci/hda/
H A Dhda_controller.c506 nsec = timecounter_read(&azx_dev->core.tc); in azx_get_time_info()
/openbmc/linux/sound/soc/intel/skylake/
H A Dskl-pcm.c1255 nsec = timecounter_read(&hstr->tc); in skl_platform_soc_get_time_info()
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A Digb_ptp.c854 ns = timecounter_read(&igb->tc); in igb_ptp_overflow_check()
/openbmc/linux/drivers/net/can/usb/
H A Dgs_usb.c447 timecounter_read(&parent->tc); in gs_usb_timestamp_work()
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c13758 ns = timecounter_read(&bp->timecounter); in bnx2x_ptp_gettime()