Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A 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()
/openbmc/u-boot/include/linux/
H A Dmath64.h156 #ifndef mul_u64_u64_shr
157 static inline u64 mul_u64_u64_shr(u64 a, u64 mul, unsigned int shift) in mul_u64_u64_shr() function
182 #ifndef mul_u64_u64_shr
183 static inline u64 mul_u64_u64_shr(u64 a, u64 b, unsigned int shift) in mul_u64_u64_shr() function
/openbmc/linux/include/clocksource/
H A Dhyperv_timer.h86 *time = mul_u64_u64_shr(*cur_tsc, scale, 64) + offset; in hv_read_tsc_page_tsc()
/openbmc/linux/arch/x86/kvm/
H A 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()
H A Dx86.c2561 return mul_u64_u64_shr(tsc, ratio, kvm_caps.tsc_scaling_ratio_frac_bits); in __scale_tsc()
2608 return mul_u64_u64_shr(l1_multiplier, l2_multiplier, in kvm_calc_nested_tsc_multiplier()