Lines Matching refs:thermal_zone_device
36 struct thermal_zone_device;
63 int (*bind) (struct thermal_zone_device *,
65 int (*unbind) (struct thermal_zone_device *,
67 int (*get_temp) (struct thermal_zone_device *, int *);
68 int (*set_trips) (struct thermal_zone_device *, int, int);
69 int (*change_mode) (struct thermal_zone_device *,
71 int (*get_trip_type) (struct thermal_zone_device *, int,
73 int (*get_trip_temp) (struct thermal_zone_device *, int, int *);
74 int (*set_trip_temp) (struct thermal_zone_device *, int, int);
75 int (*get_trip_hyst) (struct thermal_zone_device *, int, int *);
76 int (*set_trip_hyst) (struct thermal_zone_device *, int, int);
77 int (*get_crit_temp) (struct thermal_zone_device *, int *);
78 int (*set_emul_temp) (struct thermal_zone_device *, int);
79 int (*get_trend) (struct thermal_zone_device *, int,
81 int (*notify) (struct thermal_zone_device *, int,
156 struct thermal_zone_device { struct
206 int (*bind_to_tz)(struct thermal_zone_device *tz); argument
207 void (*unbind_from_tz)(struct thermal_zone_device *tz);
208 int (*throttle)(struct thermal_zone_device *tz, int trip);
245 int (*match) (struct thermal_zone_device *tz,
337 struct thermal_zone_device *
341 struct thermal_zone_device *tz);
342 struct thermal_zone_device *devm_thermal_zone_of_sensor_register(
346 struct thermal_zone_device *tz);
355 static inline struct thermal_zone_device *
364 struct thermal_zone_device *tz) in thermal_zone_of_sensor_unregister()
368 static inline struct thermal_zone_device *devm_thermal_zone_of_sensor_register( in devm_thermal_zone_of_sensor_register()
377 struct thermal_zone_device *tz) in devm_thermal_zone_of_sensor_unregister()
384 struct thermal_zone_device *thermal_zone_device_register(const char *, int, int,
387 void thermal_zone_device_unregister(struct thermal_zone_device *);
389 int thermal_zone_bind_cooling_device(struct thermal_zone_device *, int,
393 int thermal_zone_unbind_cooling_device(struct thermal_zone_device *, int,
395 void thermal_zone_device_update(struct thermal_zone_device *,
409 struct thermal_zone_device *thermal_zone_get_zone_by_name(const char *name);
410 int thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp);
411 int thermal_zone_get_slope(struct thermal_zone_device *tz);
412 int thermal_zone_get_offset(struct thermal_zone_device *tz);
415 void thermal_notify_framework(struct thermal_zone_device *, int);
416 int thermal_zone_device_enable(struct thermal_zone_device *tz);
417 int thermal_zone_device_disable(struct thermal_zone_device *tz);
418 int thermal_zone_device_is_enabled(struct thermal_zone_device *tz);
420 static inline struct thermal_zone_device *thermal_zone_device_register( in thermal_zone_device_register()
427 struct thermal_zone_device *tz) in thermal_zone_device_unregister()
449 static inline struct thermal_zone_device *thermal_zone_get_zone_by_name( in thermal_zone_get_zone_by_name()
453 struct thermal_zone_device *tz, int *temp) in thermal_zone_get_temp()
456 struct thermal_zone_device *tz) in thermal_zone_get_slope()
459 struct thermal_zone_device *tz) in thermal_zone_get_offset()
464 static inline void thermal_notify_framework(struct thermal_zone_device *tz, in thermal_notify_framework()
468 static inline int thermal_zone_device_enable(struct thermal_zone_device *tz) in thermal_zone_device_enable()
471 static inline int thermal_zone_device_disable(struct thermal_zone_device *tz) in thermal_zone_device_disable()
475 thermal_zone_device_is_enabled(struct thermal_zone_device *tz) in thermal_zone_device_is_enabled()