Searched refs:mul_u64_u64_shr (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/include/linux/ |
D | math64.h | 183 #ifndef mul_u64_u64_shr 184 static inline u64 mul_u64_u64_shr(u64 a, u64 mul, unsigned int shift) in mul_u64_u64_shr() function 209 #ifndef mul_u64_u64_shr 210 static inline u64 mul_u64_u64_shr(u64 a, u64 b, unsigned int shift) in mul_u64_u64_shr() function
|
/Linux-v5.4/include/clocksource/ |
D | hyperv_timer.h | 81 return mul_u64_u64_shr(*cur_tsc, scale, 64) + offset; in hv_read_tsc_page_tsc()
|
/Linux-v5.4/arch/x86/kvm/ |
D | hyperv.c | 411 return mul_u64_u64_shr(tsc, hv->tsc_ref.tsc_scale, 64) in get_time_ref_counter() 928 mul_u64_u64_shr(hv_clock->tsc_timestamp, tsc_ref->tsc_scale, 64); in compute_tsc_page_parameters()
|
D | x86.c | 1826 return mul_u64_u64_shr(tsc, ratio, kvm_tsc_scaling_ratio_frac_bits); in __scale_tsc()
|