Lines Matching refs:thermal_zone_device

71 struct thermal_zone_device;
96 int (*bind) (struct thermal_zone_device *,
98 int (*unbind) (struct thermal_zone_device *,
100 int (*get_temp) (struct thermal_zone_device *, int *);
101 int (*get_mode) (struct thermal_zone_device *,
103 int (*set_mode) (struct thermal_zone_device *,
105 int (*get_trip_type) (struct thermal_zone_device *, int,
107 int (*get_trip_temp) (struct thermal_zone_device *, int, int *);
108 int (*set_trip_temp) (struct thermal_zone_device *, int, int);
109 int (*get_trip_hyst) (struct thermal_zone_device *, int, int *);
110 int (*set_trip_hyst) (struct thermal_zone_device *, int, int);
111 int (*get_crit_temp) (struct thermal_zone_device *, int *);
112 int (*set_emul_temp) (struct thermal_zone_device *, int);
113 int (*get_trend) (struct thermal_zone_device *, int,
115 int (*notify) (struct thermal_zone_device *, int,
124 struct thermal_zone_device *, u32 *);
126 struct thermal_zone_device *, unsigned long, u32 *);
128 struct thermal_zone_device *, u32, unsigned long *);
186 struct thermal_zone_device { struct
229 int (*bind_to_tz)(struct thermal_zone_device *tz); argument
230 void (*unbind_from_tz)(struct thermal_zone_device *tz);
231 int (*throttle)(struct thermal_zone_device *tz, int trip);
266 int (*match) (struct thermal_zone_device *tz,
362 struct thermal_zone_device *
366 struct thermal_zone_device *tz);
368 static inline struct thermal_zone_device *
377 struct thermal_zone_device *tz) in thermal_zone_of_sensor_unregister()
391 struct thermal_zone_device *tz, u32 *max_power);
393 struct thermal_zone_device *tz, u32 *min_power);
396 struct thermal_zone_device *thermal_zone_device_register(const char *, int, int,
399 void thermal_zone_device_unregister(struct thermal_zone_device *);
401 int thermal_zone_bind_cooling_device(struct thermal_zone_device *, int,
405 int thermal_zone_unbind_cooling_device(struct thermal_zone_device *, int,
407 void thermal_zone_device_update(struct thermal_zone_device *);
415 struct thermal_zone_device *thermal_zone_get_zone_by_name(const char *name);
416 int thermal_zone_get_temp(struct thermal_zone_device *tz, int *temp);
418 int get_tz_trend(struct thermal_zone_device *, int);
419 struct thermal_instance *get_thermal_instance(struct thermal_zone_device *,
422 void thermal_notify_framework(struct thermal_zone_device *, int);
427 struct thermal_zone_device *tz, u32 *max_power) in power_actor_get_max_power()
430 struct thermal_zone_device *tz, in power_actor_get_min_power()
436 static inline struct thermal_zone_device *thermal_zone_device_register( in thermal_zone_device_register()
443 struct thermal_zone_device *tz) in thermal_zone_device_unregister()
446 struct thermal_zone_device *tz, int trip, in thermal_zone_bind_cooling_device()
452 struct thermal_zone_device *tz, int trip, in thermal_zone_unbind_cooling_device()
455 static inline void thermal_zone_device_update(struct thermal_zone_device *tz) in thermal_zone_device_update()
468 static inline struct thermal_zone_device *thermal_zone_get_zone_by_name( in thermal_zone_get_zone_by_name()
472 struct thermal_zone_device *tz, int *temp) in thermal_zone_get_temp()
474 static inline int get_tz_trend(struct thermal_zone_device *tz, int trip) in get_tz_trend()
477 get_thermal_instance(struct thermal_zone_device *tz, in get_thermal_instance()
482 static inline void thermal_notify_framework(struct thermal_zone_device *tz, in thermal_notify_framework()
488 extern int thermal_generate_netlink_event(struct thermal_zone_device *tz,
491 static inline int thermal_generate_netlink_event(struct thermal_zone_device *tz, in thermal_generate_netlink_event()