Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dmath64.h170 #ifndef mul_u64_u64_shr
171 static __always_inline u64 mul_u64_u64_shr(u64 a, u64 mul, unsigned int shift) in mul_u64_u64_shr() function
196 #ifndef mul_u64_u64_shr
197 static inline u64 mul_u64_u64_shr(u64 a, u64 b, unsigned int shift) in mul_u64_u64_shr() function
251 ret = mul_u64_u64_shr(abs(a), b, shift); in mul_s64_u64_shr()
/linux-6.6.21/include/clocksource/
Dhyperv_timer.h86 *time = mul_u64_u64_shr(*cur_tsc, scale, 64) + offset; in hv_read_tsc_page_tsc()
/linux-6.6.21/arch/x86/kvm/
Dhyperv.c583 return mul_u64_u64_shr(tsc, hv->tsc_ref.tsc_scale, 64) in get_time_ref_counter()
1139 mul_u64_u64_shr(hv_clock->tsc_timestamp, tsc_ref->tsc_scale, 64); in compute_tsc_page_parameters()
Dx86.c2558 return mul_u64_u64_shr(tsc, ratio, kvm_caps.tsc_scaling_ratio_frac_bits); in __scale_tsc()
2605 return mul_u64_u64_shr(l1_multiplier, l2_multiplier, in kvm_calc_nested_tsc_multiplier()