Searched refs:tzp (Results 1 – 8 of 8) 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_of.c | 199 struct thermal_zone_params *tzp) in thermal_of_parameters_init() argument 205 tzp->no_hwmon = true; in thermal_of_parameters_init() 208 tzp->sustainable_power = prop; in thermal_of_parameters_init() 221 tzp->slope = coef[0]; in thermal_of_parameters_init() 222 tzp->offset = coef[1]; in thermal_of_parameters_init() 373 struct thermal_zone_params tzp = {}; in thermal_of_zone_register() local 403 thermal_of_parameters_init(np, &tzp); in thermal_of_zone_register() 416 data, &of_ops, &tzp, in thermal_of_zone_register()
|
| 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 | 152 name = pos->tzp->governor_name; in thermal_register_governor() 1438 if (tz->tzp) in thermal_zone_init_governor() 1439 governor = __find_governor(tz->tzp->governor_name); in thermal_zone_init_governor() 1501 const struct thermal_zone_params *tzp, in thermal_zone_device_register_with_trips() argument 1549 if (tzp) { in thermal_zone_device_register_with_trips() 1550 tz->tzp = kmemdup(tzp, sizeof(*tzp), GFP_KERNEL); in thermal_zone_device_register_with_trips() 1551 if (!tz->tzp) { in thermal_zone_device_register_with_trips() 1619 if (!tz->tzp || !tz->tzp->no_hwmon) { in thermal_zone_device_register_with_trips() 1646 kfree(tz->tzp); in thermal_zone_device_register_with_trips() 1657 const struct thermal_zone_params *tzp) in thermal_tripless_zone_device_register() argument [all …]
|
| H A D | thermal_sysfs.c | 262 if (tz->tzp) in sustainable_power_show() 263 return sysfs_emit(buf, "%u\n", tz->tzp->sustainable_power); in sustainable_power_show() 275 if (!tz->tzp) in sustainable_power_store() 281 tz->tzp->sustainable_power = sustainable_power; in sustainable_power_store() 293 if (tz->tzp) \ 294 return sysfs_emit(buf, "%d\n", tz->tzp->name); \ 306 if (!tz->tzp) \ 312 tz->tzp->name = value; \
|
| /linux/drivers/acpi/ |
| H A D | thermal.c | 75 static int tzp; variable 76 module_param(tzp, int, 0444); 77 MODULE_PARM_DESC(tzp, "Thermal zone polling frequency, in 1/10 seconds."); 826 if (tzp) in acpi_thermal_probe() 827 tz->polling_frequency = tzp; in acpi_thermal_probe() 971 if (tzp == 0) { in thermal_tzp() 974 tzp = 300; /* 300 dS = 30 Seconds */ in thermal_tzp()
|
| /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 | 7584 thermal.tzp= [HW,ACPI]
|