Home
last modified time | relevance | path

Searched refs:cyc2ns_mul (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kernel/cpu/
H A Dvmware.c149 ns = mul_u64_u32_shr(rdtsc(), vmware_cyc2ns.cyc2ns_mul, in vmware_sched_clock()
160 clocks_calc_mult_shift(&d->cyc2ns_mul, &d->cyc2ns_shift, in vmware_cyc2ns_setup()
162 d->cyc2ns_offset = mul_u64_u32_shr(tsc_now, d->cyc2ns_mul, in vmware_cyc2ns_setup()
240 return mul_u64_u32_shr(clock, vmware_cyc2ns.cyc2ns_mul, in vmware_steal_clock()
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/
H A Dvmware.c150 ns = mul_u64_u32_shr(rdtsc(), vmware_cyc2ns.cyc2ns_mul, in vmware_sched_clock()
161 clocks_calc_mult_shift(&d->cyc2ns_mul, &d->cyc2ns_shift, in vmware_cyc2ns_setup()
163 d->cyc2ns_offset = mul_u64_u32_shr(tsc_now, d->cyc2ns_mul, in vmware_cyc2ns_setup()
241 return mul_u64_u32_shr(clock, vmware_cyc2ns.cyc2ns_mul, in vmware_steal_clock()
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dtimer.h30 u32 cyc2ns_mul; member
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dtimer.h30 u32 cyc2ns_mul; member
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dtsc.c80 data->cyc2ns_mul = this_cpu_read(cyc2ns.data[idx].cyc2ns_mul); in cyc2ns_read_begin()
123 ns += mul_u64_u32_shr(cyc, data.cyc2ns_mul, data.cyc2ns_shift); in cycles_2_ns()
143 clocks_calc_mult_shift(&data.cyc2ns_mul, &data.cyc2ns_shift, khz, in __set_cyc2ns_scale()
154 data.cyc2ns_mul >>= 1; in __set_cyc2ns_scale()
158 mul_u64_u32_shr(tsc_now, data.cyc2ns_mul, data.cyc2ns_shift); in __set_cyc2ns_scale()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Dtsc.c81 data->cyc2ns_mul = this_cpu_read(cyc2ns.data[idx].cyc2ns_mul); in __cyc2ns_read()
130 ns += mul_u64_u32_shr(cyc, data.cyc2ns_mul, data.cyc2ns_shift); in __cycles_2_ns()
157 clocks_calc_mult_shift(&data.cyc2ns_mul, &data.cyc2ns_shift, khz, in __set_cyc2ns_scale()
168 data.cyc2ns_mul >>= 1; in __set_cyc2ns_scale()
172 mul_u64_u32_shr(tsc_now, data.cyc2ns_mul, data.cyc2ns_shift); in __set_cyc2ns_scale()
/kernel/linux/linux-5.10/arch/x86/events/
H A Dcore.c2520 userpg->time_mult = data.cyc2ns_mul; in arch_perf_update_userpage()
/kernel/linux/linux-6.6/arch/x86/events/
H A Dcore.c2730 userpg->time_mult = data.cyc2ns_mul; in arch_perf_update_userpage()

Completed in 12 milliseconds