Searched refs:cyc2ns_mul (Results 1 – 4 of 4) sorted by relevance
/linux-4.4.14/arch/x86/kernel/ |
D | tsc.c | 183 data->cyc2ns_mul = 0; in cyc2ns_data_init() 218 ns += mul_u64_u32_shr(cyc, data->cyc2ns_mul, data->cyc2ns_shift); in cycles_2_ns() 225 ns += mul_u64_u32_shr(cyc, data->cyc2ns_mul, data->cyc2ns_shift); in cycles_2_ns() 259 clocks_calc_mult_shift(&data->cyc2ns_mul, &data->cyc2ns_shift, cpu_khz, in set_cyc2ns_scale() 270 data->cyc2ns_mul >>= 1; in set_cyc2ns_scale() 274 mul_u64_u32_shr(tsc_now, data->cyc2ns_mul, data->cyc2ns_shift); in set_cyc2ns_scale()
|
/linux-4.4.14/arch/x86/include/asm/ |
D | timer.h | 27 u32 cyc2ns_mul; member
|
/linux-4.4.14/arch/x86/platform/uv/ |
D | tlb_uv.c | 446 ns = mul_u64_u32_shr(cyc, data->cyc2ns_mul, data->cyc2ns_shift); in cycles_2_ns() 460 cyc = (ns << data->cyc2ns_shift) / data->cyc2ns_mul; in ns_2_cycles()
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | perf_event.c | 2159 userpg->time_mult = data->cyc2ns_mul; in arch_perf_update_userpage()
|