Searched refs:tzp (Results 1 – 16 of 16) sorted by relevance
/linux-6.3-rc2/drivers/thermal/ |
A D | thermal_core.c | 834 tzp = pos->tzp; in bind_cdev() 835 if (!tzp || !tzp->tbp) in bind_cdev() 839 if (tzp->tbp[i].cdev || !tzp->tbp[i].match) in bind_cdev() 1093 if (!tz->tzp || !tz->tzp->tbp) in thermal_cooling_device_unregister() 1096 tzp = tz->tzp; in thermal_cooling_device_unregister() 1132 if (!tzp || !tzp->tbp) in bind_tz() 1137 if (tzp->tbp[i].cdev || !tzp->tbp[i].match) in bind_tz() 1281 tz->tzp = tzp; in thermal_zone_device_register_with_trips() 1332 if (!tz->tzp || !tz->tzp->no_hwmon) { in thermal_zone_device_register_with_trips() 1394 tzp = tz->tzp; in thermal_zone_device_unregister() [all …]
|
A D | gov_power_allocator.c | 153 k_i = tz->tzp->k_pu / 10; in estimate_pid_constants() 154 tz->tzp->k_i = k_i > 0 ? k_i : 1; in estimate_pid_constants() 179 if (!tz->tzp->sustainable_power) in get_sustainable_power() 232 p = mul_frac(err < 0 ? tz->tzp->k_po : tz->tzp->k_pu, err); in pid_controller() 243 s64 i_next = i + mul_frac(tz->tzp->k_i, err); in pid_controller() 644 if (!tz->tzp) { in power_allocator_bind() 645 tz->tzp = kzalloc(sizeof(*tz->tzp), GFP_KERNEL); in power_allocator_bind() 646 if (!tz->tzp) { in power_allocator_bind() 654 if (!tz->tzp->sustainable_power) in power_allocator_bind() 687 kfree(tz->tzp); in power_allocator_unbind() [all …]
|
A D | thermal_of.c | 248 tzp = kzalloc(sizeof(*tzp), GFP_KERNEL); in thermal_of_parameters_init() 249 if (!tzp) in thermal_of_parameters_init() 252 tzp->no_hwmon = true; in thermal_of_parameters_init() 268 tzp->slope = coef[0]; in thermal_of_parameters_init() 269 tzp->offset = coef[1]; in thermal_of_parameters_init() 271 return tzp; in thermal_of_parameters_init() 445 struct thermal_zone_params *tzp = tz->tzp; in thermal_of_zone_unregister() local 451 kfree(tzp); in thermal_of_zone_unregister() 514 if (IS_ERR(tzp)) { in thermal_of_zone_register() 515 ret = PTR_ERR(tzp); in thermal_of_zone_register() [all …]
|
A D | thermal_helpers.c | 205 if (tz && tz->tzp) in thermal_zone_get_slope() 206 return tz->tzp->slope; in thermal_zone_get_slope() 220 if (tz && tz->tzp) in thermal_zone_get_offset() 221 return tz->tzp->offset; in thermal_zone_get_offset()
|
A D | thermal_sysfs.c | 305 if (tz->tzp) in sustainable_power_show() 306 return sprintf(buf, "%u\n", tz->tzp->sustainable_power); in sustainable_power_show() 318 if (!tz->tzp) in sustainable_power_store() 324 tz->tzp->sustainable_power = sustainable_power; in sustainable_power_store() 336 if (tz->tzp) \ 337 return sprintf(buf, "%d\n", tz->tzp->name); \ 349 if (!tz->tzp) \ 355 tz->tzp->name = value; \
|
A D | rzg2l_thermal.c | 219 priv->zone->tzp->no_hwmon = false; in rzg2l_thermal_probe()
|
A D | rcar_thermal.c | 517 priv->zone->tzp->no_hwmon = false; in rcar_thermal_probe()
|
A D | rcar_gen3_thermal.c | 530 tsc->zone->tzp->no_hwmon = false; in rcar_gen3_thermal_probe()
|
A D | rockchip_thermal.c | 1457 thermal->sensors[i].tzd->tzp->no_hwmon = false; in rockchip_thermal_probe()
|
/linux-6.3-rc2/drivers/acpi/ |
A D | thermal.c | 58 static int tzp; variable 59 module_param(tzp, int, 0444); 60 MODULE_PARM_DESC(tzp, "Thermal zone polling frequency, in 1/10 seconds."); 968 if (tzp) in acpi_thermal_get_info() 969 tz->polling_frequency = tzp; in acpi_thermal_get_info() 1134 if (tzp == 0) { in thermal_tzp() 1137 tzp = 300; /* 300 dS = 30 Seconds */ in thermal_tzp()
|
/linux-6.3-rc2/include/linux/ |
A D | thermal.h | 179 struct thermal_zone_params *tzp; member 400 struct thermal_zone_params *tzp, in thermal_zone_device_register() argument
|
/linux-6.3-rc2/drivers/thermal/broadcom/ |
A D | bcm2711_thermal.c | 101 thermal->tzp->no_hwmon = false; in bcm2711_thermal_probe()
|
A D | bcm2835_thermal.c | 270 tz->tzp->no_hwmon = false; in bcm2835_thermal_probe()
|
/linux-6.3-rc2/drivers/thermal/st/ |
A D | stm_thermal.c | 561 sensor->th_dev->tzp->no_hwmon = false; in stm_thermal_probe()
|
/linux-6.3-rc2/Documentation/driver-api/thermal/ |
A D | sysfs-api.rst | 45 const struct thermal_zone_params *tzp, 91 tzp:
|
/linux-6.3-rc2/Documentation/admin-guide/ |
A D | kernel-parameters.txt | 6189 thermal.tzp= [HW,ACPI]
|
Completed in 30 milliseconds