/linux-4.4.14/kernel/time/ |
H A D | timecounter.c | 2 * linux/kernel/time/timecounter.c 19 #include <linux/timecounter.h> 21 void timecounter_init(struct timecounter *tc, timecounter_init() 44 static u64 timecounter_read_delta(struct timecounter *tc) timecounter_read_delta() 65 u64 timecounter_read(struct timecounter *tc) timecounter_read() 92 u64 timecounter_cyc2time(struct timecounter *tc, timecounter_cyc2time()
|
/linux-4.4.14/include/clocksource/ |
H A D | arm_arch_timer.h | 19 #include <linux/timecounter.h> 50 extern struct timecounter *arch_timer_get_timecounter(void); 64 static inline struct timecounter *arch_timer_get_timecounter(void) arch_timer_get_timecounter()
|
/linux-4.4.14/include/linux/ |
H A D | timecounter.h | 2 * linux/include/linux/timecounter.h 47 * struct timecounter - layer above a %struct cyclecounter which counts nanoseconds 64 struct timecounter { struct 93 static inline void timecounter_adjtime(struct timecounter *tc, s64 delta) timecounter_adjtime() 108 extern void timecounter_init(struct timecounter *tc, 120 extern u64 timecounter_read(struct timecounter *tc); 136 extern u64 timecounter_cyc2time(struct timecounter *tc,
|
/linux-4.4.14/virt/kvm/arm/ |
H A D | arch_timer.c | 33 static struct timecounter *timecounter; variable in typeref:struct:timecounter 39 return timecounter->cc->read(timecounter->cc); kvm_phys_timer_read() 108 ns = cyclecounter_cyc2ns(timecounter->cc, kvm_timer_compute_delta() 110 timecounter->mask, kvm_timer_compute_delta() 111 &timecounter->frac); kvm_timer_compute_delta() 422 timecounter = arch_timer_get_timecounter(); kvm_timer_hyp_init() 423 if (!timecounter) kvm_timer_hyp_init() 494 if (timecounter && wqueue) kvm_timer_enable()
|
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/ |
H A D | ptp.c | 86 * Adjust the timer by resetting the timecounter structure. 106 * Read the timecounter and return the correct value in ns after converting 130 * Reset the timecounter to use a new base value instead of the kernel 143 /* reset the timecounter */ e1000e_phc_settime()
|
H A D | e1000.h | 37 #include <linux/timecounter.h> 346 struct timecounter tc;
|
H A D | netdev.c | 532 * If the time stamp is valid, convert it into the timecounter ns value
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_clock.c | 144 * Adjust the timer by resetting the timecounter structure. 164 * Read the timecounter and return the correct value in ns after converting 189 * Reset the timecounter to use a new base value instead of the kernel 200 /* reset the timecounter */ mlx4_en_phc_settime()
|
H A D | mlx4_en.h | 410 struct timecounter clock;
|
/linux-4.4.14/drivers/net/ethernet/ti/ |
H A D | cpts.h | 30 #include <linux/timecounter.h> 120 struct timecounter tc;
|
/linux-4.4.14/arch/microblaze/kernel/ |
H A D | timer.c | 20 #include <linux/timecounter.h> 197 static struct timecounter xilinx_tc = { 241 /* register timecounter - for ftrace support */ xilinx_clocksource_init()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ptp.c | 42 * nanoseconds the cyclecounter and timecounter structures are 257 * adjust the timer by resetting the timecounter structure. 279 * read the timecounter and return the correct value on ns, 303 * reset the timecounter to use a new base value instead of the kernel 316 /* reset the timecounter */ ixgbe_ptp_settime() 399 * this watchdog task periodically reads the timecounter 456 * if the timestamp is valid, we convert it into the timecounter ns 521 * if the timestamp is valid, we convert it into the timecounter ns 721 * is. It does not directly modify SYSTIME registers or the timecounter
|
H A D | ixgbe.h | 41 #include <linux/timecounter.h> 759 struct timecounter tc;
|
/linux-4.4.14/drivers/clocksource/ |
H A D | arm_arch_timer.c | 450 static struct timecounter timecounter; variable in typeref:struct:timecounter 452 struct timecounter *arch_timer_get_timecounter(void) arch_timer_get_timecounter() 454 return &timecounter; arch_timer_get_timecounter() 482 timecounter_init(&timecounter, &cyclecounter, start_count); arch_counter_register()
|
/linux-4.4.14/drivers/net/ethernet/freescale/ |
H A D | fec_ptp.c | 255 * this function initializes the timecounter and cyclecounter 369 * adjust the timer by resetting the timecounter structure. 389 * read the timecounter and return the correct value on ns, 413 * reset the timecounter to use a new base value instead of the kernel
|
H A D | fec.h | 19 #include <linux/timecounter.h> 533 struct timecounter tc;
|
/linux-4.4.14/sound/hda/ |
H A D | hdac_stream.c | 478 struct timecounter *tc = &azx_dev->tc; azx_timecounter_init() 489 * last after reading the timecounter value. azx_timecounter_init() 502 * force timecounter to use predefined value, azx_timecounter_init()
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
H A D | igb.h | 32 #include <linux/timecounter.h> 441 struct timecounter tc;
|
/linux-4.4.14/sound/pci/hda/ |
H A D | hda_controller.h | 18 #include <linux/timecounter.h>
|
/linux-4.4.14/include/sound/ |
H A D | hdaudio.h | 10 #include <linux/timecounter.h> 424 struct timecounter tc;
|
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-ptp.c | 260 /* Setup the timecounter */ xgbe_ptp_register()
|
H A D | xgbe.h | 127 #include <linux/timecounter.h> 872 struct timecounter tstamp_tc;
|
H A D | xgbe-dev.c | 1284 /* Initialize the timecounter */ xgbe_config_tstamp()
|
/linux-4.4.14/arch/alpha/kernel/ |
H A D | time.c | 257 * a half-hearted attempt in init_rtc_rpcc_info to sync the timecounter
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x.h | 27 #include <linux/timecounter.h> 1936 struct timecounter timecounter; member in struct:bnx2x
|
H A D | bnx2x_main.c | 13710 timecounter_adjtime(&bp->timecounter, delta); bnx2x_ptp_adjtime() 13720 ns = timecounter_read(&bp->timecounter); bnx2x_ptp_gettime() 13739 /* Re-init the timecounter */ bnx2x_ptp_settime() 13740 timecounter_init(&bp->timecounter, &bp->cyclecounter, ns); bnx2x_ptp_settime() 15086 ns = timecounter_cyc2time(&bp->timecounter, timestamp); bnx2x_ptp_task() 15118 ns = timecounter_cyc2time(&bp->timecounter, timestamp); bnx2x_set_rx_ts() 15380 /* Init cyclecounter and timecounter. This is done only in the first bnx2x_init_ptp() 15386 timecounter_init(&bp->timecounter, &bp->cyclecounter, bnx2x_init_ptp()
|
/linux-4.4.14/include/linux/mlx4/ |
H A D | device.h | 45 #include <linux/timecounter.h>
|