Searched refs:mul_frac (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/tools/arch/x86/include/asm/ |
H A D | pvclock.h | 39 static inline u64 pvclock_scale_delta(u64 delta, u32 mul_frac, int shift) in pvclock_scale_delta() argument 63 : "a" ((u32)delta), "1" ((u32)(delta >> 32)), "2" (mul_frac) ); in pvclock_scale_delta() 70 [mul_frac]"rm"((u64)mul_frac)); in pvclock_scale_delta()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | pvclock.h | 43 static __always_inline u64 pvclock_scale_delta(u64 delta, u32 mul_frac, int shift) in pvclock_scale_delta() argument 67 : "a" ((u32)delta), "1" ((u32)(delta >> 32)), "2" (mul_frac) ); in pvclock_scale_delta() 74 [mul_frac]"rm"((u64)mul_frac)); in pvclock_scale_delta()
|
/openbmc/linux/drivers/thermal/ |
H A D | gov_power_allocator.c | 33 static inline s64 mul_frac(s64 x, s64 y) in mul_frac() function 234 p = mul_frac(err < 0 ? tz->tzp->k_po : tz->tzp->k_pu, err); in pid_controller() 242 i = mul_frac(tz->tzp->k_i, params->err_integral); in pid_controller() 245 s64 i_next = i + mul_frac(tz->tzp->k_i, err); in pid_controller() 260 d = mul_frac(tz->tzp->k_d, err - params->prev_err); in pid_controller()
|