Lines Matching refs:thermal_zone_device
57 struct thermal_zone_device;
94 int (*bind) (struct thermal_zone_device *,
96 int (*unbind) (struct thermal_zone_device *,
98 int (*get_temp) (struct thermal_zone_device *, int *);
99 int (*set_trips) (struct thermal_zone_device *, int, int);
100 int (*get_mode) (struct thermal_zone_device *,
102 int (*set_mode) (struct thermal_zone_device *,
104 int (*get_trip_type) (struct thermal_zone_device *, int,
106 int (*get_trip_temp) (struct thermal_zone_device *, int, int *);
107 int (*set_trip_temp) (struct thermal_zone_device *, int, int);
108 int (*get_trip_hyst) (struct thermal_zone_device *, int, int *);
109 int (*set_trip_hyst) (struct thermal_zone_device *, int, int);
110 int (*get_crit_temp) (struct thermal_zone_device *, int *);
111 int (*set_emul_temp) (struct thermal_zone_device *, int);
112 int (*get_trend) (struct thermal_zone_device *, int,
114 int (*notify) (struct thermal_zone_device *, int,
123 struct thermal_zone_device *, u32 *);
125 struct thermal_zone_device *, unsigned long, u32 *);
127 struct thermal_zone_device *, u32, unsigned long *);
191 struct thermal_zone_device { struct
238 int (*bind_to_tz)(struct thermal_zone_device *tz); argument
239 void (*unbind_from_tz)(struct thermal_zone_device *tz);
240 int (*throttle)(struct thermal_zone_device *tz, int trip);
275 int (*match) (struct thermal_zone_device *tz,
378 struct thermal_zone_device *
382 struct thermal_zone_device *tz);
383 struct thermal_zone_device *devm_thermal_zone_of_sensor_register(
387 struct thermal_zone_device *tz);
389 static inline struct thermal_zone_device *
398 struct thermal_zone_device *tz) in thermal_zone_of_sensor_unregister()
402 static inline struct thermal_zone_device *devm_thermal_zone_of_sensor_register( in devm_thermal_zone_of_sensor_register()
411 struct thermal_zone_device *tz) in devm_thermal_zone_of_sensor_unregister()
425 struct thermal_zone_device *tz, u32 *max_power);
427 struct thermal_zone_device *tz, u32 *min_power);
430 struct thermal_zone_device *thermal_zone_device_register(const char *, int, int,
433 void thermal_zone_device_unregister(struct thermal_zone_device *);
435 int thermal_zone_bind_cooling_device(struct thermal_zone_device *, int,
439 int thermal_zone_unbind_cooling_device(struct thermal_zone_device *, int,
441 void thermal_zone_device_update(struct thermal_zone_device *,
443 void thermal_zone_set_trips(struct thermal_zone_device *);
451 struct thermal_zone_device *thermal_zone_get_zone_by_name(const char *name);
452 int thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp);
453 int thermal_zone_get_slope(struct thermal_zone_device *tz);
454 int thermal_zone_get_offset(struct thermal_zone_device *tz);
456 int get_tz_trend(struct thermal_zone_device *, int);
457 struct thermal_instance *get_thermal_instance(struct thermal_zone_device *,
460 void thermal_notify_framework(struct thermal_zone_device *, int);
465 struct thermal_zone_device *tz, u32 *max_power) in power_actor_get_max_power()
468 struct thermal_zone_device *tz, in power_actor_get_min_power()
474 static inline struct thermal_zone_device *thermal_zone_device_register( in thermal_zone_device_register()
481 struct thermal_zone_device *tz) in thermal_zone_device_unregister()
484 struct thermal_zone_device *tz, int trip, in thermal_zone_bind_cooling_device()
490 struct thermal_zone_device *tz, int trip, in thermal_zone_unbind_cooling_device()
493 static inline void thermal_zone_device_update(struct thermal_zone_device *tz, in thermal_zone_device_update()
496 static inline void thermal_zone_set_trips(struct thermal_zone_device *tz) in thermal_zone_set_trips()
509 static inline struct thermal_zone_device *thermal_zone_get_zone_by_name( in thermal_zone_get_zone_by_name()
513 struct thermal_zone_device *tz, int *temp) in thermal_zone_get_temp()
516 struct thermal_zone_device *tz) in thermal_zone_get_slope()
519 struct thermal_zone_device *tz) in thermal_zone_get_offset()
521 static inline int get_tz_trend(struct thermal_zone_device *tz, int trip) in get_tz_trend()
524 get_thermal_instance(struct thermal_zone_device *tz, in get_thermal_instance()
529 static inline void thermal_notify_framework(struct thermal_zone_device *tz, in thermal_notify_framework()
535 extern int thermal_generate_netlink_event(struct thermal_zone_device *tz,
538 static inline int thermal_generate_netlink_event(struct thermal_zone_device *tz, in thermal_generate_netlink_event()