/kernel/linux/linux-5.10/include/linux/ |
H A D | thermal.h | 36 struct thermal_cooling_device; 63 struct thermal_cooling_device *); 65 struct thermal_cooling_device *); 85 int (*get_max_state) (struct thermal_cooling_device *, unsigned long *); 86 int (*get_cur_state) (struct thermal_cooling_device *, unsigned long *); 87 int (*set_cur_state) (struct thermal_cooling_device *, unsigned long); 88 int (*get_requested_power)(struct thermal_cooling_device *, u32 *); 89 int (*state2power)(struct thermal_cooling_device *, unsigned long, u32 *); 90 int (*power2state)(struct thermal_cooling_device *, u32, unsigned long *); 93 struct thermal_cooling_device { struct [all...] |
H A D | devfreq_cooling.h | 61 struct thermal_cooling_device * 64 struct thermal_cooling_device * 66 struct thermal_cooling_device *devfreq_cooling_register(struct devfreq *df); 67 void devfreq_cooling_unregister(struct thermal_cooling_device *dfc); 71 static inline struct thermal_cooling_device * 78 static inline struct thermal_cooling_device * 84 static inline struct thermal_cooling_device * 91 devfreq_cooling_unregister(struct thermal_cooling_device *dfc) in devfreq_cooling_unregister()
|
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) in cpufreq_cooling_unregister() 56 static inline struct thermal_cooling_device *
|
/kernel/linux/linux-6.6/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 | thermal.h | 33 struct thermal_cooling_device; 72 struct thermal_cooling_device *); 74 struct thermal_cooling_device *); 90 int (*get_max_state) (struct thermal_cooling_device *, unsigned long *); 91 int (*get_cur_state) (struct thermal_cooling_device *, unsigned long *); 92 int (*set_cur_state) (struct thermal_cooling_device *, unsigned long); 93 int (*get_requested_power)(struct thermal_cooling_device *, u32 *); 94 int (*state2power)(struct thermal_cooling_device *, unsigned long, u32 *); 95 int (*power2state)(struct thermal_cooling_device *, u32, unsigned long *); 98 struct thermal_cooling_device { struct [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) in cpufreq_cooling_unregister() 56 static inline struct thermal_cooling_device *
|
/kernel/linux/linux-5.10/drivers/thermal/ |
H A D | thermal_core.h | 49 int for_each_thermal_cooling_device(int (*cb)(struct thermal_cooling_device *, 62 static inline bool cdev_is_power_actor(struct thermal_cooling_device *cdev) in cdev_is_power_actor() 68 int power_actor_get_max_power(struct thermal_cooling_device *cdev, 70 int power_actor_get_min_power(struct thermal_cooling_device *cdev, 72 int power_actor_set_power(struct thermal_cooling_device *cdev, 92 struct thermal_cooling_device *cdev, 104 struct thermal_cooling_device *cdev; 123 container_of(_dev, struct thermal_cooling_device, device) 140 void thermal_cooling_device_setup_sysfs(struct thermal_cooling_device *); 141 void thermal_cooling_device_destroy_sysfs(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, in khadas_mcu_fan_get_max_state() 48 static int khadas_mcu_fan_get_cur_state(struct thermal_cooling_device *cdev, in khadas_mcu_fan_get_cur_state() 59 khadas_mcu_fan_set_cur_state(struct thermal_cooling_device *cdev, in khadas_mcu_fan_set_cur_state() 82 struct thermal_cooling_device *cdev; in khadas_mcu_fan_probe()
|
H A D | cpufreq_cooling.c | 61 * @cdev: thermal_cooling_device pointer to keep track of the 184 * @cdev: &thermal_cooling_device pointer 204 static int cpufreq_get_requested_power(struct thermal_cooling_device *cdev, in cpufreq_get_requested_power() 253 * @cdev: &thermal_cooling_device pointer 265 static int cpufreq_state2power(struct thermal_cooling_device *cdev, in cpufreq_state2power() 286 * @cdev: &thermal_cooling_device pointer 303 static int cpufreq_power2state(struct thermal_cooling_device *cdev, in cpufreq_power2state() 385 static int cpufreq_get_max_state(struct thermal_cooling_device *cdev, in cpufreq_get_max_state() 404 static int cpufreq_get_cur_state(struct thermal_cooling_device *cdev, in cpufreq_get_cur_state() 424 static int cpufreq_set_cur_state(struct thermal_cooling_device *cde [all...] |
H A D | devfreq_cooling.c | 56 struct thermal_cooling_device *cdev; 68 static int devfreq_cooling_get_max_state(struct thermal_cooling_device *cdev, in devfreq_cooling_get_max_state() 78 static int devfreq_cooling_get_cur_state(struct thermal_cooling_device *cdev, in devfreq_cooling_get_cur_state() 88 static int devfreq_cooling_set_cur_state(struct thermal_cooling_device *cdev, in devfreq_cooling_set_cur_state() 231 static int devfreq_cooling_get_requested_power(struct thermal_cooling_device *cdev, in devfreq_cooling_get_requested_power() 290 static int devfreq_cooling_state2power(struct thermal_cooling_device *cdev, in devfreq_cooling_state2power() 308 static int devfreq_cooling_power2state(struct thermal_cooling_device *cdev, in devfreq_cooling_power2state() 459 struct thermal_cooling_device * 463 struct thermal_cooling_device *cdev; in of_devfreq_cooling_register_power() 536 struct thermal_cooling_device * [all...] |
H A D | thermal_core.c | 606 * @cdev: pointer to &thermal_cooling_device 615 int power_actor_get_max_power(struct thermal_cooling_device *cdev, in power_actor_get_max_power() 626 * @cdev: pointer to &thermal_cooling_device 635 int power_actor_get_min_power(struct thermal_cooling_device *cdev, in power_actor_get_min_power() 653 * @cdev: pointer to &thermal_cooling_device 663 int power_actor_set_power(struct thermal_cooling_device *cdev, in power_actor_set_power() 688 struct thermal_cooling_device *cdev = NULL; in thermal_zone_device_rebind_exception() 722 int for_each_thermal_cooling_device(int (*cb)(struct thermal_cooling_device *, in for_each_thermal_cooling_device() 725 struct thermal_cooling_device *cdev; in for_each_thermal_cooling_device() 775 struct thermal_cooling_device *cde in thermal_zone_device_unbind_exception() [all...] |
H A D | cpuidle_cooling.c | 74 static int cpuidle_cooling_get_max_state(struct thermal_cooling_device *cdev, in cpuidle_cooling_get_max_state() 103 static int cpuidle_cooling_get_cur_state(struct thermal_cooling_device *cdev, in cpuidle_cooling_get_cur_state() 125 static int cpuidle_cooling_set_cur_state(struct thermal_cooling_device *cdev, in cpuidle_cooling_set_cur_state() 176 struct thermal_cooling_device *cdev; in __cpuidle_cooling_register()
|
H A D | thermal_sysfs.c | 654 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cdev_type_show() 662 struct thermal_cooling_device *cdev = to_cooling_device(dev); in max_state_show() 675 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cur_state_show() 689 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cur_state_store() 752 void thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev, in thermal_cooling_device_stats_update() 777 struct thermal_cooling_device *cdev = to_cooling_device(dev); in total_trans_show() 792 struct thermal_cooling_device *cdev = to_cooling_device(dev); in time_in_state_ms_show() 813 struct thermal_cooling_device *cdev = to_cooling_device(dev); in reset_store() 835 struct thermal_cooling_device *cdev = to_cooling_device(dev); in trans_table_show() 894 static void cooling_device_stats_setup(struct thermal_cooling_device *cde [all...] |
/kernel/linux/linux-6.6/drivers/thermal/ |
H A D | thermal_core.h | 51 int for_each_thermal_cooling_device(int (*cb)(struct thermal_cooling_device *, 64 static inline bool cdev_is_power_actor(struct thermal_cooling_device *cdev) in cdev_is_power_actor() 70 void thermal_cdev_update(struct thermal_cooling_device *); 71 void __thermal_cdev_update(struct thermal_cooling_device *cdev); 77 struct thermal_cooling_device *cdev, 89 struct thermal_cooling_device *cdev; 109 container_of(_dev, struct thermal_cooling_device, device) 129 void thermal_cooling_device_setup_sysfs(struct thermal_cooling_device *); 130 void thermal_cooling_device_destroy_sysfs(struct thermal_cooling_device *cdev); 131 void thermal_cooling_device_stats_reinit(struct thermal_cooling_device *cde [all...] |
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, in devfreq_cooling_get_max_state() 74 static int devfreq_cooling_get_cur_state(struct thermal_cooling_device *cdev, in devfreq_cooling_get_cur_state() 84 static int devfreq_cooling_set_cur_state(struct thermal_cooling_device *cdev, in devfreq_cooling_set_cur_state() 178 static int devfreq_cooling_get_requested_power(struct thermal_cooling_device *cdev, in devfreq_cooling_get_requested_power() 244 static int devfreq_cooling_state2power(struct thermal_cooling_device *cdev, in devfreq_cooling_state2power() 260 static int devfreq_cooling_power2state(struct thermal_cooling_device *cdev, in devfreq_cooling_power2state() 361 struct thermal_cooling_device * 365 struct thermal_cooling_device *cdev; in of_devfreq_cooling_register_power() 458 struct thermal_cooling_device * [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, in khadas_mcu_fan_get_max_state() 48 static int khadas_mcu_fan_get_cur_state(struct thermal_cooling_device *cdev, in khadas_mcu_fan_get_cur_state() 59 khadas_mcu_fan_set_cur_state(struct thermal_cooling_device *cdev, in khadas_mcu_fan_set_cur_state() 82 struct thermal_cooling_device *cdev; in khadas_mcu_fan_probe()
|
H A D | cpufreq_cooling.c | 60 * @cdev: thermal_cooling_device pointer to keep track of the 198 * @cdev: &thermal_cooling_device pointer 218 static int cpufreq_get_requested_power(struct thermal_cooling_device *cdev, in cpufreq_get_requested_power() 251 * @cdev: &thermal_cooling_device pointer 262 static int cpufreq_state2power(struct thermal_cooling_device *cdev, in cpufreq_state2power() 283 * @cdev: &thermal_cooling_device pointer 296 static int cpufreq_power2state(struct thermal_cooling_device *cdev, in cpufreq_power2state() 408 static int cpufreq_get_max_state(struct thermal_cooling_device *cdev, in cpufreq_get_max_state() 427 static int cpufreq_get_cur_state(struct thermal_cooling_device *cdev, in cpufreq_get_cur_state() 447 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, in cpuidle_cooling_get_max_state() 102 static int cpuidle_cooling_get_cur_state(struct thermal_cooling_device *cdev, in cpuidle_cooling_get_cur_state() 124 static int cpuidle_cooling_set_cur_state(struct thermal_cooling_device *cdev, in cpuidle_cooling_set_cur_state() 175 struct thermal_cooling_device *cdev; in __cpuidle_cooling_register()
|
H A D | thermal_sysfs.c | 588 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cdev_type_show() 596 struct thermal_cooling_device *cdev = to_cooling_device(dev); in max_state_show() 604 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cur_state_show() 618 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cur_state_store() 684 void thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev, in thermal_cooling_device_stats_update() 711 struct thermal_cooling_device *cdev = to_cooling_device(dev); in total_trans_show() 735 struct thermal_cooling_device *cdev = to_cooling_device(dev); in time_in_state_ms_show() 766 struct thermal_cooling_device *cdev = to_cooling_device(dev); in reset_store() 799 struct thermal_cooling_device *cdev = to_cooling_device(dev); in trans_table_show() 872 static void cooling_device_stats_setup(struct thermal_cooling_device *cde [all...] |
H A D | thermal_core.c | 544 int for_each_thermal_cooling_device(int (*cb)(struct thermal_cooling_device *, in for_each_thermal_cooling_device() 547 struct thermal_cooling_device *cdev; in for_each_thermal_cooling_device() 609 * @cdev: pointer to struct thermal_cooling_device 628 struct thermal_cooling_device *cdev, in thermal_zone_bind_cooling_device() 635 struct thermal_cooling_device *pos2; in thermal_zone_bind_cooling_device() 751 * @cdev: pointer to a struct thermal_cooling_device. 761 struct thermal_cooling_device *cdev) in thermal_zone_unbind_cooling_device() 796 struct thermal_cooling_device *cdev; in thermal_release() 818 struct thermal_cooling_device *cdev, int ret) in print_bind_err_msg() 824 static void bind_cdev(struct thermal_cooling_device *cde [all...] |
H A D | thermal_helpers.c | 45 struct thermal_cooling_device *cdev, int trip_index) in get_thermal_instance() 155 static void thermal_cdev_set_cur_state(struct thermal_cooling_device *cdev, in thermal_cdev_set_cur_state() 165 void __thermal_cdev_update(struct thermal_cooling_device *cdev) in __thermal_cdev_update() 188 * @cdev: pointer to struct thermal_cooling_device 192 void thermal_cdev_update(struct thermal_cooling_device *cdev) in thermal_cdev_update()
|
/kernel/linux/linux-6.6/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 in tcc_get_max_state() 27 static int tcc_get_cur_state(struct thermal_cooling_device *cdev, unsigned long in tcc_get_cur_state() 39 static int tcc_set_cur_state(struct thermal_cooling_device *cdev, unsigned long in tcc_set_cur_state()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
H A D | thermal.c | 16 ath10k_thermal_get_max_throttle_state(struct thermal_cooling_device *cdev, in ath10k_thermal_get_max_throttle_state() 25 ath10k_thermal_get_cur_throttle_state(struct thermal_cooling_device *cdev, in ath10k_thermal_get_cur_throttle_state() 38 ath10k_thermal_set_cur_throttle_state(struct thermal_cooling_device *cdev, in ath10k_thermal_set_cur_throttle_state() 156 struct thermal_cooling_device *cdev; in ath10k_thermal_register()
|
/kernel/linux/linux-5.10/drivers/thermal/intel/int340x_thermal/ |
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, in int3406_thermal_get_max_state() 51 int3406_thermal_set_cur_state(struct thermal_cooling_device *cooling_dev, in int3406_thermal_set_cur_state() 68 int3406_thermal_get_cur_state(struct thermal_cooling_device *cooling_dev, in int3406_thermal_get_cur_state()
|
/kernel/linux/linux-6.6/drivers/thermal/intel/int340x_thermal/ |
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, in int3406_thermal_get_max_state() 51 int3406_thermal_set_cur_state(struct thermal_cooling_device *cooling_dev, in int3406_thermal_set_cur_state() 68 int3406_thermal_get_cur_state(struct thermal_cooling_device *cooling_dev, in int3406_thermal_get_cur_state()
|