/Linux-v5.4/include/linux/ |
D | timecounter.h | 55 struct timecounter { struct 84 static inline void timecounter_adjtime(struct timecounter *tc, s64 delta) in timecounter_adjtime() 99 extern void timecounter_init(struct timecounter *tc, 111 extern u64 timecounter_read(struct timecounter *tc); 127 extern u64 timecounter_cyc2time(struct timecounter *tc,
|
/Linux-v5.4/kernel/time/ |
D | timecounter.c | 8 void timecounter_init(struct timecounter *tc, in timecounter_init() 31 static u64 timecounter_read_delta(struct timecounter *tc) in timecounter_read_delta() 52 u64 timecounter_read(struct timecounter *tc) in timecounter_read() 79 u64 timecounter_cyc2time(struct timecounter *tc, in timecounter_cyc2time()
|
D | Makefile | 4 obj-y += timeconv.o timecounter.o alarmtimer.o
|
/Linux-v5.4/include/clocksource/ |
D | arm_arch_timer.h | 64 struct timecounter timecounter; member
|
/Linux-v5.4/virt/kvm/arm/ |
D | arch_timer.c | 24 static struct timecounter *timecounter; variable 56 return timecounter->cc->read(timecounter->cc); in kvm_phys_timer_read() 133 ns = cyclecounter_cyc2ns(timecounter->cc, in kvm_timer_compute_delta() 135 timecounter->mask, in kvm_timer_compute_delta() 136 &timecounter->frac); in kvm_timer_compute_delta() 901 timecounter = &info->timecounter; in kvm_timer_hyp_init() 903 if (!timecounter->cc) { in kvm_timer_hyp_init()
|
/Linux-v5.4/drivers/net/ethernet/cavium/common/ |
D | cavium_ptp.h | 18 struct timecounter time_counter;
|
/Linux-v5.4/drivers/net/ethernet/ti/ |
D | cpts.h | 109 struct timecounter tc;
|
/Linux-v5.4/drivers/net/dsa/sja1105/ |
D | sja1105.h | 100 struct timecounter tstamp_tc;
|
/Linux-v5.4/arch/microblaze/kernel/ |
D | timer.c | 199 static struct timecounter xilinx_tc = {
|
/Linux-v5.4/drivers/net/ethernet/freescale/ |
D | fec.h | 557 struct timecounter tc;
|
/Linux-v5.4/drivers/net/ethernet/intel/e1000e/ |
D | e1000.h | 326 struct timecounter tc;
|
/Linux-v5.4/drivers/net/dsa/mv88e6xxx/ |
D | chip.h | 302 struct timecounter tstamp_tc;
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ptp.c | 65 struct timecounter tc; 114 static u64 mlxsw_sp1_ptp_ns2cycles(const struct timecounter *tc, u64 nsec) in mlxsw_sp1_ptp_ns2cycles()
|
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/ |
D | qede_ptp.c | 39 struct timecounter tc;
|
/Linux-v5.4/drivers/net/ethernet/intel/igb/ |
D | igb.h | 558 struct timecounter tc;
|
/Linux-v5.4/sound/hda/ |
D | hdac_stream.c | 520 struct timecounter *tc = &azx_dev->tc; in azx_timecounter_init()
|
/Linux-v5.4/include/sound/ |
D | hdaudio.h | 500 struct timecounter tc;
|
/Linux-v5.4/drivers/net/ethernet/amd/xgbe/ |
D | xgbe.h | 1206 struct timecounter tstamp_tc;
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/ |
D | mlx4_en.h | 434 struct timecounter clock;
|
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe.h | 730 struct timecounter hw_tc;
|
/Linux-v5.4/include/linux/mlx5/ |
D | driver.h | 655 struct timecounter tc;
|
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x.h | 1837 struct timecounter timecounter; member
|
D | bnx2x_main.c | 13860 timecounter_adjtime(&bp->timecounter, delta); in bnx2x_ptp_adjtime() 13876 ns = timecounter_read(&bp->timecounter); in bnx2x_ptp_gettime() 13902 timecounter_init(&bp->timecounter, &bp->cyclecounter, ns); in bnx2x_ptp_settime() 15251 ns = timecounter_cyc2time(&bp->timecounter, timestamp); in bnx2x_ptp_task() 15285 ns = timecounter_cyc2time(&bp->timecounter, timestamp); in bnx2x_set_rx_ts() 15566 timecounter_init(&bp->timecounter, &bp->cyclecounter, in bnx2x_init_ptp()
|
/Linux-v5.4/drivers/clocksource/ |
D | arm_arch_timer.c | 993 timecounter_init(&arch_timer_kvm_info.timecounter, in arch_counter_register()
|