Lines Matching refs:thermal_zone_device

64 struct thermal_zone_device;
88 int (*bind) (struct thermal_zone_device *,
90 int (*unbind) (struct thermal_zone_device *,
92 int (*get_temp) (struct thermal_zone_device *, unsigned long *);
93 int (*get_mode) (struct thermal_zone_device *,
95 int (*set_mode) (struct thermal_zone_device *,
97 int (*get_trip_type) (struct thermal_zone_device *, int,
99 int (*get_trip_temp) (struct thermal_zone_device *, int,
101 int (*set_trip_temp) (struct thermal_zone_device *, int,
103 int (*get_trip_hyst) (struct thermal_zone_device *, int,
105 int (*set_trip_hyst) (struct thermal_zone_device *, int,
107 int (*get_crit_temp) (struct thermal_zone_device *, unsigned long *);
108 int (*set_emul_temp) (struct thermal_zone_device *, unsigned long);
109 int (*get_trend) (struct thermal_zone_device *, int,
111 int (*notify) (struct thermal_zone_device *, int,
177 struct thermal_zone_device { struct
214 int (*throttle)(struct thermal_zone_device *tz, int trip); argument
246 int (*match) (struct thermal_zone_device *tz,
304 struct thermal_zone_device *
308 struct thermal_zone_device *tz);
310 static inline struct thermal_zone_device *
319 struct thermal_zone_device *tz) in thermal_zone_of_sensor_unregister()
326 struct thermal_zone_device *thermal_zone_device_register(const char *, int, int,
329 void thermal_zone_device_unregister(struct thermal_zone_device *);
331 int thermal_zone_bind_cooling_device(struct thermal_zone_device *, int,
334 int thermal_zone_unbind_cooling_device(struct thermal_zone_device *, int,
336 void thermal_zone_device_update(struct thermal_zone_device *);
344 struct thermal_zone_device *thermal_zone_get_zone_by_name(const char *name);
345 int thermal_zone_get_temp(struct thermal_zone_device *tz, unsigned long *temp);
347 int get_tz_trend(struct thermal_zone_device *, int);
348 struct thermal_instance *get_thermal_instance(struct thermal_zone_device *,
351 void thermal_notify_framework(struct thermal_zone_device *, int);
353 static inline struct thermal_zone_device *thermal_zone_device_register( in thermal_zone_device_register()
360 struct thermal_zone_device *tz) in thermal_zone_device_unregister()
363 struct thermal_zone_device *tz, int trip, in thermal_zone_bind_cooling_device()
368 struct thermal_zone_device *tz, int trip, in thermal_zone_unbind_cooling_device()
371 static inline void thermal_zone_device_update(struct thermal_zone_device *tz) in thermal_zone_device_update()
384 static inline struct thermal_zone_device *thermal_zone_get_zone_by_name( in thermal_zone_get_zone_by_name()
388 struct thermal_zone_device *tz, unsigned long *temp) in thermal_zone_get_temp()
390 static inline int get_tz_trend(struct thermal_zone_device *tz, int trip) in get_tz_trend()
393 get_thermal_instance(struct thermal_zone_device *tz, in get_thermal_instance()
398 static inline void thermal_notify_framework(struct thermal_zone_device *tz, in thermal_notify_framework()
404 extern int thermal_generate_netlink_event(struct thermal_zone_device *tz,
407 static inline int thermal_generate_netlink_event(struct thermal_zone_device *tz, in thermal_generate_netlink_event()