Home
last modified time | relevance | path

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

/linux/kernel/time/
H A 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()
H A Dtimekeeping.c319 tk->tkr_mono.cycle_last = tk_clock_read(&tk->tkr_mono); in tk_setup_internals()
323 tk->tkr_raw.cycle_last = tk->tkr_mono.cycle_last; in tk_setup_internals()
381 u64 mask = tkr->mask, delta = (cycles - tkr->cycle_last) & mask; in timekeeping_cycles_to_ns()
770 delta = clocksource_delta(cycle_now, tk->tkr_mono.cycle_last, tk->tkr_mono.mask, in timekeeping_forward_now()
772 tk->tkr_mono.cycle_last = cycle_now; in timekeeping_forward_now()
773 tk->tkr_raw.cycle_last = cycle_now; in timekeeping_forward_now()
1284 *cycles = tk->tkr_mono.cycle_last + delta; in ktime_real_to_base_clock()
1348 interval_start = tk->tkr_mono.cycle_last; in get_device_system_crosststamp()
1981 tks->tkr_mono.cycle_last = cycle_now; in timekeeping_resume()
1982 tks->tkr_raw.cycle_last = cycle_now; in timekeeping_resume()
[all …]
H A Dvsyscall.c20 vc->cycle_last = base->cycle_last; in fill_clock_configuration()
/linux/arch/sparc/kernel/
H A Dvdso.c33 vdata->clock.cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall()
/linux/sound/hda/core/
H A Dstream.c666 tc->cycle_last = last; in azx_timecounter_init()
688 u64 cycle_last = 0; in snd_hdac_stream_timecounter_init() local
695 azx_timecounter_init(s, inited, cycle_last); in snd_hdac_stream_timecounter_init()
698 cycle_last = s->tc.cycle_last; in snd_hdac_stream_timecounter_init()
/linux/arch/sparc/include/asm/
H A Dvvar.h19 u64 cycle_last; member
/linux/include/linux/
H A Dtimecounter.h49 * @cycle_last: most recent cycle counter value seen by
57 u64 cycle_last; member
146 u64 delta = (cycle_tstamp - tc->cycle_last) & cc->mask;
151 * tc->cycle_last, detect when it is too far in the future and
155 delta = (tc->cycle_last - cycle_tstamp) & cc->mask;
H A Dtimekeeper_internal.h53 u64 cycle_last; member
/linux/include/vdso/
H A Ddatapage.h104 u64 cycle_last; member
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ptp.c201 clock_edge = adapter->hw_tc.cycle_last; in ixgbe_ptp_setup_sdp_X540()
284 clock_edge = adapter->hw_tc.cycle_last; in ixgbe_ptp_setup_sdp_X550()
/linux/lib/vdso/
H A Dgettimeofday.c45 u64 delta = (cycles - vc->cycle_last) & VDSO_DELTA_MASK(vc); in vdso_calc_ns()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dclock.c428 clock_info->cycles = timer->tc.cycle_last; in mlx5_update_clock_info_page()
1278 info->cycles = timer->tc.cycle_last; in mlx5_init_clock_info()
/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_ptp.c345 wx->pps_edge_start = wx->hw_tc.cycle_last; in wx_ptp_trigger_calc()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ptp.c1060 ptp->tc.cycle_last = ns & ptp->cc.mask; in bnxt_ptp_rtc_timecounter_init()
/linux/arch/x86/kvm/
H A Dx86.c2346 u64 cycle_last; member
2374 vdata->clock.cycle_last = tk->tkr_mono.cycle_last; in update_pvclock_gtod()
2382 vdata->raw_clock.cycle_last = tk->tkr_raw.cycle_last; in update_pvclock_gtod()
2911 u64 last = pvclock_gtod_data.clock.cycle_last; in read_tsc()
2940 v = (tsc_pg_val - clock->cycle_last) & in vgettsc()
2950 v = (*tsc_timestamp - clock->cycle_last) & in vgettsc()