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

/linux-4.4.14/drivers/thermal/
H A Dpower_allocator.c86 * For thermal zones that don't provide a sustainable_power in their
90 * this governor, provide a sustainable_power in the thermal zone's
95 u32 sustainable_power = 0; estimate_sustainable_power() local
109 sustainable_power += min_power; estimate_sustainable_power()
112 return sustainable_power; estimate_sustainable_power()
118 * @sustainable_power: sustainable power for the thermal zone
126 * estimated sustainable_power should not be stored in the
135 u32 sustainable_power, int trip_switch_on, estimate_pid_constants()
159 tz->tzp->k_po = int_to_frac(sustainable_power) / estimate_pid_constants()
163 tz->tzp->k_pu = int_to_frac(2 * sustainable_power) / estimate_pid_constants()
198 u32 sustainable_power; pid_controller() local
203 if (tz->tzp->sustainable_power) { pid_controller()
204 sustainable_power = tz->tzp->sustainable_power; pid_controller()
206 sustainable_power = estimate_sustainable_power(tz); pid_controller()
207 estimate_pid_constants(tz, sustainable_power, pid_controller()
249 power_range = sustainable_power + frac_to_int(power_range); pid_controller()
566 if (!tz->tzp->sustainable_power) power_allocator_bind()
567 dev_warn(&tz->device, "power_allocator: sustainable_power will be estimated\n"); power_allocator_bind()
576 estimate_pid_constants(tz, tz->tzp->sustainable_power, power_allocator_bind()
134 estimate_pid_constants(struct thermal_zone_device *tz, u32 sustainable_power, int trip_switch_on, int control_temp, bool force) estimate_pid_constants() argument
H A Dthermal_core.c925 return sprintf(buf, "%u\n", tz->tzp->sustainable_power); sustainable_power_show()
935 u32 sustainable_power; sustainable_power_store() local
940 if (kstrtou32(buf, 10, &sustainable_power)) sustainable_power_store()
943 tz->tzp->sustainable_power = sustainable_power; sustainable_power_store()
947 static DEVICE_ATTR(sustainable_power, S_IWUSR | S_IRUGO, sustainable_power_show,
H A Dof-thermal.c916 tzp->sustainable_power = prop; for_each_child_of_node()
/linux-4.4.14/include/linux/
H A Dthermal.h288 u32 sustainable_power; member in struct:thermal_zone_params

Completed in 95 milliseconds