Searched refs:tzp (Results 1 – 18 of 18) sorted by relevance
/linux/drivers/thermal/ |
A D | thermal_core.c | 852 tzp = pos->tzp; in bind_cdev() 853 if (!tzp || !tzp->tbp) in bind_cdev() 857 if (tzp->tbp[i].cdev || !tzp->tbp[i].match) in bind_cdev() 1099 if (!tz->tzp || !tz->tzp->tbp) in thermal_cooling_device_unregister() 1102 tzp = tz->tzp; in thermal_cooling_device_unregister() 1142 if (!tzp || !tzp->tbp) in bind_tz() 1147 if (tzp->tbp[i].cdev || !tzp->tbp[i].match) in bind_tz() 1247 tz->tzp = tzp; in thermal_zone_device_register() 1291 if (!tz->tzp || !tz->tzp->no_hwmon) { in thermal_zone_device_register() 1342 tzp = tz->tzp; in thermal_zone_device_unregister() [all …]
|
A D | gov_power_allocator.c | 155 k_i = tz->tzp->k_pu / 10; in estimate_pid_constants() 156 tz->tzp->k_i = k_i > 0 ? k_i : 1; in estimate_pid_constants() 181 if (!tz->tzp->sustainable_power) in get_sustainable_power() 234 p = mul_frac(err < 0 ? tz->tzp->k_po : tz->tzp->k_pu, err); in pid_controller() 245 s64 i_next = i + mul_frac(tz->tzp->k_i, err); in pid_controller() 656 if (!tz->tzp) { in power_allocator_bind() 657 tz->tzp = kzalloc(sizeof(*tz->tzp), GFP_KERNEL); in power_allocator_bind() 658 if (!tz->tzp) { in power_allocator_bind() 666 if (!tz->tzp->sustainable_power) in power_allocator_bind() 700 kfree(tz->tzp); in power_allocator_unbind() [all …]
|
A D | thermal_of.c | 1026 kfree(zone->tzp); in of_thermal_destroy_zones() 1059 struct thermal_zone_params *tzp; in of_parse_thermal_zones() local 1075 tzp = kzalloc(sizeof(*tzp), GFP_KERNEL); in of_parse_thermal_zones() 1076 if (!tzp) { in of_parse_thermal_zones() 1082 tzp->no_hwmon = true; in of_parse_thermal_zones() 1085 tzp->sustainable_power = prop; in of_parse_thermal_zones() 1091 tzp->slope = tz->slope; in of_parse_thermal_zones() 1092 tzp->offset = tz->offset; in of_parse_thermal_zones() 1096 ops, tzp, in of_parse_thermal_zones() 1102 kfree(tzp); in of_parse_thermal_zones()
|
A D | thermal_helpers.c | 242 if (tz && tz->tzp) in thermal_zone_get_slope() 243 return tz->tzp->slope; in thermal_zone_get_slope() 257 if (tz && tz->tzp) in thermal_zone_get_offset() 258 return tz->tzp->offset; in thermal_zone_get_offset()
|
A D | thermal_sysfs.c | 285 if (tz->tzp) in sustainable_power_show() 286 return sprintf(buf, "%u\n", tz->tzp->sustainable_power); in sustainable_power_show() 298 if (!tz->tzp) in sustainable_power_store() 304 tz->tzp->sustainable_power = sustainable_power; in sustainable_power_store() 316 if (tz->tzp) \ 317 return sprintf(buf, "%d\n", tz->tzp->name); \ 329 if (!tz->tzp) \ 335 tz->tzp->name = value; \
|
A D | rcar_gen3_thermal.c | 519 tsc->zone->tzp->no_hwmon = false; in rcar_gen3_thermal_probe()
|
A D | rcar_thermal.c | 558 priv->zone->tzp->no_hwmon = false; in rcar_thermal_probe()
|
A D | rockchip_thermal.c | 1459 thermal->sensors[i].tzd->tzp->no_hwmon = false; in rockchip_thermal_probe()
|
/linux/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."); 970 if (tzp) in acpi_thermal_get_info() 971 tz->polling_frequency = tzp; in acpi_thermal_get_info() 1142 if (tzp == 0) { in thermal_tzp() 1145 tzp = 300; /* 300 dS = 30 Seconds */ in thermal_tzp()
|
/linux/include/linux/ |
A D | thermal.h | 168 struct thermal_zone_params *tzp; member 400 struct thermal_zone_params *tzp, in thermal_zone_device_register() argument
|
/linux/drivers/thermal/broadcom/ |
A D | bcm2711_thermal.c | 104 thermal->tzp->no_hwmon = false; in bcm2711_thermal_probe()
|
A D | bcm2835_thermal.c | 271 tz->tzp->no_hwmon = false; in bcm2835_thermal_probe()
|
/linux/drivers/thermal/st/ |
A D | stm_thermal.c | 564 sensor->th_dev->tzp->no_hwmon = false; in stm_thermal_probe()
|
/linux/Documentation/driver-api/thermal/ |
A D | sysfs-api.rst | 45 const struct thermal_zone_params *tzp, 91 tzp:
|
/linux/ |
A D | modules.builtin.modinfo | 1 …thermal.parmtype=nocrt:intthermal.parm=tzp:Thermal zone polling frequency, in 1/10 seconds.therm…
|
A D | System.map | 161994 ffff8000121365f4 b tzp
|
A D | .tmp_System.map | 161994 ffff8000121365f4 b tzp
|
/linux/Documentation/admin-guide/ |
A D | kernel-parameters.txt | 5683 thermal.tzp= [HW,ACPI]
|
Completed in 1093 milliseconds