Home
last modified time | relevance | path

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

/linux/drivers/thermal/
H A Dgov_power_allocator.c21 #define frac_to_int(x) ((x) >> FRAC_BITS) macro
290 power_range = sustainable_power + frac_to_int(power_range); in pid_controller()
294 trace_thermal_power_allocator_pid(tz, frac_to_int(err), in pid_controller()
295 frac_to_int(params->err_integral), in pid_controller()
296 frac_to_int(p), frac_to_int(i), in pid_controller()
297 frac_to_int(d), power_range); in pid_controller()
437 pa->weighted_req_power = frac_to_int(weight * pa->req_power); in allocate_power()