Home
last modified time | relevance | path

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

/linux-6.12.1/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.c24 vdata[CS_HRES_COARSE].cycle_last = tk->tkr_mono.cycle_last; in update_vdso_data()
31 vdata[CS_RAW].cycle_last = tk->tkr_raw.cycle_last; in update_vdso_data()
Dtimekeeping.c258 last = tkr->cycle_last; in timekeeping_debug_get_ns()
310 tk->tkr_mono.cycle_last = tk_clock_read(&tk->tkr_mono); in tk_setup_internals()
314 tk->tkr_raw.cycle_last = tk->tkr_mono.cycle_last; in tk_setup_internals()
372 u64 mask = tkr->mask, delta = (cycles - tkr->cycle_last) & mask; in timekeeping_cycles_to_ns()
796 delta = clocksource_delta(cycle_now, tk->tkr_mono.cycle_last, tk->tkr_mono.mask); in timekeeping_forward_now()
797 tk->tkr_mono.cycle_last = cycle_now; in timekeeping_forward_now()
798 tk->tkr_raw.cycle_last = cycle_now; in timekeeping_forward_now()
1291 *cycles = tk->tkr_mono.cycle_last + delta; in ktime_real_to_base_clock()
1355 interval_start = tk->tkr_mono.cycle_last; in get_device_system_crosststamp()
1951 tk->tkr_mono.cycle_last = cycle_now; in timekeeping_resume()
[all …]
/linux-6.12.1/arch/sparc/kernel/
Dvdso.c33 vdata->clock.cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall()
/linux-6.12.1/sound/hda/
Dhdac_stream.c652 tc->cycle_last = last; in azx_timecounter_init()
674 u64 cycle_last = 0; in snd_hdac_stream_timecounter_init() local
681 azx_timecounter_init(s, inited, cycle_last); in snd_hdac_stream_timecounter_init()
684 cycle_last = s->tc.cycle_last; in snd_hdac_stream_timecounter_init()
/linux-6.12.1/arch/sparc/include/asm/
Dvvar.h19 u64 cycle_last; member
/linux-6.12.1/include/linux/
Dtimekeeper_internal.h37 u64 cycle_last; member
Dtimecounter.h57 u64 cycle_last; member
/linux-6.12.1/include/vdso/
Ddatapage.h99 u64 cycle_last; member
/linux-6.12.1/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-6.12.1/arch/x86/include/asm/vdso/
Dgettimeofday.h322 u64 delta = cycles - vd->cycle_last; in vdso_calc_ns()
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c200 clock_edge = adapter->hw_tc.cycle_last; in ixgbe_ptp_setup_sdp_X540()
283 clock_edge = adapter->hw_tc.cycle_last; in ixgbe_ptp_setup_sdp_X550()
/linux-6.12.1/lib/vdso/
Dgettimeofday.c41 u64 delta = (cycles - vd->cycle_last) & VDSO_DELTA_MASK(vd); in vdso_calc_ns()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.c287 clock_info->cycles = timer->tc.cycle_last; in mlx5_update_clock_info_page()
1086 info->cycles = timer->tc.cycle_last; in mlx5_init_clock_info()
/linux-6.12.1/drivers/net/ethernet/pensando/ionic/
Dionic_phc.c308 ctx->cmd.lif_setphc.tick = cpu_to_le64(phc->tc.cycle_last); in ionic_setphc_cmd()
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ptp.c983 ptp->tc.cycle_last = ns & ptp->cc.mask; in bnxt_ptp_rtc_timecounter_init()
/linux-6.12.1/arch/x86/kvm/
Dx86.c2249 u64 cycle_last; member
2277 vdata->clock.cycle_last = tk->tkr_mono.cycle_last; in update_pvclock_gtod()
2285 vdata->raw_clock.cycle_last = tk->tkr_raw.cycle_last; in update_pvclock_gtod()
2807 u64 last = pvclock_gtod_data.clock.cycle_last; in read_tsc()
2836 v = (tsc_pg_val - clock->cycle_last) & in vgettsc()
2846 v = (*tsc_timestamp - clock->cycle_last) & in vgettsc()