diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-01-27 15:55:23 +0100 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-01-27 15:55:23 +0100 |
| commit | 79b2027097dd3046ff95a2701af441405f1ff298 (patch) | |
| tree | 5db999f6a71d652b2e3a64150ab96a987d38421f /include | |
| parent | acd7e9ee57c880b99671dd99680cb707b7b5b0ee (diff) | |
| parent | 02be605946b64df6d328811eb2488f7a245a5206 (diff) | |
Merge back thermal control material for 6.3.
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/thermal.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/thermal.h b/include/linux/thermal.h index 5e093602e8fc..30353e4b1424 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h @@ -334,6 +334,18 @@ static inline void devm_thermal_of_zone_unregister(struct device *dev, } #endif +int __thermal_zone_get_trip(struct thermal_zone_device *tz, int trip_id, + struct thermal_trip *trip); +int thermal_zone_get_trip(struct thermal_zone_device *tz, int trip_id, + struct thermal_trip *trip); + +int thermal_zone_set_trip(struct thermal_zone_device *tz, int trip_id, + const struct thermal_trip *trip); + +int thermal_zone_get_num_trips(struct thermal_zone_device *tz); + +int thermal_zone_get_crit_temp(struct thermal_zone_device *tz, int *temp); + #ifdef CONFIG_THERMAL struct thermal_zone_device *thermal_zone_device_register(const char *, int, int, void *, struct thermal_zone_device_ops *, |
