Searched refs:cycle_last (Results 1 – 17 of 17) sorted by relevance
/kernel/linux/linux-5.10/kernel/time/ |
D | timecounter.c | 13 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()
|
D | vsyscall.c | 24 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()
|
D | timekeeping.c | 256 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() 405 delta = clocksource_delta(cycles, tkr->cycle_last, tkr->mask); in timekeeping_cycles_to_ns() 487 tkr->cycle_last, in __ktime_get_fast_ns() 552 tkr->cycle_last, tkr->mask)); in __ktime_get_real_fast() 778 delta = clocksource_delta(cycle_now, tk->tkr_mono.cycle_last, tk->tkr_mono.mask); in timekeeping_forward_now() 779 tk->tkr_mono.cycle_last = cycle_now; in timekeeping_forward_now() 780 tk->tkr_raw.cycle_last = cycle_now; in timekeeping_forward_now() [all …]
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | vdso.c | 33 vdata->clock.cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall()
|
/kernel/linux/linux-5.10/sound/hda/ |
D | hdac_stream.c | 584 tc->cycle_last = last; in azx_timecounter_init() 605 u64 cycle_last = 0; in snd_hdac_stream_timecounter_init() local 610 azx_timecounter_init(s, inited, cycle_last); in snd_hdac_stream_timecounter_init() 613 cycle_last = s->tc.cycle_last; in snd_hdac_stream_timecounter_init()
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
D | vvar.h | 19 u64 cycle_last; member
|
/kernel/linux/linux-5.10/include/vdso/ |
D | datapage.h | 94 u64 cycle_last; member
|
/kernel/linux/linux-5.10/include/linux/ |
D | timekeeper_internal.h | 37 u64 cycle_last; member
|
D | timecounter.h | 57 u64 cycle_last; member
|
/kernel/linux/linux-5.10/arch/sparc/vdso/ |
D | vclock_gettime.c | 132 v = (cycles - vvar->clock.cycle_last) & vvar->clock.mask; in vgetsns() 142 v = (cycles - vvar->clock.cycle_last) & vvar->clock.mask; in vgetsns_stick()
|
/kernel/linux/linux-5.10/lib/vdso/ |
D | gettimeofday.c | 75 last = vd->cycle_last; in do_hres_timens() 145 last = vd->cycle_last; in do_hres()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | time.c | 839 u64 cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall() local 902 vdso_data->tb_orig_stamp = cycle_last; in update_vsyscall()
|
/kernel/linux/linux-5.10/arch/nds32/kernel/ |
D | vdso.c | 215 vdso_data->cs_cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall()
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
D | time.c | 435 fsyscall_gtod_data.clk_cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | clock.c | 115 clock_info->cycles = timer->tc.cycle_last; in mlx5_update_clock_info_page() 679 info->cycles = timer->tc.cycle_last; in mlx5_init_clock_info()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ptp.c | 197 clock_edge = adapter->hw_tc.cycle_last; in ixgbe_ptp_setup_sdp_X540() 280 clock_edge = adapter->hw_tc.cycle_last; in ixgbe_ptp_setup_sdp_X550()
|
/kernel/linux/linux-5.10/arch/x86/kvm/ |
D | x86.c | 1935 u64 cycle_last; member 1963 vdata->clock.cycle_last = tk->tkr_mono.cycle_last; in update_pvclock_gtod() 1971 vdata->raw_clock.cycle_last = tk->tkr_raw.cycle_last; in update_pvclock_gtod() 2406 u64 last = pvclock_gtod_data.clock.cycle_last; in read_tsc() 2436 v = (tsc_pg_val - clock->cycle_last) & in vgettsc() 2446 v = (*tsc_timestamp - clock->cycle_last) & in vgettsc()
|