Home
last modified time | relevance | path

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

/linux/kernel/time/
H A Dtimecounter.c8 void timecounter_init(struct timecounter *tc, in timecounter_init() function
18 EXPORT_SYMBOL_GPL(timecounter_init);
/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()
H A Dxgbe-dev.c1692 timecounter_init(&pdata->tstamp_tc, &pdata->tstamp_cc, in xgbe_config_tstamp()
/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()
/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()
/linux/include/linux/
H A Dtimecounter.h102 extern void timecounter_init(struct timecounter *tc,
/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()
/linux/drivers/net/can/rockchip/
H A Drockchip_canfd-timestamp.c92 timecounter_init(&priv->tc, &priv->cc, ktime_get_real_ns()); in rkcanfd_timestamp_start()
/linux/drivers/net/ethernet/freescale/
H A Dfec_ptp.c326 timecounter_init(&fep->tc, &fep->cc, 0); in fec_ptp_start_cyclecounter()
491 timecounter_init(&fep->tc, &fep->cc, ns); in fec_ptp_settime()
807 timecounter_init(&fep->tc, &fep->cc, ns); in fec_ptp_restore_state()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A 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/drivers/net/ethernet/qlogic/qede/
H A 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/drivers/net/dsa/mv88e6xxx/
H A 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/arch/microblaze/kernel/
H A Dtimer.c212 timecounter_init(&xilinx_tc, &xilinx_cc, sched_clock()); in init_xilinx_timecounter()
/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()
/linux/drivers/net/ethernet/intel/e1000e/
H A Dptp.c204 timecounter_init(&adapter->tc, &adapter->cc, ns); in e1000e_phc_settime()
H A Dnetdev.c3930 timecounter_init(&adapter->tc, &adapter->cc, in e1000e_systim_reset()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ptp.c71 timecounter_init(&ptp->tc, &ptp->cc, ns); in bnxt_ptp_settime()
987 timecounter_init(&ptp->tc, &ptp->cc, ktime_to_ns(ktime_get_real())); in bnxt_ptp_timecounter_init()
995 timecounter_init(&ptp->tc, &ptp->cc, ns); in bnxt_ptp_rtc_timecounter_init()
/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()
/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()
/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()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_ptp.c1311 timecounter_init(&adapter->tc, &adapter->cc, in igc_ptp_reset()
/linux/drivers/clocksource/
H A Darm_arch_timer.c1169 timecounter_init(&arch_timer_kvm_info.timecounter, in arch_counter_register()
/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()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c13784 timecounter_init(&bp->timecounter, &bp->cyclecounter, ns); in bnx2x_ptp_settime()
15447 timecounter_init(&bp->timecounter, &bp->cyclecounter, in bnx2x_init_ptp()