Searched refs:mul_frac (Results 1 – 1 of 1) sorted by relevance
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()