Home
last modified time | relevance | path

Searched refs:cycle_last (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.4/kernel/time/
Dtimecounter.c13 tc->cycle_last = cc->read(cc); in timecounter_init()
40 cycle_delta = (cycle_now - tc->cycle_last) & tc->cc->mask; in timecounter_read_delta()
47 tc->cycle_last = cycle_now; in timecounter_read_delta()
82 u64 delta = (cycle_tstamp - tc->cycle_last) & tc->cc->mask; in timecounter_cyc2time()
91 delta = (tc->cycle_last - cycle_tstamp) & tc->cc->mask; in timecounter_cyc2time()
Dvsyscall.c22 vdata[CS_HRES_COARSE].cycle_last = tk->tkr_mono.cycle_last; in update_vdso_data()
26 vdata[CS_RAW].cycle_last = tk->tkr_raw.cycle_last; in update_vdso_data()
Dtimekeeping.c234 last = tkr->cycle_last; in timekeeping_get_delta()
270 delta = clocksource_delta(cycle_now, tkr->cycle_last, tkr->mask); in timekeeping_get_delta()
297 tk->tkr_mono.cycle_last = tk_clock_read(&tk->tkr_mono); in tk_setup_internals()
301 tk->tkr_raw.cycle_last = tk->tkr_mono.cycle_last; in tk_setup_internals()
383 delta = clocksource_delta(cycles, tkr->cycle_last, tkr->mask); in timekeeping_cycles_to_ns()
465 tkr->cycle_last, in __ktime_get_fast_ns()
531 tkr->cycle_last, in __ktime_get_real_fast_ns()
702 delta = clocksource_delta(cycle_now, tk->tkr_mono.cycle_last, tk->tkr_mono.mask); in timekeeping_forward_now()
703 tk->tkr_mono.cycle_last = cycle_now; in timekeeping_forward_now()
704 tk->tkr_raw.cycle_last = cycle_now; in timekeeping_forward_now()
[all …]
/Linux-v5.4/arch/sparc/kernel/
Dvdso.c34 vdata->clock.cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall()
/Linux-v5.4/sound/hda/
Dhdac_stream.c547 tc->cycle_last = last; in azx_timecounter_init()
568 u64 cycle_last = 0; in snd_hdac_stream_timecounter_init() local
573 azx_timecounter_init(s, inited, cycle_last); in snd_hdac_stream_timecounter_init()
576 cycle_last = s->tc.cycle_last; in snd_hdac_stream_timecounter_init()
/Linux-v5.4/include/vdso/
Ddatapage.h63 u64 cycle_last; member
/Linux-v5.4/arch/sparc/include/asm/
Dvvar.h18 u64 cycle_last; member
/Linux-v5.4/include/linux/
Dtimecounter.h57 u64 cycle_last; member
Dtimekeeper_internal.h37 u64 cycle_last; member
/Linux-v5.4/arch/sparc/vdso/
Dvclock_gettime.c132 v = (cycles - vvar->clock.cycle_last) & vvar->clock.mask; in vgetsns()
142 v = (cycles - vvar->clock.cycle_last) & vvar->clock.mask; in vgetsns_stick()
/Linux-v5.4/arch/powerpc/kernel/
Dtime.c892 u64 cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall() local
955 vdso_data->tb_orig_stamp = cycle_last; in update_vsyscall()
/Linux-v5.4/lib/vdso/
Dgettimeofday.c52 last = vd->cycle_last; in do_hres()
/Linux-v5.4/arch/nds32/kernel/
Dvdso.c215 vdso_data->cs_cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall()
/Linux-v5.4/arch/arm/kernel/
Dvdso.c327 vdso_data->cs_cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.c91 clock_info->cycles = clock->tc.cycle_last; in mlx5_update_clock_info_page()
559 mdev->clock_info->cycles = clock->tc.cycle_last; in mlx5_init_clock()
/Linux-v5.4/arch/ia64/kernel/
Dtime.c440 fsyscall_gtod_data.clk_cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall()
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c197 clock_edge = adapter->hw_tc.cycle_last; in ixgbe_ptp_setup_sdp_X540()
280 clock_edge = adapter->hw_tc.cycle_last; in ixgbe_ptp_setup_sdp_X550()
/Linux-v5.4/arch/s390/kernel/
Dtime.c286 vdso_data->xtime_tod_stamp = tk->tkr_mono.cycle_last; in update_vsyscall()
/Linux-v5.4/arch/x86/kvm/
Dx86.c1561 u64 cycle_last; member
1585 vdata->clock.cycle_last = tk->tkr_mono.cycle_last; in update_pvclock_gtod()
2001 u64 last = pvclock_gtod_data.clock.cycle_last; in read_tsc()
2031 v = (tsc_pg_val - gtod->clock.cycle_last) & in vgettsc()
2041 v = (*tsc_timestamp - gtod->clock.cycle_last) & in vgettsc()