| /Linux-v5.4/include/linux/ |
| D | thermal.h | 58 struct thermal_cooling_device; 95 struct thermal_cooling_device *); 97 struct thermal_cooling_device *); 119 int (*get_max_state) (struct thermal_cooling_device *, unsigned long *); 120 int (*get_cur_state) (struct thermal_cooling_device *, unsigned long *); 121 int (*set_cur_state) (struct thermal_cooling_device *, unsigned long); 122 int (*get_requested_power)(struct thermal_cooling_device *, 124 int (*state2power)(struct thermal_cooling_device *, 126 int (*power2state)(struct thermal_cooling_device *, 130 struct thermal_cooling_device { struct [all …]
|
| D | devfreq_cooling.h | 68 struct thermal_cooling_device * 71 struct thermal_cooling_device * 73 struct thermal_cooling_device *devfreq_cooling_register(struct devfreq *df); 74 void devfreq_cooling_unregister(struct thermal_cooling_device *dfc); 78 struct thermal_cooling_device * 85 static inline struct thermal_cooling_device * 91 static inline struct thermal_cooling_device * 98 devfreq_cooling_unregister(struct thermal_cooling_device *dfc) in devfreq_cooling_unregister()
|
| D | clock_cooling.h | 28 struct thermal_cooling_device * 35 void clock_cooling_unregister(struct thermal_cooling_device *cdev); 37 unsigned long clock_cooling_get_level(struct thermal_cooling_device *cdev, 40 static inline struct thermal_cooling_device * 46 void clock_cooling_unregister(struct thermal_cooling_device *cdev) in clock_cooling_unregister() 50 unsigned long clock_cooling_get_level(struct thermal_cooling_device *cdev, in clock_cooling_get_level()
|
| D | cpu_cooling.h | 27 struct thermal_cooling_device * 34 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev); 37 static inline struct thermal_cooling_device * 44 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev) in cpufreq_cooling_unregister() 55 struct thermal_cooling_device * 58 static inline struct thermal_cooling_device *
|
| /Linux-v5.4/drivers/thermal/ |
| D | thermal_core.h | 42 struct thermal_cooling_device *cdev; 61 container_of(_dev, struct thermal_cooling_device, device) 75 void thermal_cooling_device_setup_sysfs(struct thermal_cooling_device *); 76 void thermal_cooling_device_destroy_sysfs(struct thermal_cooling_device *cdev); 84 void thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev, 88 thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev, in thermal_cooling_device_stats_update()
|
| D | clock_cooling.c | 50 struct thermal_cooling_device *cdev; 171 unsigned long clock_cooling_get_level(struct thermal_cooling_device *cdev, in clock_cooling_get_level() 299 static int clock_cooling_get_max_state(struct thermal_cooling_device *cdev, in clock_cooling_get_max_state() 323 static int clock_cooling_get_cur_state(struct thermal_cooling_device *cdev, in clock_cooling_get_cur_state() 343 static int clock_cooling_set_cur_state(struct thermal_cooling_device *cdev, in clock_cooling_set_cur_state() 374 struct thermal_cooling_device * 377 struct thermal_cooling_device *cdev; in clock_cooling_register() 429 void clock_cooling_unregister(struct thermal_cooling_device *cdev) in clock_cooling_unregister()
|
| D | devfreq_cooling.c | 59 struct thermal_cooling_device *cdev; 111 static int devfreq_cooling_get_max_state(struct thermal_cooling_device *cdev, in devfreq_cooling_get_max_state() 121 static int devfreq_cooling_get_cur_state(struct thermal_cooling_device *cdev, in devfreq_cooling_get_cur_state() 131 static int devfreq_cooling_set_cur_state(struct thermal_cooling_device *cdev, in devfreq_cooling_set_cur_state() 273 static int devfreq_cooling_get_requested_power(struct thermal_cooling_device *cdev, in devfreq_cooling_get_requested_power() 333 static int devfreq_cooling_state2power(struct thermal_cooling_device *cdev, in devfreq_cooling_state2power() 352 static int devfreq_cooling_power2state(struct thermal_cooling_device *cdev, in devfreq_cooling_power2state() 504 struct thermal_cooling_device * 508 struct thermal_cooling_device *cdev; in of_devfreq_cooling_register_power() 571 struct thermal_cooling_device * [all …]
|
| D | cpu_cooling.c | 280 static int cpufreq_get_max_state(struct thermal_cooling_device *cdev, in cpufreq_get_max_state() 299 static int cpufreq_get_cur_state(struct thermal_cooling_device *cdev, in cpufreq_get_cur_state() 319 static int cpufreq_set_cur_state(struct thermal_cooling_device *cdev, in cpufreq_set_cur_state() 361 static int cpufreq_get_requested_power(struct thermal_cooling_device *cdev, in cpufreq_get_requested_power() 424 static int cpufreq_state2power(struct thermal_cooling_device *cdev, in cpufreq_state2power() 463 static int cpufreq_power2state(struct thermal_cooling_device *cdev, in cpufreq_power2state() 528 static struct thermal_cooling_device * 532 struct thermal_cooling_device *cdev; in __cpufreq_cooling_register() 663 struct thermal_cooling_device * 689 struct thermal_cooling_device * [all …]
|
| D | thermal_core.c | 541 int power_actor_get_max_power(struct thermal_cooling_device *cdev, in power_actor_get_max_power() 562 int power_actor_get_min_power(struct thermal_cooling_device *cdev, in power_actor_get_min_power() 590 int power_actor_set_power(struct thermal_cooling_device *cdev, in power_actor_set_power() 615 struct thermal_cooling_device *cdev = NULL; in thermal_zone_device_rebind_exception() 635 struct thermal_cooling_device *cdev = NULL; in thermal_zone_device_unbind_exception() 683 struct thermal_cooling_device *cdev, in thermal_zone_bind_cooling_device() 690 struct thermal_cooling_device *pos2; in thermal_zone_bind_cooling_device() 808 struct thermal_cooling_device *cdev) in thermal_zone_unbind_cooling_device() 841 struct thermal_cooling_device *cdev; in thermal_release() 862 struct thermal_cooling_device *cdev, int ret) in print_bind_err_msg() [all …]
|
| D | thermal_sysfs.c | 670 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cdev_type_show() 678 struct thermal_cooling_device *cdev = to_cooling_device(dev); in max_state_show() 691 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cur_state_show() 705 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cur_state_store() 768 void thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev, in thermal_cooling_device_stats_update() 790 struct thermal_cooling_device *cdev = to_cooling_device(dev); in total_trans_show() 805 struct thermal_cooling_device *cdev = to_cooling_device(dev); in time_in_state_ms_show() 826 struct thermal_cooling_device *cdev = to_cooling_device(dev); in reset_store() 848 struct thermal_cooling_device *cdev = to_cooling_device(dev); in trans_table_show() 907 static void cooling_device_stats_setup(struct thermal_cooling_device *cdev) in cooling_device_stats_setup() [all …]
|
| D | fair_share.c | 50 struct thermal_cooling_device *cdev, int percentage, int level) in get_target_state() 95 struct thermal_cooling_device *cdev = instance->cdev; in fair_share_throttle()
|
| /Linux-v5.4/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()
|
| D | thermal.h | 16 struct thermal_cooling_device *cdev;
|
| /Linux-v5.4/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.4/drivers/platform/x86/ |
| D | acerhdf.c | 82 static struct thermal_cooling_device *cl_dev; 366 struct thermal_cooling_device *cdev) in acerhdf_bind() 382 struct thermal_cooling_device *cdev) in acerhdf_unbind() 502 static int acerhdf_get_max_state(struct thermal_cooling_device *cdev, in acerhdf_get_max_state() 510 static int acerhdf_get_cur_state(struct thermal_cooling_device *cdev, in acerhdf_get_cur_state() 524 static int acerhdf_set_cur_state(struct thermal_cooling_device *cdev, in acerhdf_set_cur_state()
|
| D | intel_menlow.c | 47 static int memory_get_max_bandwidth(struct thermal_cooling_device *cdev, in memory_get_max_bandwidth() 73 static int memory_get_cur_bandwidth(struct thermal_cooling_device *cdev, in memory_get_cur_bandwidth() 96 static int memory_set_cur_bandwidth(struct thermal_cooling_device *cdev, in memory_set_cur_bandwidth() 141 struct thermal_cooling_device *cdev; in intel_menlow_memory_add() 183 struct thermal_cooling_device *cdev; in intel_menlow_memory_remove()
|
| /Linux-v5.4/drivers/acpi/ |
| D | processor_thermal.c | 193 processor_get_max_state(struct thermal_cooling_device *cdev, in processor_get_max_state() 211 processor_get_cur_state(struct thermal_cooling_device *cdev, in processor_get_cur_state() 231 processor_set_cur_state(struct thermal_cooling_device *cdev, in processor_set_cur_state()
|
| D | fan.c | 67 struct thermal_cooling_device *cdev; 81 static int fan_get_max_state(struct thermal_cooling_device *cdev, unsigned long in fan_get_max_state() 160 static int fan_get_cur_state(struct thermal_cooling_device *cdev, unsigned long in fan_get_cur_state() 200 fan_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) in fan_set_cur_state() 319 struct thermal_cooling_device *cdev; in acpi_fan_probe()
|
| /Linux-v5.4/drivers/hwmon/ |
| D | pwm-fan.c | 41 struct thermal_cooling_device *cdev; 171 static int pwm_fan_get_max_state(struct thermal_cooling_device *cdev, in pwm_fan_get_max_state() 184 static int pwm_fan_get_cur_state(struct thermal_cooling_device *cdev, in pwm_fan_get_cur_state() 198 pwm_fan_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) in pwm_fan_set_cur_state() 281 struct thermal_cooling_device *cdev; in pwm_fan_probe()
|
| D | mlxreg-fan.c | 109 struct thermal_cooling_device *cdev; 262 static int mlxreg_fan_get_max_state(struct thermal_cooling_device *cdev, in mlxreg_fan_get_max_state() 269 static int mlxreg_fan_get_cur_state(struct thermal_cooling_device *cdev, in mlxreg_fan_get_cur_state() 288 static int mlxreg_fan_set_cur_state(struct thermal_cooling_device *cdev, in mlxreg_fan_set_cur_state()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
| D | core_thermal.c | 110 struct thermal_cooling_device *cdevs[MLXSW_MFCR_PWMS_MAX]; 134 struct thermal_cooling_device *cdev) in mlxsw_get_cooling_device_idx() 232 struct thermal_cooling_device *cdev) in mlxsw_thermal_bind() 258 struct thermal_cooling_device *cdev) in mlxsw_thermal_unbind() 421 struct thermal_cooling_device *cdev) in mlxsw_thermal_module_bind() 450 struct thermal_cooling_device *cdev) in mlxsw_thermal_module_unbind() 648 static int mlxsw_thermal_get_max_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_get_max_state() 655 static int mlxsw_thermal_get_cur_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_get_cur_state() 681 static int mlxsw_thermal_set_cur_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_set_cur_state() 1009 struct thermal_cooling_device *cdev; in mlxsw_thermal_init()
|
| /Linux-v5.4/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, 185 TP_PROTO(struct thermal_cooling_device *cdev, unsigned long freq,
|
| /Linux-v5.4/Documentation/driver-api/thermal/ |
| D | power_allocator.rst | 186 int get_requested_power(struct thermal_cooling_device *cdev, 191 The `struct thermal_cooling_device` pointer 205 int state2power(struct thermal_cooling_device *cdev, struct 210 The `struct thermal_cooling_device` pointer 225 int power2state(struct thermal_cooling_device *cdev, u32 power, 229 The `struct thermal_cooling_device` pointer
|
| D | cpu-cooling-api.rst | 26 struct thermal_cooling_device 38 struct thermal_cooling_device 52 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev)
|