Searched refs:tzp (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/thermal/ |
| H A D | gov_power_allocator.c | 171 tz->tzp->k_po = int_to_frac(sustainable_power) / in estimate_pid_constants() 174 tz->tzp->k_pu = int_to_frac(2 * sustainable_power) / in estimate_pid_constants() 177 k_i = tz->tzp->k_pu / 10; in estimate_pid_constants() 178 tz->tzp->k_i = k_i > 0 ? k_i : 1; in estimate_pid_constants() 203 if (!tz->tzp->sustainable_power) in get_sustainable_power() 206 sustainable_power = tz->tzp->sustainable_power; in get_sustainable_power() 214 tz->tzp->sustainable_power = sustainable_power; in get_sustainable_power() 256 p = mul_frac(err < 0 ? tz->tzp->k_po : tz->tzp->k_pu, err); in pid_controller() 264 i = mul_frac(tz->tzp->k_i, params->err_integral); in pid_controller() 266 if (err < int_to_frac(tz->tzp->integral_cutoff)) { in pid_controller() [all …]
|
| H A D | thermal_helpers.c | 221 if (tz && tz->tzp) in thermal_zone_get_slope() 222 return tz->tzp->slope; in thermal_zone_get_slope() 236 if (tz && tz->tzp) in thermal_zone_get_offset() 237 return tz->tzp->offset; in thermal_zone_get_offset()
|
| H A D | thermal_core.c | 1335 if (tz->tzp) in thermal_cooling_device_exit() 1336 governor = __find_governor(tz->tzp->governor_name); in thermal_cooling_device_exit() 1387 * @tzp: thermal zone platform parameters in thermal_zone_get_crit_temp() 1409 const struct thermal_zone_params *tzp, in thermal_zone_device_init() 1457 if (tzp) { in thermal_zone_init_complete() 1458 tz->tzp = kmemdup(tzp, sizeof(*tzp), GFP_KERNEL); in thermal_zone_init_complete() 1459 if (!tz->tzp) { in thermal_zone_init_complete() 1530 if (!tz->tzp || !t in thermal_zone_device_register_with_trips() 1502 thermal_zone_device_register_with_trips(const char * type,const struct thermal_trip * trips,int num_trips,void * devdata,const struct thermal_zone_device_ops * ops,const struct thermal_zone_params * tzp,unsigned int passive_delay,unsigned int polling_delay) thermal_zone_device_register_with_trips() argument 1661 thermal_tripless_zone_device_register(const char * type,void * devdata,const struct thermal_zone_device_ops * ops,const struct thermal_zone_params * tzp) thermal_tripless_zone_device_register() argument [all...] |
| /linux/drivers/acpi/ |
| H A D | thermal.c | 74 static int tzp; variable 75 module_param(tzp, int, 0444); 76 MODULE_PARM_DESC(tzp, "Thermal zone polling frequency, in 1/10 seconds."); 833 if (tzp) in acpi_thermal_probe() 834 tz->polling_frequency = tzp; in acpi_thermal_probe() 957 if (tzp == 0) { 960 tzp = 300; /* 300 dS = 30 Seconds */ in thermal_nocrt()
|
| /linux/drivers/power/supply/ |
| H A D | power_supply_core.c | 1531 struct thermal_zone_params tzp = { in psy_register_thermal() local 1535 psy, &psy_tzd_ops, &tzp); in psy_register_thermal()
|
| /linux/Documentation/admin-guide/ |
| H A D | kernel-parameters.txt | 7553 thermal.tzp= [HW,ACPI]
|