Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/thermal/
Dgov_power_allocator.c20 #define int_to_frac(x) ((x) << FRAC_BITS) macro
172 tz->tzp->k_po = int_to_frac(sustainable_power) / in estimate_pid_constants()
175 tz->tzp->k_pu = int_to_frac(2 * sustainable_power) / in estimate_pid_constants()
249 max_power_frac = int_to_frac(max_allocatable_power); in pid_controller()
254 err = int_to_frac(err); in pid_controller()
267 if (err < int_to_frac(tz->tzp->integral_cutoff)) { in pid_controller()