Home
last modified time | relevance | path

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

/openbmc/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()
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 vdata[CS_HRES_COARSE].cycle_last = tk->tkr_mono.cycle_last; in update_vdso_data()
28 vdata[CS_RAW].cycle_last = tk->tkr_raw.cycle_last; in update_vdso_data()
H A Dtimekeeping.c256 last = tkr->cycle_last; in timekeeping_get_delta()
292 delta = clocksource_delta(cycle_now, tkr->cycle_last, tkr->mask); in timekeeping_get_delta()
319 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()
397 delta = clocksource_delta(cycles, tkr->cycle_last, tkr->mask); in timekeeping_cycles_to_ns()
438 delta = clocksource_delta(cycles, tkr->cycle_last, tkr->mask); in fast_tk_get_delta_ns()
799 delta = clocksource_delta(cycle_now, tk->tkr_mono.cycle_last, tk->tkr_mono.mask); in timekeeping_forward_now()
800 tk->tkr_mono.cycle_last = cycle_now; in timekeeping_forward_now()
801 tk->tkr_raw.cycle_last = cycle_now; in timekeeping_forward_now()
1250 interval_start = tk->tkr_mono.cycle_last; in get_device_system_crosststamp()
[all …]
/openbmc/linux/arch/sparc/kernel/
H A Dvdso.c33 vdata->clock.cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall()
/openbmc/linux/sound/hda/
H A Dhdac_stream.c641 tc->cycle_last = last; in azx_timecounter_init()
662 u64 cycle_last = 0; in snd_hdac_stream_timecounter_init() local
666 azx_timecounter_init(s, inited, cycle_last); in snd_hdac_stream_timecounter_init()
669 cycle_last = s->tc.cycle_last; in snd_hdac_stream_timecounter_init()
/openbmc/linux/arch/sparc/include/asm/
H A Dvvar.h19 u64 cycle_last; member
/openbmc/linux/include/vdso/
H A Ddatapage.h94 u64 cycle_last; member
/openbmc/linux/include/linux/
H A Dtimekeeper_internal.h37 u64 cycle_last; member
H A Dtimecounter.h57 u64 cycle_last; member
/openbmc/linux/arch/sparc/vdso/
H A 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()
/openbmc/linux/lib/vdso/
H A Dgettimeofday.c77 last = vd->cycle_last; in do_hres_timens()
148 last = vd->cycle_last; in do_hres()
/openbmc/linux/arch/ia64/kernel/
H A Dtime.c442 fsyscall_gtod_data.clk_cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall()
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dclock.c202 clock_info->cycles = timer->tc.cycle_last; in mlx5_update_clock_info_page()
1000 info->cycles = timer->tc.cycle_last; in mlx5_init_clock_info()
/openbmc/linux/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()
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ptp.c883 ptp->tc.cycle_last = ns & ptp->cc.mask; in bnxt_ptp_rtc_timecounter_init()
/openbmc/linux/arch/x86/kvm/
H A Dx86.c2251 u64 cycle_last; member
2279 vdata->clock.cycle_last = tk->tkr_mono.cycle_last; in update_pvclock_gtod()
2287 vdata->raw_clock.cycle_last = tk->tkr_raw.cycle_last; in update_pvclock_gtod()
2798 u64 last = pvclock_gtod_data.clock.cycle_last; in read_tsc()
2827 v = (tsc_pg_val - clock->cycle_last) & in vgettsc()
2837 v = (*tsc_timestamp - clock->cycle_last) & in vgettsc()