Searched refs:mul_frac (Results 1 – 2 of 2) sorted by relevance
42 static inline u64 pvclock_scale_delta(u64 delta, u32 mul_frac, int shift) in pvclock_scale_delta() argument66 : "a" ((u32)delta), "1" ((u32)(delta >> 32)), "2" (mul_frac) ); in pvclock_scale_delta()73 [mul_frac]"rm"((u64)mul_frac)); in pvclock_scale_delta()
34 static inline s64 mul_frac(s64 x, s64 y) in mul_frac() function209 p = mul_frac(err < 0 ? tz->tzp->k_po : tz->tzp->k_pu, err); in pid_controller()217 i = mul_frac(tz->tzp->k_i, params->err_integral); in pid_controller()220 s64 i_next = i + mul_frac(tz->tzp->k_i, err); in pid_controller()235 d = mul_frac(tz->tzp->k_d, err - params->prev_err); in pid_controller()