Searched refs:tzp (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/drivers/thermal/ |
D | thermal_core.c | 160 name = pos->tzp->governor_name; in thermal_register_governor() 887 const struct thermal_zone_params *tzp; in bind_cdev() local 893 if (!pos->tzp && !pos->ops->bind) in bind_cdev() 903 tzp = pos->tzp; in bind_cdev() 904 if (!tzp || !tzp->tbp) in bind_cdev() 907 for (i = 0; i < tzp->num_tbps; i++) { in bind_cdev() 908 if (tzp->tbp[i].cdev || !tzp->tbp[i].match) in bind_cdev() 910 if (tzp->tbp[i].match(pos, cdev)) in bind_cdev() 912 tzp->tbp[i].cdev = cdev; in bind_cdev() 913 __bind(pos, tzp->tbp[i].trip_mask, cdev, in bind_cdev() [all …]
|
D | power_allocator.c | 158 if (!tz->tzp->k_po || force) in estimate_pid_constants() 159 tz->tzp->k_po = int_to_frac(sustainable_power) / in estimate_pid_constants() 162 if (!tz->tzp->k_pu || force) in estimate_pid_constants() 163 tz->tzp->k_pu = int_to_frac(2 * sustainable_power) / in estimate_pid_constants() 166 if (!tz->tzp->k_i || force) in estimate_pid_constants() 167 tz->tzp->k_i = int_to_frac(10) / 1000; in estimate_pid_constants() 203 if (tz->tzp->sustainable_power) { in pid_controller() 204 sustainable_power = tz->tzp->sustainable_power; in pid_controller() 216 p = mul_frac(err < 0 ? tz->tzp->k_po : tz->tzp->k_pu, err); in pid_controller() 224 i = mul_frac(tz->tzp->k_i, params->err_integral); in pid_controller() [all …]
|
D | of-thermal.c | 960 struct thermal_zone_params *tzp; in of_parse_thermal_zones() local 976 tzp = kzalloc(sizeof(*tzp), GFP_KERNEL); in of_parse_thermal_zones() 977 if (!tzp) { in of_parse_thermal_zones() 983 tzp->no_hwmon = true; in of_parse_thermal_zones() 986 tzp->sustainable_power = prop; in of_parse_thermal_zones() 992 tzp->slope = tz->slope; in of_parse_thermal_zones() 993 tzp->offset = tz->offset; in of_parse_thermal_zones() 997 ops, tzp, in of_parse_thermal_zones() 1003 kfree(tzp); in of_parse_thermal_zones() 1049 kfree(zone->tzp); in of_thermal_destroy_zones()
|
D | thermal_helpers.c | 207 if (tz && tz->tzp) in thermal_zone_get_slope() 208 return tz->tzp->slope; in thermal_zone_get_slope() 222 if (tz && tz->tzp) in thermal_zone_get_offset() 223 return tz->tzp->offset; in thermal_zone_get_offset()
|
D | zx2967_thermal.c | 106 *temp = DIV_ROUND_CLOSEST(((s32)val + priv->tzd->tzp->offset) * 1000, in zx2967_thermal_get_temp() 107 priv->tzd->tzp->slope); in zx2967_thermal_get_temp() 171 if (priv->tzd->tzp->slope == 0) { in zx2967_thermal_probe()
|
D | thermal_sysfs.c | 327 if (tz->tzp) in sustainable_power_show() 328 return sprintf(buf, "%u\n", tz->tzp->sustainable_power); in sustainable_power_show() 340 if (!tz->tzp) in sustainable_power_store() 346 tz->tzp->sustainable_power = sustainable_power; in sustainable_power_store() 358 if (tz->tzp) \ 359 return sprintf(buf, "%d\n", tz->tzp->name); \ 371 if (!tz->tzp) \ 377 tz->tzp->name = value; \
|
D | rcar_thermal.c | 574 priv->zone->tzp->no_hwmon = false; in rcar_thermal_probe()
|
/Linux-v4.19/drivers/acpi/ |
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."); 1043 if (tzp) in acpi_thermal_get_info() 1044 tz->polling_frequency = tzp; in acpi_thermal_get_info() 1195 if (tzp == 0) { in thermal_tzp() 1198 tzp = 300; /* 300 dS = 30 Seconds */ in thermal_tzp()
|
/Linux-v4.19/include/linux/ |
D | thermal.h | 213 struct thermal_zone_params *tzp; member 477 struct thermal_zone_params *tzp, in thermal_zone_device_register() argument
|
/Linux-v4.19/Documentation/thermal/ |
D | sysfs-api.txt | 37 const struct thermal_zone_params *tzp, 65 tzp: thermal zone platform parameters.
|
/Linux-v4.19/Documentation/admin-guide/ |
D | kernel-parameters.txt | 4430 thermal.tzp= [HW,ACPI]
|