Searched refs:cyc2ns_shift (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/arch/x86/kernel/cpu/ |
D | vmware.c | 85 vmware_cyc2ns.cyc2ns_shift); in vmware_sched_clock() 95 clocks_calc_mult_shift(&d->cyc2ns_mul, &d->cyc2ns_shift, in vmware_sched_clock_setup() 98 d->cyc2ns_shift); in vmware_sched_clock_setup()
|
/Linux-v4.19/arch/x86/kernel/ |
D | tsc.c | 73 data->cyc2ns_shift = this_cpu_read(cyc2ns.data[idx].cyc2ns_shift); in cyc2ns_read_begin() 115 ns += mul_u64_u32_shr(cyc, data.cyc2ns_mul, data.cyc2ns_shift); in cycles_2_ns() 135 clocks_calc_mult_shift(&data.cyc2ns_mul, &data.cyc2ns_shift, khz, in __set_cyc2ns_scale() 144 if (data.cyc2ns_shift == 32) { in __set_cyc2ns_scale() 145 data.cyc2ns_shift = 31; in __set_cyc2ns_scale() 150 mul_u64_u32_shr(tsc_now, data.cyc2ns_mul, data.cyc2ns_shift); in __set_cyc2ns_scale()
|
/Linux-v4.19/arch/x86/include/asm/ |
D | timer.h | 31 u32 cyc2ns_shift; member
|
/Linux-v4.19/arch/x86/platform/uv/ |
D | tlb_uv.c | 462 ns = mul_u64_u32_shr(cyc, data.cyc2ns_mul, data.cyc2ns_shift); in cycles_2_ns() 477 cyc = (ns << data.cyc2ns_shift) / data.cyc2ns_mul; in ns_2_cycles()
|
/Linux-v4.19/arch/x86/events/ |
D | core.c | 2327 userpg->time_shift = data.cyc2ns_shift; in arch_perf_update_userpage()
|