Home
last modified time | relevance | path

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

12

/openbmc/linux/kernel/time/
H A Dtimecounter.c8 void timecounter_init(struct timecounter *tc, in timecounter_init() function
18 EXPORT_SYMBOL_GPL(timecounter_init);
/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-ptp.c202 timecounter_init(&pdata->tstamp_tc, &pdata->tstamp_cc, nsec); in xgbe_settime()
254 timecounter_init(&pdata->tstamp_tc, &pdata->tstamp_cc, in xgbe_ptp_register()
/openbmc/linux/drivers/ptp/
H A Dptp_mock.c83 timecounter_init(&phc->tc, &phc->cc, ns); in mock_phc_settime64()
148 timecounter_init(&phc->tc, &phc->cc, 0); in mock_phc_create()
H A Dptp_vclock.c119 timecounter_init(&vclock->tc, &vclock->cc, ns); in ptp_vclock_settime()
216 timecounter_init(&vclock->tc, &vclock->cc, 0); in ptp_vclock_register()
/openbmc/linux/include/linux/
H A Dtimecounter.h99 extern void timecounter_init(struct timecounter *tc,
/openbmc/linux/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-timestamp.c56 timecounter_init(&priv->tc, &priv->cc, ktime_get_real_ns()); in mcp251xfd_timestamp_start()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_clock.c208 timecounter_init(&mdev->clock, &mdev->cycles, ns); in mlx4_en_phc_settime()
284 timecounter_init(&mdev->clock, &mdev->cycles, in mlx4_en_init_timestamp()
/openbmc/linux/drivers/net/ethernet/cavium/common/
H A Dcavium_ptp.c194 timecounter_init(&clock->time_counter, &clock->cycle_counter, nsec); in cavium_ptp_settime()
256 timecounter_init(&clock->time_counter, &clock->cycle_counter, in cavium_ptp_probe()
/openbmc/linux/drivers/net/ethernet/freescale/
H A Dfec_ptp.c327 timecounter_init(&fep->tc, &fep->cc, 0); in fec_ptp_start_cyclecounter()
492 timecounter_init(&fep->tc, &fep->cc, ns); in fec_ptp_settime()
806 timecounter_init(&fep->tc, &fep->cc, ns); in fec_ptp_restore_state()
/openbmc/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_ptp.c115 timecounter_init(&ptp->tc, &ptp->cc, ns); in qede_ptp_settime()
428 timecounter_init(&ptp->tc, &ptp->cc, ktime_to_ns(ktime_get_real())); in qede_ptp_init()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ptp.c267 timecounter_init(&ptp->time_counter, &ptp->cycle_counter, nsec); in otx2_ptp_tc_settime()
441 timecounter_init(&ptp_ptr->time_counter, &ptp_ptr->cycle_counter, in otx2_ptp_init()
/openbmc/linux/arch/microblaze/kernel/
H A Dtimer.c212 timecounter_init(&xilinx_tc, &xilinx_cc, sched_clock()); in init_xilinx_timecounter()
/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A Dptp.c317 timecounter_init(&chip->tstamp_tc, &chip->tstamp_cc, ns); in mv88e6xxx_ptp_settime()
531 timecounter_init(&chip->tstamp_tc, &chip->tstamp_cc, in mv88e6xxx_ptp_setup()
/openbmc/linux/drivers/net/ethernet/intel/e1000e/
H A Dptp.c203 timecounter_init(&adapter->tc, &adapter->cc, ns); in e1000e_phc_settime()
/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_phc.c396 timecounter_init(&phc->tc, &phc->cc, ns); in ionic_phc_settime64()
618 timecounter_init(&phc->tc, &phc->cc, ktime_get_real_ns()); in ionic_lif_alloc_phc()
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ptp.c70 timecounter_init(&ptp->tc, &ptp->cc, ns); in bnxt_ptp_settime()
875 timecounter_init(&ptp->tc, &ptp->cc, ktime_to_ns(ktime_get_real())); in bnxt_ptp_timecounter_init()
881 timecounter_init(&ptp->tc, &ptp->cc, ns); in bnxt_ptp_rtc_timecounter_init()
/openbmc/linux/drivers/net/ethernet/ti/
H A Dcpts.c269 timecounter_init(&cpts->tc, &cpts->cc, ns); in cpts_ptp_settime()
566 timecounter_init(&cpts->tc, &cpts->cc, ktime_get_real_ns()); in cpts_register()
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ptp.c609 timecounter_init(&adapter->hw_tc, &adapter->hw_cc, ns); in ixgbe_ptp_settime()
1341 timecounter_init(&adapter->hw_tc, &adapter->hw_cc, in ixgbe_ptp_reset()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dclock.c297 timecounter_init(&timer->tc, &timer->cycles, timespec64_to_ns(ts)); in mlx5_ptp_settime()
945 timecounter_init(&timer->tc, &timer->cycles, in mlx5_timecounter_init()
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A Digb_ptp.c348 timecounter_init(&igb->tc, &igb->cc, ns); in igb_ptp_settime_82576()
1515 timecounter_init(&adapter->tc, &adapter->cc, in igb_ptp_reset()
/openbmc/linux/sound/hda/
H A Dhdac_stream.c635 timecounter_init(tc, cc, nsec); in azx_timecounter_init()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.c243 timecounter_init(&clock->tc, &clock->cycles, nsec); in mlxsw_sp1_ptp_settime()
293 timecounter_init(&clock->tc, &clock->cycles, 0); in mlxsw_sp1_ptp_clock_init()
/openbmc/linux/drivers/net/ethernet/intel/igc/
H A Digc_ptp.c1258 timecounter_init(&adapter->tc, &adapter->cc, in igc_ptp_reset()
/openbmc/linux/drivers/clocksource/
H A Darm_arch_timer.c1147 timecounter_init(&arch_timer_kvm_info.timecounter, in arch_counter_register()
/openbmc/linux/drivers/net/can/usb/
H A Dgs_usb.c479 timecounter_init(&parent->tc, &parent->cc, ktime_get_real_ns()); in gs_usb_timestamp_init()

12