Home
last modified time | relevance | path

Searched refs:mul_frac (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/arch/x86/include/asm/
Dpvclock.h42 static inline u64 pvclock_scale_delta(u64 delta, u32 mul_frac, int shift) in pvclock_scale_delta() argument
66 : "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()
/Linux-v4.19/drivers/thermal/
Dpower_allocator.c41 static inline s64 mul_frac(s64 x, s64 y) in mul_frac() function
216 p = mul_frac(err < 0 ? tz->tzp->k_po : tz->tzp->k_pu, err); in pid_controller()
224 i = mul_frac(tz->tzp->k_i, params->err_integral); in pid_controller()
227 s64 i_next = i + mul_frac(tz->tzp->k_i, err); in pid_controller()
242 d = mul_frac(tz->tzp->k_d, err - params->prev_err); in pid_controller()