Home
last modified time | relevance | path

Searched refs:timecounter (Results 1 – 22 of 22) sorted by relevance

/Linux-v4.19/include/linux/
Dtimecounter.h64 struct timecounter { struct
93 static inline void timecounter_adjtime(struct timecounter *tc, s64 delta) in 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-v4.19/kernel/time/
Dtimecounter.c21 void timecounter_init(struct timecounter *tc, in timecounter_init()
44 static u64 timecounter_read_delta(struct timecounter *tc) in timecounter_read_delta()
65 u64 timecounter_read(struct timecounter *tc) in timecounter_read()
92 u64 timecounter_cyc2time(struct timecounter *tc, in timecounter_cyc2time()
DMakefile4 obj-y += timeconv.o timecounter.o alarmtimer.o
/Linux-v4.19/virt/kvm/arm/
Darch_timer.c35 static struct timecounter *timecounter; variable
58 return timecounter->cc->read(timecounter->cc); in kvm_phys_timer_read()
132 ns = cyclecounter_cyc2ns(timecounter->cc, in kvm_timer_compute_delta()
134 timecounter->mask, in kvm_timer_compute_delta()
135 &timecounter->frac); in kvm_timer_compute_delta()
740 timecounter = &info->timecounter; in kvm_timer_hyp_init()
742 if (!timecounter->cc) { in kvm_timer_hyp_init()
/Linux-v4.19/include/clocksource/
Darm_arch_timer.h75 struct timecounter timecounter; member
/Linux-v4.19/drivers/net/ethernet/cavium/common/
Dcavium_ptp.h18 struct timecounter time_counter;
/Linux-v4.19/drivers/net/ethernet/ti/
Dcpts.h121 struct timecounter tc;
/Linux-v4.19/arch/microblaze/kernel/
Dtimer.c199 static struct timecounter xilinx_tc = {
/Linux-v4.19/drivers/net/ethernet/freescale/
Dfec.h558 struct timecounter tc;
/Linux-v4.19/drivers/net/dsa/mv88e6xxx/
Dchip.h272 struct timecounter tstamp_tc;
/Linux-v4.19/drivers/net/ethernet/intel/e1000e/
De1000.h326 struct timecounter tc;
/Linux-v4.19/drivers/net/ethernet/qlogic/qede/
Dqede_ptp.c38 struct timecounter tc;
/Linux-v4.19/drivers/net/ethernet/intel/igb/
Digb.h558 struct timecounter tc;
/Linux-v4.19/sound/hda/
Dhdac_stream.c478 struct timecounter *tc = &azx_dev->tc; in azx_timecounter_init()
/Linux-v4.19/include/sound/
Dhdaudio.h504 struct timecounter tc;
/Linux-v4.19/drivers/net/ethernet/amd/xgbe/
Dxgbe.h1206 struct timecounter tstamp_tc;
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dmlx4_en.h435 struct timecounter clock;
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h720 struct timecounter hw_tc;
/Linux-v4.19/include/linux/mlx5/
Ddriver.h809 struct timecounter tc;
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h1836 struct timecounter timecounter; member
Dbnx2x_main.c13830 timecounter_adjtime(&bp->timecounter, delta); in bnx2x_ptp_adjtime()
13846 ns = timecounter_read(&bp->timecounter); in bnx2x_ptp_gettime()
13872 timecounter_init(&bp->timecounter, &bp->cyclecounter, ns); in bnx2x_ptp_settime()
15225 ns = timecounter_cyc2time(&bp->timecounter, timestamp); in bnx2x_ptp_task()
15257 ns = timecounter_cyc2time(&bp->timecounter, timestamp); in bnx2x_set_rx_ts()
15526 timecounter_init(&bp->timecounter, &bp->cyclecounter, in bnx2x_init_ptp()
/Linux-v4.19/drivers/clocksource/
Darm_arch_timer.c948 timecounter_init(&arch_timer_kvm_info.timecounter, in arch_counter_register()