Lines Matching refs:thermal_zone_device

32 struct thermal_zone_device;
96 bool (*should_bind) (struct thermal_zone_device *,
100 int (*get_temp) (struct thermal_zone_device *, int *);
101 int (*set_trips) (struct thermal_zone_device *, int, int);
102 int (*change_mode) (struct thermal_zone_device *,
104 int (*set_trip_temp) (struct thermal_zone_device *,
106 int (*get_crit_temp) (struct thermal_zone_device *, int *);
107 int (*set_emul_temp) (struct thermal_zone_device *, int);
108 int (*get_trend) (struct thermal_zone_device *,
110 void (*hot)(struct thermal_zone_device *);
111 void (*critical)(struct thermal_zone_device *);
196 struct thermal_zone_device *devm_thermal_of_zone_register(struct device *dev, int id, void *data,
199 void devm_thermal_of_zone_unregister(struct device *dev, struct thermal_zone_device *tz);
204 struct thermal_zone_device *devm_thermal_of_zone_register(struct device *dev, int id, void *data, in devm_thermal_of_zone_register()
211 struct thermal_zone_device *tz) in devm_thermal_of_zone_unregister()
216 int for_each_thermal_trip(struct thermal_zone_device *tz,
219 int thermal_zone_for_each_trip(struct thermal_zone_device *tz,
222 void thermal_zone_set_trip_temp(struct thermal_zone_device *tz,
225 int thermal_zone_get_crit_temp(struct thermal_zone_device *tz, int *temp);
228 struct thermal_zone_device *thermal_zone_device_register_with_trips(
237 struct thermal_zone_device *thermal_tripless_zone_device_register(
243 void thermal_zone_device_unregister(struct thermal_zone_device *tz);
245 void *thermal_zone_device_priv(struct thermal_zone_device *tzd);
246 const char *thermal_zone_device_type(struct thermal_zone_device *tzd);
247 int thermal_zone_device_id(struct thermal_zone_device *tzd);
248 struct device *thermal_zone_device(struct thermal_zone_device *tzd);
250 void thermal_zone_device_update(struct thermal_zone_device *,
265 struct thermal_zone_device *thermal_zone_get_zone_by_name(const char *name);
266 int thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp);
267 int thermal_zone_get_slope(struct thermal_zone_device *tz);
268 int thermal_zone_get_offset(struct thermal_zone_device *tz);
269 bool thermal_trip_is_bound_to_cdev(struct thermal_zone_device *tz,
273 int thermal_zone_device_enable(struct thermal_zone_device *tz);
274 int thermal_zone_device_disable(struct thermal_zone_device *tz);
275 void thermal_zone_device_critical(struct thermal_zone_device *tz);
277 static inline struct thermal_zone_device *thermal_zone_device_register_with_trips( in thermal_zone_device_register_with_trips()
286 static inline struct thermal_zone_device *thermal_tripless_zone_device_register( in thermal_tripless_zone_device_register()
293 static inline void thermal_zone_device_unregister(struct thermal_zone_device *tz) in thermal_zone_device_unregister()
296 static inline void thermal_zone_device_update(struct thermal_zone_device *tz, in thermal_zone_device_update()
320 static inline struct thermal_zone_device *thermal_zone_get_zone_by_name( in thermal_zone_get_zone_by_name()
324 struct thermal_zone_device *tz, int *temp) in thermal_zone_get_temp()
327 struct thermal_zone_device *tz) in thermal_zone_get_slope()
330 struct thermal_zone_device *tz) in thermal_zone_get_offset()
333 static inline void *thermal_zone_device_priv(struct thermal_zone_device *tz) in thermal_zone_device_priv()
338 static inline const char *thermal_zone_device_type(struct thermal_zone_device *tzd) in thermal_zone_device_type()
343 static inline int thermal_zone_device_id(struct thermal_zone_device *tzd) in thermal_zone_device_id()
348 static inline int thermal_zone_device_enable(struct thermal_zone_device *tz) in thermal_zone_device_enable()
351 static inline int thermal_zone_device_disable(struct thermal_zone_device *tz) in thermal_zone_device_disable()