Lines Matching +full:cooling +full:- +full:device
1 /* SPDX-License-Identifier: GPL-2.0 */
12 #include <linux/device.h>
28 /* Initial state of a cooling device during binding */
29 #define THERMAL_NO_TARGET -1UL
64 return cdev->ops->get_requested_power && cdev->ops->state2power && in cdev_is_power_actor()
65 cdev->ops->power2state; in cdev_is_power_actor()
80 * a certain cooling device on a certain trip point
90 unsigned long upper; /* Highest cooling state for this trip point */
91 unsigned long lower; /* Lowest cooling state for this trip point */
92 unsigned long target; /* expected cooling state */
97 struct list_head tz_node; /* node in tz->thermal_instances */
98 struct list_head cdev_node; /* node in cdev->thermal_instances */
99 unsigned int weight; /* The weight of the cooling device */
103 container_of(_dev, struct thermal_zone_device, device)
106 container_of(_dev, struct thermal_cooling_device, device)
124 ssize_t trip_point_show(struct device *, struct device_attribute *, char *);
125 ssize_t weight_show(struct device *, struct device_attribute *, char *);
126 ssize_t weight_store(struct device *, struct device_attribute *, const char *,
138 /* device tree support */