/openbmc/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);
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/linux/include/linux/ |
H A D | timecounter.h | 99 extern void timecounter_init(struct timecounter *tc,
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/linux/drivers/net/ethernet/cavium/common/ |
H A D | cavium_ptp.c | 194 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 D | fec_ptp.c | 327 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 D | qede_ptp.c | 115 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 D | otx2_ptp.c | 267 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 D | timer.c | 212 timecounter_init(&xilinx_tc, &xilinx_cc, sched_clock()); in init_xilinx_timecounter()
|
/openbmc/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | ptp.c | 317 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 D | ptp.c | 203 timecounter_init(&adapter->tc, &adapter->cc, ns); in e1000e_phc_settime()
|
/openbmc/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()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ptp.c | 70 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 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()
|
/openbmc/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()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | clock.c | 297 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 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()
|
/openbmc/linux/sound/hda/ |
H A D | hdac_stream.c | 635 timecounter_init(tc, cc, nsec); in azx_timecounter_init()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ptp.c | 243 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 D | igc_ptp.c | 1258 timecounter_init(&adapter->tc, &adapter->cc, in igc_ptp_reset()
|
/openbmc/linux/drivers/clocksource/ |
H A D | arm_arch_timer.c | 1147 timecounter_init(&arch_timer_kvm_info.timecounter, in arch_counter_register()
|
/openbmc/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()
|