| /Linux-v5.15/include/linux/ |
| D | thermal.h | 35 struct thermal_cooling_device; 62 struct thermal_cooling_device *); 64 struct thermal_cooling_device *); 84 int (*get_max_state) (struct thermal_cooling_device *, unsigned long *); 85 int (*get_cur_state) (struct thermal_cooling_device *, unsigned long *); 86 int (*set_cur_state) (struct thermal_cooling_device *, unsigned long); 87 int (*get_requested_power)(struct thermal_cooling_device *, u32 *); 88 int (*state2power)(struct thermal_cooling_device *, unsigned long, u32 *); 89 int (*power2state)(struct thermal_cooling_device *, u32, unsigned long *); 92 struct thermal_cooling_device { struct [all …]
|
| 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 *dfc) in devfreq_cooling_unregister()
|
| 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 *
|
| /Linux-v5.15/drivers/thermal/ |
| 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 void thermal_cdev_update(struct thermal_cooling_device *); 69 void __thermal_cdev_update(struct thermal_cooling_device *cdev); 89 struct thermal_cooling_device *cdev, 101 struct thermal_cooling_device *cdev; 120 container_of(_dev, struct thermal_cooling_device, device) 134 void thermal_cooling_device_setup_sysfs(struct thermal_cooling_device *); 135 void thermal_cooling_device_destroy_sysfs(struct thermal_cooling_device *cdev); 143 void thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev, [all …]
|
| D | devfreq_cooling.c | 50 struct thermal_cooling_device *cdev; 62 static int devfreq_cooling_get_max_state(struct thermal_cooling_device *cdev, in devfreq_cooling_get_max_state() 72 static int devfreq_cooling_get_cur_state(struct thermal_cooling_device *cdev, in devfreq_cooling_get_cur_state() 82 static int devfreq_cooling_set_cur_state(struct thermal_cooling_device *cdev, in devfreq_cooling_set_cur_state() 176 static int devfreq_cooling_get_requested_power(struct thermal_cooling_device *cdev, in devfreq_cooling_get_requested_power() 236 static int devfreq_cooling_state2power(struct thermal_cooling_device *cdev, in devfreq_cooling_state2power() 251 static int devfreq_cooling_power2state(struct thermal_cooling_device *cdev, in devfreq_cooling_power2state() 354 struct thermal_cooling_device * 358 struct thermal_cooling_device *cdev; in of_devfreq_cooling_register_power() 443 struct thermal_cooling_device * [all …]
|
| D | cpufreq_cooling.c | 209 static int cpufreq_get_requested_power(struct thermal_cooling_device *cdev, in cpufreq_get_requested_power() 270 static int cpufreq_state2power(struct thermal_cooling_device *cdev, in cpufreq_state2power() 308 static int cpufreq_power2state(struct thermal_cooling_device *cdev, in cpufreq_power2state() 420 static int cpufreq_get_max_state(struct thermal_cooling_device *cdev, in cpufreq_get_max_state() 439 static int cpufreq_get_cur_state(struct thermal_cooling_device *cdev, in cpufreq_get_cur_state() 459 static int cpufreq_set_cur_state(struct thermal_cooling_device *cdev, in cpufreq_set_cur_state() 515 static struct thermal_cooling_device * 520 struct thermal_cooling_device *cdev; in __cpufreq_cooling_register() 622 struct thermal_cooling_device * 648 struct thermal_cooling_device * [all …]
|
| 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()
|
| D | cpuidle_cooling.c | 72 static int cpuidle_cooling_get_max_state(struct thermal_cooling_device *cdev, in cpuidle_cooling_get_max_state() 101 static int cpuidle_cooling_get_cur_state(struct thermal_cooling_device *cdev, in cpuidle_cooling_get_cur_state() 123 static int cpuidle_cooling_set_cur_state(struct thermal_cooling_device *cdev, in cpuidle_cooling_set_cur_state() 174 struct thermal_cooling_device *cdev; in __cpuidle_cooling_register()
|
| D | thermal_core.c | 534 int for_each_thermal_cooling_device(int (*cb)(struct thermal_cooling_device *, in for_each_thermal_cooling_device() argument 537 struct thermal_cooling_device *cdev; in for_each_thermal_cooling_device() 618 struct thermal_cooling_device *cdev, in thermal_zone_bind_cooling_device() 625 struct thermal_cooling_device *pos2; in thermal_zone_bind_cooling_device() 743 struct thermal_cooling_device *cdev) in thermal_zone_unbind_cooling_device() 776 struct thermal_cooling_device *cdev; in thermal_release() 797 struct thermal_cooling_device *cdev, int ret) in print_bind_err_msg() 804 struct thermal_cooling_device *cdev, in __bind() 829 static void bind_cdev(struct thermal_cooling_device *cdev) in bind_cdev() 883 static struct thermal_cooling_device * [all …]
|
| D | thermal_sysfs.c | 574 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cdev_type_show() 582 struct thermal_cooling_device *cdev = to_cooling_device(dev); in max_state_show() 595 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cur_state_show() 609 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cur_state_store() 672 void thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev, in thermal_cooling_device_stats_update() 697 struct thermal_cooling_device *cdev = to_cooling_device(dev); in total_trans_show() 712 struct thermal_cooling_device *cdev = to_cooling_device(dev); in time_in_state_ms_show() 733 struct thermal_cooling_device *cdev = to_cooling_device(dev); in reset_store() 755 struct thermal_cooling_device *cdev = to_cooling_device(dev); in trans_table_show() 814 static void cooling_device_stats_setup(struct thermal_cooling_device *cdev) in cooling_device_stats_setup() [all …]
|
| D | thermal_helpers.c | 46 struct thermal_cooling_device *cdev, int trip) in get_thermal_instance() 185 static void thermal_cdev_set_cur_state(struct thermal_cooling_device *cdev, in thermal_cdev_set_cur_state() 195 void __thermal_cdev_update(struct thermal_cooling_device *cdev) in __thermal_cdev_update() 222 void thermal_cdev_update(struct thermal_cooling_device *cdev) in thermal_cdev_update()
|
| D | gov_fair_share.c | 50 struct thermal_cooling_device *cdev, int percentage, int level) in get_target_state() 97 struct thermal_cooling_device *cdev = instance->cdev; in fair_share_throttle()
|
| /Linux-v5.15/drivers/thermal/intel/ |
| 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() 46 static int tcc_get_cur_state(struct thermal_cooling_device *cdev, unsigned long in tcc_get_cur_state() 60 static int tcc_set_cur_state(struct thermal_cooling_device *cdev, unsigned long in tcc_set_cur_state()
|
| D | intel_menlow.c | 48 static int memory_get_max_bandwidth(struct thermal_cooling_device *cdev, in memory_get_max_bandwidth() 74 static int memory_get_cur_bandwidth(struct thermal_cooling_device *cdev, in memory_get_cur_bandwidth() 97 static int memory_set_cur_bandwidth(struct thermal_cooling_device *cdev, in memory_set_cur_bandwidth() 142 struct thermal_cooling_device *cdev; in intel_menlow_memory_add() 184 struct thermal_cooling_device *cdev; in intel_menlow_memory_remove()
|
| /Linux-v5.15/drivers/thermal/intel/int340x_thermal/ |
| 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()
|
| D | int3403_thermal.c | 40 struct thermal_cooling_device *cdev; 122 static int int3403_get_max_state(struct thermal_cooling_device *cdev, in int3403_get_max_state() 132 static int int3403_get_cur_state(struct thermal_cooling_device *cdev, in int3403_get_cur_state() 148 int3403_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) in int3403_set_cur_state()
|
| /Linux-v5.15/drivers/net/wireless/ath/ath10k/ |
| 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()
|
| /Linux-v5.15/drivers/gpu/drm/lima/ |
| D | lima_devfreq.h | 12 struct thermal_cooling_device; 18 struct thermal_cooling_device *cooling;
|
| /Linux-v5.15/drivers/gpu/drm/panfrost/ |
| D | panfrost_devfreq.h | 12 struct thermal_cooling_device; 18 struct thermal_cooling_device *cooling;
|
| /Linux-v5.15/drivers/net/wireless/ath/ath11k/ |
| D | thermal.c | 15 ath11k_thermal_get_max_throttle_state(struct thermal_cooling_device *cdev, in ath11k_thermal_get_max_throttle_state() 24 ath11k_thermal_get_cur_throttle_state(struct thermal_cooling_device *cdev, in ath11k_thermal_get_cur_throttle_state() 37 ath11k_thermal_set_cur_throttle_state(struct thermal_cooling_device *cdev, in ath11k_thermal_set_cur_throttle_state() 159 struct thermal_cooling_device *cdev; in ath11k_thermal_register()
|
| /Linux-v5.15/drivers/platform/x86/ |
| D | acerhdf.c | 82 static struct thermal_cooling_device *cl_dev; 368 struct thermal_cooling_device *cdev) in acerhdf_bind() 384 struct thermal_cooling_device *cdev) in acerhdf_unbind() 488 static int acerhdf_get_max_state(struct thermal_cooling_device *cdev, in acerhdf_get_max_state() 496 static int acerhdf_get_cur_state(struct thermal_cooling_device *cdev, in acerhdf_get_cur_state() 510 static int acerhdf_set_cur_state(struct thermal_cooling_device *cdev, in acerhdf_set_cur_state()
|
| /Linux-v5.15/drivers/acpi/ |
| D | processor_thermal.c | 187 processor_get_max_state(struct thermal_cooling_device *cdev, in processor_get_max_state() 205 processor_get_cur_state(struct thermal_cooling_device *cdev, in processor_get_cur_state() 225 processor_set_cur_state(struct thermal_cooling_device *cdev, in processor_set_cur_state()
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/ |
| D | core_thermal.c | 92 struct thermal_cooling_device *cdevs[MLXSW_MFCR_PWMS_MAX]; 116 struct thermal_cooling_device *cdev) in mlxsw_get_cooling_device_idx() 218 struct thermal_cooling_device *cdev) in mlxsw_thermal_bind() 244 struct thermal_cooling_device *cdev) in mlxsw_thermal_unbind() 373 struct thermal_cooling_device *cdev) in mlxsw_thermal_module_bind() 402 struct thermal_cooling_device *cdev) in mlxsw_thermal_module_unbind() 601 static int mlxsw_thermal_get_max_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_get_max_state() 608 static int mlxsw_thermal_get_cur_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_get_cur_state() 634 static int mlxsw_thermal_set_cur_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_set_cur_state() 944 struct thermal_cooling_device *cdev; in mlxsw_thermal_init()
|
| /Linux-v5.15/include/trace/events/ |
| D | thermal.h | 51 TP_PROTO(struct thermal_cooling_device *cdev, unsigned long target), 154 TP_PROTO(struct thermal_cooling_device *cdev, 184 TP_PROTO(struct thermal_cooling_device *cdev, unsigned long freq,
|
| /Linux-v5.15/drivers/hwmon/ |
| D | pwm-fan.c | 46 struct thermal_cooling_device *cdev; 187 static int pwm_fan_get_max_state(struct thermal_cooling_device *cdev, in pwm_fan_get_max_state() 200 static int pwm_fan_get_cur_state(struct thermal_cooling_device *cdev, in pwm_fan_get_cur_state() 214 pwm_fan_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) in pwm_fan_set_cur_state() 299 struct thermal_cooling_device *cdev; in pwm_fan_probe()
|