diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-01-23 18:52:53 +0100 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-01-23 18:52:53 +0100 |
| commit | a2c81dc59d41e92362ab7d41d0c15471ea50637d (patch) | |
| tree | 1141751d023d11a7ed3494f998662944e7c6265e /include/linux | |
| parent | 6c54b7bc8a31ce0f7cc7f8deef05067df414f1d8 (diff) | |
| parent | 976cb655c940bd76c76c7925cc2740357e2f6803 (diff) | |
Merge back thermal control material for 6.3.
Diffstat (limited to 'include/linux')
| -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 *, |
