Home
last modified time | relevance | path

Searched refs:cyc2ns_shift (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/arch/x86/kernel/
Dtsc.c184 data->cyc2ns_shift = 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()
268 if (data->cyc2ns_shift == 32) { in set_cyc2ns_scale()
269 data->cyc2ns_shift = 31; 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/
Dtimer.h28 u32 cyc2ns_shift; member
/linux-4.4.14/arch/x86/platform/uv/
Dtlb_uv.c446 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/
Dperf_event.c2160 userpg->time_shift = data->cyc2ns_shift; in arch_perf_update_userpage()