Home
last modified time | relevance | path

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

12

/linux-6.12.1/kernel/time/
Dtimecounter.c8 void timecounter_init(struct timecounter *tc, in timecounter_init() function
18 EXPORT_SYMBOL_GPL(timecounter_init);
/linux-6.12.1/drivers/ptp/
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()
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()
/linux-6.12.1/drivers/net/ethernet/amd/xgbe/
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()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
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()
/linux-6.12.1/include/linux/
Dtimecounter.h102 extern void timecounter_init(struct timecounter *tc,
/linux-6.12.1/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-timestamp.c56 timecounter_init(&priv->tc, &priv->cc, ktime_get_real_ns()); in mcp251xfd_timestamp_start()
/linux-6.12.1/drivers/net/ethernet/cavium/common/
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()
/linux-6.12.1/drivers/net/can/rockchip/
Drockchip_canfd-timestamp.c92 timecounter_init(&priv->tc, &priv->cc, ktime_get_real_ns()); in rkcanfd_timestamp_start()
/linux-6.12.1/drivers/net/ethernet/freescale/
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()
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ptp.c268 timecounter_init(&ptp->time_counter, &ptp->cycle_counter, nsec); in otx2_ptp_tc_settime()
456 timecounter_init(&ptp_ptr->time_counter, &ptp_ptr->cycle_counter, in otx2_ptp_init()
/linux-6.12.1/drivers/net/ethernet/qlogic/qede/
Dqede_ptp.c115 timecounter_init(&ptp->tc, &ptp->cc, ns); in qede_ptp_settime()
421 timecounter_init(&ptp->tc, &ptp->cc, ktime_to_ns(ktime_get_real())); in qede_ptp_init()
/linux-6.12.1/drivers/net/dsa/mv88e6xxx/
Dptp.c321 timecounter_init(&chip->tstamp_tc, &chip->tstamp_cc, ns); in mv88e6xxx_ptp_settime()
535 timecounter_init(&chip->tstamp_tc, &chip->tstamp_cc, in mv88e6xxx_ptp_setup()
/linux-6.12.1/arch/microblaze/kernel/
Dtimer.c212 timecounter_init(&xilinx_tc, &xilinx_cc, sched_clock()); in init_xilinx_timecounter()
/linux-6.12.1/drivers/net/ethernet/pensando/ionic/
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()
/linux-6.12.1/drivers/net/ethernet/intel/e1000e/
Dptp.c204 timecounter_init(&adapter->tc, &adapter->cc, ns); in e1000e_phc_settime()
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ptp.c71 timecounter_init(&ptp->tc, &ptp->cc, ns); in bnxt_ptp_settime()
975 timecounter_init(&ptp->tc, &ptp->cc, ktime_to_ns(ktime_get_real())); in bnxt_ptp_timecounter_init()
981 timecounter_init(&ptp->tc, &ptp->cc, ns); in bnxt_ptp_rtc_timecounter_init()
/linux-6.12.1/drivers/net/ethernet/ti/
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()
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
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()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.c382 timecounter_init(&timer->tc, &timer->cycles, timespec64_to_ns(ts)); in mlx5_ptp_settime()
1031 timecounter_init(&timer->tc, &timer->cycles, in mlx5_timecounter_init()
/linux-6.12.1/drivers/net/ethernet/intel/igb/
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()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
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()
/linux-6.12.1/sound/hda/
Dhdac_stream.c646 timecounter_init(tc, cc, nsec); in azx_timecounter_init()
/linux-6.12.1/drivers/net/ethernet/intel/igc/
Digc_ptp.c1311 timecounter_init(&adapter->tc, &adapter->cc, in igc_ptp_reset()
/linux-6.12.1/drivers/clocksource/
Darm_arch_timer.c1169 timecounter_init(&arch_timer_kvm_info.timecounter, in arch_counter_register()

12