Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dtimecounter.h55 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/
Dtimecounter.c8 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()
DMakefile4 obj-y += timeconv.o timecounter.o alarmtimer.o
/Linux-v5.4/include/clocksource/
Darm_arch_timer.h64 struct timecounter timecounter; member
/Linux-v5.4/virt/kvm/arm/
Darch_timer.c24 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/
Dcavium_ptp.h18 struct timecounter time_counter;
/Linux-v5.4/drivers/net/ethernet/ti/
Dcpts.h109 struct timecounter tc;
/Linux-v5.4/drivers/net/dsa/sja1105/
Dsja1105.h100 struct timecounter tstamp_tc;
/Linux-v5.4/arch/microblaze/kernel/
Dtimer.c199 static struct timecounter xilinx_tc = {
/Linux-v5.4/drivers/net/ethernet/freescale/
Dfec.h557 struct timecounter tc;
/Linux-v5.4/drivers/net/ethernet/intel/e1000e/
De1000.h326 struct timecounter tc;
/Linux-v5.4/drivers/net/dsa/mv88e6xxx/
Dchip.h302 struct timecounter tstamp_tc;
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.c65 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/
Dqede_ptp.c39 struct timecounter tc;
/Linux-v5.4/drivers/net/ethernet/intel/igb/
Digb.h558 struct timecounter tc;
/Linux-v5.4/sound/hda/
Dhdac_stream.c520 struct timecounter *tc = &azx_dev->tc; in azx_timecounter_init()
/Linux-v5.4/include/sound/
Dhdaudio.h500 struct timecounter tc;
/Linux-v5.4/drivers/net/ethernet/amd/xgbe/
Dxgbe.h1206 struct timecounter tstamp_tc;
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Dmlx4_en.h434 struct timecounter clock;
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h730 struct timecounter hw_tc;
/Linux-v5.4/include/linux/mlx5/
Ddriver.h655 struct timecounter tc;
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h1837 struct timecounter timecounter; member
Dbnx2x_main.c13860 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/
Darm_arch_timer.c993 timecounter_init(&arch_timer_kvm_info.timecounter, in arch_counter_register()