Searched refs:mul_u64_u64_shr (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/include/linux/ |
D | math64.h | 165 #ifndef mul_u64_u64_shr 166 static inline u64 mul_u64_u64_shr(u64 a, u64 mul, unsigned int shift) in mul_u64_u64_shr() function 191 #ifndef mul_u64_u64_shr 192 static inline u64 mul_u64_u64_shr(u64 a, u64 b, unsigned int shift) in mul_u64_u64_shr() function
|
/Linux-v5.10/include/clocksource/ |
D | hyperv_timer.h | 82 return mul_u64_u64_shr(*cur_tsc, scale, 64) + offset; in hv_read_tsc_page_tsc()
|
/Linux-v5.10/arch/x86/kvm/ |
D | hyperv.c | 530 return mul_u64_u64_shr(tsc, hv->tsc_ref.tsc_scale, 64) in get_time_ref_counter() 1064 mul_u64_u64_shr(hv_clock->tsc_timestamp, tsc_ref->tsc_scale, 64); in compute_tsc_page_parameters()
|
D | x86.c | 2163 return mul_u64_u64_shr(tsc, ratio, kvm_tsc_scaling_ratio_frac_bits); in __scale_tsc()
|