/linux/kernel/time/ |
H A D | timecounter.c | 8 void timecounter_init(struct timecounter *tc, in timecounter_init() function 18 EXPORT_SYMBOL_GPL(timecounter_init);
|
/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-ptp.c | 202 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 D | xgbe-dev.c | 1692 timecounter_init(&pdata->tstamp_tc, &pdata->tstamp_cc, in xgbe_config_tstamp()
|
/linux/drivers/ptp/ |
H A D | ptp_mock.c | 83 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 D | ptp_vclock.c | 119 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 D | en_clock.c | 208 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 D | timecounter.h | 102 extern void timecounter_init(struct timecounter *tc,
|
/linux/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-timestamp.c | 56 timecounter_init(&priv->tc, &priv->cc, ktime_get_real_ns()); in mcp251xfd_timestamp_start()
|
/linux/drivers/net/can/rockchip/ |
H A D | rockchip_canfd-timestamp.c | 92 timecounter_init(&priv->tc, &priv->cc, ktime_get_real_ns()); in rkcanfd_timestamp_start()
|
/linux/drivers/net/ethernet/freescale/ |
H A D | fec_ptp.c | 326 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 D | otx2_ptp.c | 268 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 D | qede_ptp.c | 115 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 D | ptp.c | 321 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 D | timer.c | 212 timecounter_init(&xilinx_tc, &xilinx_cc, sched_clock()); in init_xilinx_timecounter()
|
/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_phc.c | 396 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 D | ptp.c | 204 timecounter_init(&adapter->tc, &adapter->cc, ns); in e1000e_phc_settime()
|
H A D | netdev.c | 3930 timecounter_init(&adapter->tc, &adapter->cc, in e1000e_systim_reset()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ptp.c | 71 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 D | cpts.c | 269 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 D | ixgbe_ptp.c | 609 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 D | igb_ptp.c | 348 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 D | igc_ptp.c | 1311 timecounter_init(&adapter->tc, &adapter->cc, in igc_ptp_reset()
|
/linux/drivers/clocksource/ |
H A D | arm_arch_timer.c | 1169 timecounter_init(&arch_timer_kvm_info.timecounter, in arch_counter_register()
|
/linux/drivers/net/can/usb/ |
H A D | gs_usb.c | 479 timecounter_init(&parent->tc, &parent->cc, ktime_get_real_ns()); in gs_usb_timestamp_init()
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_main.c | 13784 timecounter_init(&bp->timecounter, &bp->cyclecounter, ns); in bnx2x_ptp_settime() 15447 timecounter_init(&bp->timecounter, &bp->cyclecounter, in bnx2x_init_ptp()
|