Home
last modified time | relevance | path

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

/linux-6.15/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()
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()
H A Dvsyscall.c24 vc[CS_HRES_COARSE].cycle_last = tk->tkr_mono.cycle_last; in update_vdso_time_data()
31 vc[CS_RAW].cycle_last = tk->tkr_raw.cycle_last; in update_vdso_time_data()
H A Dtimekeeping.c279 tk->tkr_raw.cycle_last = tk->tkr_mono.cycle_last; in tk_setup_internals()
724 tk->tkr_mono.cycle_last = cycle_now; in timekeeping_forward_now()
725 tk->tkr_raw.cycle_last = cycle_now; in timekeeping_forward_now()
1231 *cycles = tk->tkr_mono.cycle_last + delta; in ktime_real_to_base_clock()
1295 interval_start = tk->tkr_mono.cycle_last; in get_device_system_crosststamp()
1858 tks->tkr_mono.cycle_last = cycle_now; in timekeeping_resume()
1859 tks->tkr_raw.cycle_last = cycle_now; in timekeeping_resume()
1905 cycle_now = tks->tkr_mono.cycle_last; in timekeeping_suspend()
2158 tk->tkr_mono.cycle_last += interval; in logarithmic_accumulation()
2159 tk->tkr_raw.cycle_last += interval; in logarithmic_accumulation()
[all …]
/linux-6.15/arch/sparc/kernel/
H A Dvdso.c33 vdata->clock.cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall()
/linux-6.15/sound/hda/
H A Dhdac_stream.c668 tc->cycle_last = last; in azx_timecounter_init()
690 u64 cycle_last = 0; in snd_hdac_stream_timecounter_init() local
697 azx_timecounter_init(s, inited, cycle_last); in snd_hdac_stream_timecounter_init()
700 cycle_last = s->tc.cycle_last; in snd_hdac_stream_timecounter_init()
/linux-6.15/arch/sparc/include/asm/
H A Dvvar.h19 u64 cycle_last; member
/linux-6.15/include/linux/
H A Dtimekeeper_internal.h37 u64 cycle_last; member
H A Dtimecounter.h57 u64 cycle_last; member
/linux-6.15/include/vdso/
H A Ddatapage.h101 u64 cycle_last; member
/linux-6.15/arch/sparc/vdso/
H A Dvclock_gettime.c152 v = (cycles - vvar->clock.cycle_last) & vvar->clock.mask; in vgetsns()
162 v = (cycles - vvar->clock.cycle_last) & vvar->clock.mask; in vgetsns_stick()
/linux-6.15/arch/x86/include/asm/vdso/
H A Dgettimeofday.h305 u64 delta = cycles - vc->cycle_last; in vdso_calc_ns()
/linux-6.15/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-6.15/lib/vdso/
H A Dgettimeofday.c44 u64 delta = (cycles - vc->cycle_last) & VDSO_DELTA_MASK(vc); in vdso_calc_ns()
/linux-6.15/drivers/net/ethernet/pensando/ionic/
H A Dionic_phc.c308 ctx->cmd.lif_setphc.tick = cpu_to_le64(phc->tc.cycle_last); in ionic_setphc_cmd()
/linux-6.15/drivers/net/ethernet/wangxun/libwx/
H A Dwx_ptp.c343 wx->pps_edge_start = wx->hw_tc.cycle_last; in wx_ptp_trigger_calc()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dclock.c370 clock_info->cycles = timer->tc.cycle_last; in mlx5_update_clock_info_page()
1215 info->cycles = timer->tc.cycle_last; in mlx5_init_clock_info()
/linux-6.15/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ptp.c1018 ptp->tc.cycle_last = ns & ptp->cc.mask; in bnxt_ptp_rtc_timecounter_init()
/linux-6.15/arch/x86/kvm/
H A Dx86.c2215 u64 cycle_last; member
2243 vdata->clock.cycle_last = tk->tkr_mono.cycle_last; in update_pvclock_gtod()
2251 vdata->raw_clock.cycle_last = tk->tkr_raw.cycle_last; in update_pvclock_gtod()
2780 u64 last = pvclock_gtod_data.clock.cycle_last; in read_tsc()
2809 v = (tsc_pg_val - clock->cycle_last) & in vgettsc()
2819 v = (*tsc_timestamp - clock->cycle_last) & in vgettsc()