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

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

Completed in 65 milliseconds