Lines Matching refs:thermal_zone_device

32 struct thermal_zone_device;
86 struct thermal_zone_device;
95 bool (*should_bind) (struct thermal_zone_device *,
99 int (*get_temp) (struct thermal_zone_device *, int *);
100 int (*set_trips) (struct thermal_zone_device *, int, int);
101 int (*change_mode) (struct thermal_zone_device *,
103 int (*set_trip_temp) (struct thermal_zone_device *,
105 int (*get_crit_temp) (struct thermal_zone_device *, int *);
106 int (*set_emul_temp) (struct thermal_zone_device *, int);
107 int (*get_trend) (struct thermal_zone_device *,
109 void (*hot)(struct thermal_zone_device *);
110 void (*critical)(struct thermal_zone_device *);
192 struct thermal_zone_device *devm_thermal_of_zone_register(struct device *dev, int id, void *data,
195 void devm_thermal_of_zone_unregister(struct device *dev, struct thermal_zone_device *tz);
200 struct thermal_zone_device *devm_thermal_of_zone_register(struct device *dev, int id, void *data, in devm_thermal_of_zone_register()
207 struct thermal_zone_device *tz) in devm_thermal_of_zone_unregister()
212 int for_each_thermal_trip(struct thermal_zone_device *tz,
215 int thermal_zone_for_each_trip(struct thermal_zone_device *tz,
218 void thermal_zone_set_trip_temp(struct thermal_zone_device *tz,
221 int thermal_zone_get_crit_temp(struct thermal_zone_device *tz, int *temp);
224 struct thermal_zone_device *thermal_zone_device_register_with_trips(
233 struct thermal_zone_device *thermal_tripless_zone_device_register(
239 void thermal_zone_device_unregister(struct thermal_zone_device *tz);
241 void *thermal_zone_device_priv(struct thermal_zone_device *tzd);
242 const char *thermal_zone_device_type(struct thermal_zone_device *tzd);
243 int thermal_zone_device_id(struct thermal_zone_device *tzd);
244 struct device *thermal_zone_device(struct thermal_zone_device *tzd);
246 void thermal_zone_device_update(struct thermal_zone_device *,
261 struct thermal_zone_device *thermal_zone_get_zone_by_name(const char *name);
262 int thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp);
263 int thermal_zone_get_slope(struct thermal_zone_device *tz);
264 int thermal_zone_get_offset(struct thermal_zone_device *tz);
265 bool thermal_trip_is_bound_to_cdev(struct thermal_zone_device *tz,
269 int thermal_zone_device_enable(struct thermal_zone_device *tz);
270 int thermal_zone_device_disable(struct thermal_zone_device *tz);
271 void thermal_zone_device_critical(struct thermal_zone_device *tz);
273 static inline struct thermal_zone_device *thermal_zone_device_register_with_trips( in thermal_zone_device_register_with_trips()
282 static inline struct thermal_zone_device *thermal_tripless_zone_device_register( in thermal_tripless_zone_device_register()
289 static inline void thermal_zone_device_unregister(struct thermal_zone_device *tz) in thermal_zone_device_unregister()
312 static inline struct thermal_zone_device *thermal_zone_get_zone_by_name( in thermal_zone_get_zone_by_name()
316 struct thermal_zone_device *tz, int *temp) in thermal_zone_get_temp()
319 struct thermal_zone_device *tz) in thermal_zone_get_slope()
322 struct thermal_zone_device *tz) in thermal_zone_get_offset()
325 static inline void *thermal_zone_device_priv(struct thermal_zone_device *tz) in thermal_zone_device_priv()
330 static inline const char *thermal_zone_device_type(struct thermal_zone_device *tzd) in thermal_zone_device_type()
335 static inline int thermal_zone_device_id(struct thermal_zone_device *tzd) in thermal_zone_device_id()
340 static inline int thermal_zone_device_enable(struct thermal_zone_device *tz) in thermal_zone_device_enable()
343 static inline int thermal_zone_device_disable(struct thermal_zone_device *tz) in thermal_zone_device_disable()