Lines Matching refs:thermal_zone_device

35 struct thermal_zone_device;
62 int (*bind) (struct thermal_zone_device *,
64 int (*unbind) (struct thermal_zone_device *,
66 int (*get_temp) (struct thermal_zone_device *, int *);
67 int (*set_trips) (struct thermal_zone_device *, int, int);
68 int (*change_mode) (struct thermal_zone_device *,
70 int (*get_trip_type) (struct thermal_zone_device *, int,
72 int (*get_trip_temp) (struct thermal_zone_device *, int, int *);
73 int (*set_trip_temp) (struct thermal_zone_device *, int, int);
74 int (*get_trip_hyst) (struct thermal_zone_device *, int, int *);
75 int (*set_trip_hyst) (struct thermal_zone_device *, int, int);
76 int (*get_crit_temp) (struct thermal_zone_device *, int *);
77 int (*set_emul_temp) (struct thermal_zone_device *, int);
78 int (*get_trend) (struct thermal_zone_device *, int,
80 int (*notify) (struct thermal_zone_device *, int,
150 struct thermal_zone_device { struct
198 int (*bind_to_tz)(struct thermal_zone_device *tz); argument
199 void (*unbind_from_tz)(struct thermal_zone_device *tz);
200 int (*throttle)(struct thermal_zone_device *tz, int trip);
235 int (*match) (struct thermal_zone_device *tz,
321 struct thermal_zone_device *
325 struct thermal_zone_device *tz);
326 struct thermal_zone_device *devm_thermal_zone_of_sensor_register(
330 struct thermal_zone_device *tz);
339 static inline struct thermal_zone_device *
348 struct thermal_zone_device *tz) in thermal_zone_of_sensor_unregister()
352 static inline struct thermal_zone_device *devm_thermal_zone_of_sensor_register( in devm_thermal_zone_of_sensor_register()
361 struct thermal_zone_device *tz) in devm_thermal_zone_of_sensor_unregister()
368 struct thermal_zone_device *thermal_zone_device_register(const char *, int, int,
371 void thermal_zone_device_unregister(struct thermal_zone_device *);
373 int thermal_zone_bind_cooling_device(struct thermal_zone_device *, int,
377 int thermal_zone_unbind_cooling_device(struct thermal_zone_device *, int,
379 void thermal_zone_device_update(struct thermal_zone_device *,
393 struct thermal_zone_device *thermal_zone_get_zone_by_name(const char *name);
394 int thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp);
395 int thermal_zone_get_slope(struct thermal_zone_device *tz);
396 int thermal_zone_get_offset(struct thermal_zone_device *tz);
399 void thermal_notify_framework(struct thermal_zone_device *, int);
400 int thermal_zone_device_enable(struct thermal_zone_device *tz);
401 int thermal_zone_device_disable(struct thermal_zone_device *tz);
403 static inline struct thermal_zone_device *thermal_zone_device_register( in thermal_zone_device_register()
410 struct thermal_zone_device *tz) in thermal_zone_device_unregister()
431 static inline struct thermal_zone_device *thermal_zone_get_zone_by_name( in thermal_zone_get_zone_by_name()
435 struct thermal_zone_device *tz, int *temp) in thermal_zone_get_temp()
438 struct thermal_zone_device *tz) in thermal_zone_get_slope()
441 struct thermal_zone_device *tz) in thermal_zone_get_offset()
446 static inline void thermal_notify_framework(struct thermal_zone_device *tz, in thermal_notify_framework()
450 static inline int thermal_zone_device_enable(struct thermal_zone_device *tz) in thermal_zone_device_enable()
453 static inline int thermal_zone_device_disable(struct thermal_zone_device *tz) in thermal_zone_device_disable()