Home
last modified time | relevance | path

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

/linux/kernel/time/
H A Dtimekeeping.c343 tk->tkr_mono.cycle_last = tk_clock_read(&tk->tkr_mono); in tk_setup_internals()
347 tk->tkr_raw.cycle_last = tk->tkr_mono.cycle_last; in tk_setup_internals()
426 u64 mask = tkr->mask, delta = (cycles - tkr->cycle_last) & mask; in timekeeping_cycles_to_ns()
846 delta = clocksource_delta(cycle_now, tk->tkr_mono.cycle_last, tk->tkr_mono.mask, in timekeeping_forward_now()
848 tk->tkr_mono.cycle_last = cycle_now; in timekeeping_forward_now()
849 tk->tkr_raw.cycle_last = cycle_now; in timekeeping_forward_now()
909 base_cycles = tkrm->cycle_last; in ktime_expiry_to_cycles()
1427 *cycles = tk->tkr_mono.cycle_last + delta; in ktime_real_to_base_clock()
1491 interval_start = tk->tkr_mono.cycle_last; in get_device_system_crosststamp()
2136 tks->tkr_mono.cycle_last = cycle_now; in timekeeping_resume()
[all …]
H A Dvsyscall.c20 vc->cycle_last = base->cycle_last; in fill_clock_configuration()
/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/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.c62 u64 delta = (cycles - vc->cycle_last) & VDSO_DELTA_MASK(vc); in vdso_calc_ns()
/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.c1041 ptp->tc.cycle_last = ns & ptp->cc.mask; in bnxt_ptp_rtc_timecounter_init()
/linux/arch/x86/kvm/
H A Dx86.c2348 u64 cycle_last; member
2376 vdata->clock.cycle_last = tk->tkr_mono.cycle_last; in update_pvclock_gtod()
2384 vdata->raw_clock.cycle_last = tk->tkr_raw.cycle_last; in update_pvclock_gtod()
2913 u64 last = pvclock_gtod_data.clock.cycle_last; in read_tsc()
2942 v = (tsc_pg_val - clock->cycle_last) & in vgettsc()
2952 v = (*tsc_timestamp - clock->cycle_last) & in vgettsc()