Lines Matching refs:thermal_cooling_device
72 struct thermal_cooling_device;
97 struct thermal_cooling_device *);
99 struct thermal_cooling_device *);
120 int (*get_max_state) (struct thermal_cooling_device *, unsigned long *);
121 int (*get_cur_state) (struct thermal_cooling_device *, unsigned long *);
122 int (*set_cur_state) (struct thermal_cooling_device *, unsigned long);
123 int (*get_requested_power)(struct thermal_cooling_device *,
125 int (*state2power)(struct thermal_cooling_device *,
127 int (*power2state)(struct thermal_cooling_device *,
131 struct thermal_cooling_device { struct
237 struct thermal_cooling_device *cdev;
267 struct thermal_cooling_device *cdev);
384 static inline bool cdev_is_power_actor(struct thermal_cooling_device *cdev) in cdev_is_power_actor()
390 int power_actor_get_max_power(struct thermal_cooling_device *,
392 int power_actor_get_min_power(struct thermal_cooling_device *,
394 int power_actor_set_power(struct thermal_cooling_device *,
402 struct thermal_cooling_device *,
406 struct thermal_cooling_device *);
409 struct thermal_cooling_device *thermal_cooling_device_register(char *, void *,
411 struct thermal_cooling_device *
414 void thermal_cooling_device_unregister(struct thermal_cooling_device *);
420 struct thermal_cooling_device *, int);
421 void thermal_cdev_update(struct thermal_cooling_device *);
424 static inline bool cdev_is_power_actor(struct thermal_cooling_device *cdev) in cdev_is_power_actor()
426 static inline int power_actor_get_max_power(struct thermal_cooling_device *cdev, in power_actor_get_max_power()
429 static inline int power_actor_get_min_power(struct thermal_cooling_device *cdev, in power_actor_get_min_power()
433 static inline int power_actor_set_power(struct thermal_cooling_device *cdev, in power_actor_set_power()
447 struct thermal_cooling_device *cdev, in thermal_zone_bind_cooling_device()
453 struct thermal_cooling_device *cdev) in thermal_zone_unbind_cooling_device()
457 static inline struct thermal_cooling_device *
461 static inline struct thermal_cooling_device *
466 struct thermal_cooling_device *cdev) in thermal_cooling_device_unregister()
478 struct thermal_cooling_device *cdev, int trip) in get_thermal_instance()
480 static inline void thermal_cdev_update(struct thermal_cooling_device *cdev) in thermal_cdev_update()