Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/thermal/
Dpower_allocator.c31 #define frac_to_int(x) ((x) >> FRAC_BITS) macro
249 power_range = sustainable_power + frac_to_int(power_range); in pid_controller()
253 trace_thermal_power_allocator_pid(tz, frac_to_int(err), in pid_controller()
254 frac_to_int(params->err_integral), in pid_controller()
255 frac_to_int(p), frac_to_int(i), in pid_controller()
256 frac_to_int(d), power_range); in pid_controller()
406 weighted_req_power[i] = frac_to_int(weight * req_power[i]); in allocate_power()