/linux-master/include/linux/ |
H A D | devfreq_cooling.h | 44 struct thermal_cooling_device * 47 struct thermal_cooling_device * 49 struct thermal_cooling_device *devfreq_cooling_register(struct devfreq *df); 50 void devfreq_cooling_unregister(struct thermal_cooling_device *dfc); 51 struct thermal_cooling_device * 57 static inline struct thermal_cooling_device * 64 static inline struct thermal_cooling_device * 70 static inline struct thermal_cooling_device * 76 static inline struct thermal_cooling_device * 84 devfreq_cooling_unregister(struct thermal_cooling_device *df [all...] |
H A D | cpu_cooling.h | 27 struct thermal_cooling_device * 34 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev); 40 struct thermal_cooling_device * 44 static inline struct thermal_cooling_device * 51 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev) 56 static inline struct thermal_cooling_device *
|
H A D | thermal.h | 33 struct thermal_cooling_device; 86 struct thermal_cooling_device *); 88 struct thermal_cooling_device *); 103 int (*get_max_state) (struct thermal_cooling_device *, unsigned long *); 104 int (*get_cur_state) (struct thermal_cooling_device *, unsigned long *); 105 int (*set_cur_state) (struct thermal_cooling_device *, unsigned long); 106 int (*get_requested_power)(struct thermal_cooling_device *, u32 *); 107 int (*state2power)(struct thermal_cooling_device *, unsigned long, u32 *); 108 int (*power2state)(struct thermal_cooling_device *, u32, unsigned long *); 111 struct thermal_cooling_device { struct [all...] |
/linux-master/drivers/thermal/ |
H A D | thermal_debugfs.h | 5 void thermal_debug_cdev_add(struct thermal_cooling_device *cdev); 6 void thermal_debug_cdev_remove(struct thermal_cooling_device *cdev); 7 void thermal_debug_cdev_state_update(const struct thermal_cooling_device *cdev, int state); 17 static inline void thermal_debug_cdev_add(struct thermal_cooling_device *cdev) {} 18 static inline void thermal_debug_cdev_remove(struct thermal_cooling_device *cdev) {} 19 static inline void thermal_debug_cdev_state_update(const struct thermal_cooling_device *cdev,
|
H A D | thermal_netlink.h | 15 struct thermal_cooling_device; 31 int thermal_notify_cdev_state_update(const struct thermal_cooling_device *cdev, 33 int thermal_notify_cdev_add(const struct thermal_cooling_device *cdev); 34 int thermal_notify_cdev_delete(const struct thermal_cooling_device *cdev); 84 static inline int thermal_notify_cdev_state_update(const struct thermal_cooling_device *cdev, 90 static inline int thermal_notify_cdev_add(const struct thermal_cooling_device *cdev) 95 static inline int thermal_notify_cdev_delete(const struct thermal_cooling_device *cdev)
|
H A D | thermal_core.h | 52 int for_each_thermal_cooling_device(int (*cb)(struct thermal_cooling_device *, 65 static inline bool cdev_is_power_actor(struct thermal_cooling_device *cdev) 71 void thermal_cdev_update(struct thermal_cooling_device *); 72 void __thermal_cdev_update(struct thermal_cooling_device *cdev); 78 struct thermal_cooling_device *cdev, 90 struct thermal_cooling_device *cdev; 110 container_of(_dev, struct thermal_cooling_device, device) 136 void thermal_cooling_device_setup_sysfs(struct thermal_cooling_device *); 137 void thermal_cooling_device_destroy_sysfs(struct thermal_cooling_device *cdev); 138 void thermal_cooling_device_stats_reinit(struct thermal_cooling_device *cde [all...] |
H A D | khadas_mcu_fan.c | 22 struct thermal_cooling_device *cdev; 40 static int khadas_mcu_fan_get_max_state(struct thermal_cooling_device *cdev, 48 static int khadas_mcu_fan_get_cur_state(struct thermal_cooling_device *cdev, 59 khadas_mcu_fan_set_cur_state(struct thermal_cooling_device *cdev, 82 struct thermal_cooling_device *cdev;
|
H A D | gov_fair_share.c | 44 struct thermal_cooling_device *cdev, int percentage, int level) 88 struct thermal_cooling_device *cdev = instance->cdev;
|
H A D | devfreq_cooling.c | 51 struct thermal_cooling_device *cdev; 64 static int devfreq_cooling_get_max_state(struct thermal_cooling_device *cdev, 74 static int devfreq_cooling_get_cur_state(struct thermal_cooling_device *cdev, 84 static int devfreq_cooling_set_cur_state(struct thermal_cooling_device *cdev, 190 static int devfreq_cooling_get_requested_power(struct thermal_cooling_device *cdev, 265 static int devfreq_cooling_state2power(struct thermal_cooling_device *cdev, 287 static int devfreq_cooling_power2state(struct thermal_cooling_device *cdev, 392 struct thermal_cooling_device * 396 struct thermal_cooling_device *cdev; 489 struct thermal_cooling_device * [all...] |
H A D | cpufreq_cooling.c | 60 * @cdev: thermal_cooling_device pointer to keep track of the 212 * @cdev: &thermal_cooling_device pointer 232 static int cpufreq_get_requested_power(struct thermal_cooling_device *cdev, 265 * @cdev: &thermal_cooling_device pointer 276 static int cpufreq_state2power(struct thermal_cooling_device *cdev, 303 * @cdev: &thermal_cooling_device pointer 316 static int cpufreq_power2state(struct thermal_cooling_device *cdev, 437 static int cpufreq_get_max_state(struct thermal_cooling_device *cdev, 456 static int cpufreq_get_cur_state(struct thermal_cooling_device *cdev, 476 static int cpufreq_set_cur_state(struct thermal_cooling_device *cde [all...] |
H A D | cpuidle_cooling.c | 73 static int cpuidle_cooling_get_max_state(struct thermal_cooling_device *cdev, 102 static int cpuidle_cooling_get_cur_state(struct thermal_cooling_device *cdev, 124 static int cpuidle_cooling_set_cur_state(struct thermal_cooling_device *cdev, 175 struct thermal_cooling_device *cdev;
|
H A D | thermal_helpers.c | 44 struct thermal_cooling_device *cdev, int trip_index) 149 static int thermal_cdev_set_cur_state(struct thermal_cooling_device *cdev, int state) 168 void __thermal_cdev_update(struct thermal_cooling_device *cdev) 191 * @cdev: pointer to struct thermal_cooling_device 195 void thermal_cdev_update(struct thermal_cooling_device *cdev)
|
H A D | thermal_of.c | 294 struct thermal_zone_device *tz, struct thermal_cooling_device *cdev) 325 struct thermal_zone_device *tz, struct thermal_cooling_device *cdev) 360 struct thermal_zone_device *tz, struct thermal_cooling_device *cdev, 362 struct thermal_zone_device *, struct thermal_cooling_device *)) 393 struct thermal_cooling_device *cdev, 395 struct thermal_zone_device *, struct thermal_cooling_device *)) 426 struct thermal_cooling_device *cdev) 432 struct thermal_cooling_device *cdev)
|
H A D | thermal_core.c | 564 int for_each_thermal_cooling_device(int (*cb)(struct thermal_cooling_device *, 567 struct thermal_cooling_device *cdev; 628 * @cdev: pointer to struct thermal_cooling_device 647 struct thermal_cooling_device *cdev, 654 struct thermal_cooling_device *pos2; 762 struct thermal_cooling_device *cdev, 778 * @cdev: pointer to a struct thermal_cooling_device. 788 struct thermal_cooling_device *cdev) 823 struct thermal_cooling_device *cdev) 835 struct thermal_cooling_device *cde [all...] |
H A D | thermal_sysfs.c | 548 struct thermal_cooling_device *cdev = to_cooling_device(dev); 556 struct thermal_cooling_device *cdev = to_cooling_device(dev); 564 struct thermal_cooling_device *cdev = to_cooling_device(dev); 578 struct thermal_cooling_device *cdev = to_cooling_device(dev); 644 void thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev, 671 struct thermal_cooling_device *cdev = to_cooling_device(dev); 695 struct thermal_cooling_device *cdev = to_cooling_device(dev); 726 struct thermal_cooling_device *cdev = to_cooling_device(dev); 759 struct thermal_cooling_device *cdev = to_cooling_device(dev); 832 static void cooling_device_stats_setup(struct thermal_cooling_device *cde [all...] |
/linux-master/drivers/gpu/drm/lima/ |
H A D | lima_devfreq.h | 12 struct thermal_cooling_device; 18 struct thermal_cooling_device *cooling;
|
/linux-master/drivers/gpu/drm/panfrost/ |
H A D | panfrost_devfreq.h | 12 struct thermal_cooling_device; 18 struct thermal_cooling_device *cooling;
|
/linux-master/drivers/thermal/intel/ |
H A D | intel_tcc_cooling.c | 18 static struct thermal_cooling_device *tcc_cdev; 20 static int tcc_get_max_state(struct thermal_cooling_device *cdev, unsigned long 27 static int tcc_get_cur_state(struct thermal_cooling_device *cdev, unsigned long 39 static int tcc_set_cur_state(struct thermal_cooling_device *cdev, unsigned long
|
/linux-master/drivers/net/wireless/ath/ath10k/ |
H A D | thermal.h | 16 struct thermal_cooling_device *cdev;
|
H A D | thermal.c | 17 ath10k_thermal_get_max_throttle_state(struct thermal_cooling_device *cdev, 26 ath10k_thermal_get_cur_throttle_state(struct thermal_cooling_device *cdev, 39 ath10k_thermal_set_cur_throttle_state(struct thermal_cooling_device *cdev, 157 struct thermal_cooling_device *cdev;
|
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | thermal.h | 18 struct thermal_cooling_device *cdev;
|
H A D | thermal.c | 16 ath11k_thermal_get_max_throttle_state(struct thermal_cooling_device *cdev, 25 ath11k_thermal_get_cur_throttle_state(struct thermal_cooling_device *cdev, 38 ath11k_thermal_set_cur_throttle_state(struct thermal_cooling_device *cdev, 160 struct thermal_cooling_device *cdev;
|
/linux-master/drivers/acpi/ |
H A D | fan.h | 51 struct thermal_cooling_device *cdev;
|
/linux-master/drivers/thermal/intel/int340x_thermal/ |
H A D | int3403_thermal.c | 40 struct thermal_cooling_device *cdev; 122 static int int3403_get_max_state(struct thermal_cooling_device *cdev, 132 static int int3403_get_cur_state(struct thermal_cooling_device *cdev, 148 int3403_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state)
|
H A D | int3406_thermal.c | 24 struct thermal_cooling_device *cooling_dev; 41 int3406_thermal_get_max_state(struct thermal_cooling_device *cooling_dev, 51 int3406_thermal_set_cur_state(struct thermal_cooling_device *cooling_dev, 68 int3406_thermal_get_cur_state(struct thermal_cooling_device *cooling_dev,
|