/Linux-v4.19/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 | 36 struct thermal_cooling_device * 43 void clock_cooling_unregister(struct thermal_cooling_device *cdev); 45 unsigned long clock_cooling_get_level(struct thermal_cooling_device *cdev, 48 static inline struct thermal_cooling_device * 54 void clock_cooling_unregister(struct thermal_cooling_device *cdev) in clock_cooling_unregister() 58 unsigned long clock_cooling_get_level(struct thermal_cooling_device *cdev, in clock_cooling_get_level()
|
D | cpu_cooling.h | 38 struct thermal_cooling_device * 45 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev); 48 static inline struct thermal_cooling_device * 55 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev) in cpufreq_cooling_unregister() 66 struct thermal_cooling_device * 69 static inline struct thermal_cooling_device *
|
/Linux-v4.19/drivers/thermal/ |
D | thermal_core.h | 27 struct thermal_cooling_device *cdev; 46 container_of(_dev, struct thermal_cooling_device, device) 60 void thermal_cooling_device_setup_sysfs(struct thermal_cooling_device *); 61 void thermal_cooling_device_destroy_sysfs(struct thermal_cooling_device *cdev); 69 void thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev, 73 thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev, in thermal_cooling_device_stats_update()
|
D | clock_cooling.c | 58 struct thermal_cooling_device *cdev; 179 unsigned long clock_cooling_get_level(struct thermal_cooling_device *cdev, in clock_cooling_get_level() 307 static int clock_cooling_get_max_state(struct thermal_cooling_device *cdev, in clock_cooling_get_max_state() 331 static int clock_cooling_get_cur_state(struct thermal_cooling_device *cdev, in clock_cooling_get_cur_state() 351 static int clock_cooling_set_cur_state(struct thermal_cooling_device *cdev, in clock_cooling_set_cur_state() 382 struct thermal_cooling_device * 385 struct thermal_cooling_device *cdev; in clock_cooling_register() 437 void clock_cooling_unregister(struct thermal_cooling_device *cdev) in clock_cooling_unregister()
|
D | cpu_cooling.c | 102 struct thermal_cooling_device *cdev; 348 static int cpufreq_get_max_state(struct thermal_cooling_device *cdev, in cpufreq_get_max_state() 367 static int cpufreq_get_cur_state(struct thermal_cooling_device *cdev, in cpufreq_get_cur_state() 387 static int cpufreq_set_cur_state(struct thermal_cooling_device *cdev, in cpufreq_set_cur_state() 433 static int cpufreq_get_requested_power(struct thermal_cooling_device *cdev, in cpufreq_get_requested_power() 496 static int cpufreq_state2power(struct thermal_cooling_device *cdev, in cpufreq_state2power() 535 static int cpufreq_power2state(struct thermal_cooling_device *cdev, in cpufreq_power2state() 607 static struct thermal_cooling_device * 611 struct thermal_cooling_device *cdev; in __cpufreq_cooling_register() 732 struct thermal_cooling_device * [all …]
|
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 | thermal_core.c | 531 int power_actor_get_max_power(struct thermal_cooling_device *cdev, in power_actor_get_max_power() 552 int power_actor_get_min_power(struct thermal_cooling_device *cdev, in power_actor_get_min_power() 580 int power_actor_set_power(struct thermal_cooling_device *cdev, in power_actor_set_power() 605 struct thermal_cooling_device *cdev = NULL; in thermal_zone_device_rebind_exception() 625 struct thermal_cooling_device *cdev = NULL; in thermal_zone_device_unbind_exception() 673 struct thermal_cooling_device *cdev, in thermal_zone_bind_cooling_device() 680 struct thermal_cooling_device *pos2; in thermal_zone_bind_cooling_device() 798 struct thermal_cooling_device *cdev) in thermal_zone_unbind_cooling_device() 831 struct thermal_cooling_device *cdev; in thermal_release() 852 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() 765 void thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev, in thermal_cooling_device_stats_update() 787 struct thermal_cooling_device *cdev = to_cooling_device(dev); in total_trans_show() 802 struct thermal_cooling_device *cdev = to_cooling_device(dev); in time_in_state_ms_show() 823 struct thermal_cooling_device *cdev = to_cooling_device(dev); in reset_store() 845 struct thermal_cooling_device *cdev = to_cooling_device(dev); in trans_table_show() 904 static void cooling_device_stats_setup(struct thermal_cooling_device *cdev) in cooling_device_stats_setup() [all …]
|
D | fair_share.c | 62 struct thermal_cooling_device *cdev, int percentage, int level) in get_target_state() 107 struct thermal_cooling_device *cdev = instance->cdev; in fair_share_throttle()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_thermal.c | 70 struct thermal_cooling_device *cdevs[MLXSW_MFCR_PWMS_MAX]; 88 struct thermal_cooling_device *cdev) in mlxsw_get_cooling_device_idx() 100 struct thermal_cooling_device *cdev) in mlxsw_thermal_bind() 126 struct thermal_cooling_device *cdev) in mlxsw_thermal_unbind() 248 static int mlxsw_thermal_get_max_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_get_max_state() 255 static int mlxsw_thermal_get_cur_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_get_cur_state() 281 static int mlxsw_thermal_set_cur_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_set_cur_state() 359 struct thermal_cooling_device *cdev; in mlxsw_thermal_init()
|
/Linux-v4.19/drivers/thermal/int340x_thermal/ |
D | int3406_thermal.c | 28 struct thermal_cooling_device *cooling_dev; 45 int3406_thermal_get_max_state(struct thermal_cooling_device *cooling_dev, in int3406_thermal_get_max_state() 55 int3406_thermal_set_cur_state(struct thermal_cooling_device *cooling_dev, in int3406_thermal_set_cur_state() 72 int3406_thermal_get_cur_state(struct thermal_cooling_device *cooling_dev, in int3406_thermal_get_cur_state()
|
D | int3403_thermal.c | 48 struct thermal_cooling_device *cdev; 130 static int int3403_get_max_state(struct thermal_cooling_device *cdev, in int3403_get_max_state() 140 static int int3403_get_cur_state(struct thermal_cooling_device *cdev, in int3403_get_cur_state() 156 int3403_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) in int3403_set_cur_state()
|
/Linux-v4.19/drivers/net/wireless/ath/ath10k/ |
D | thermal.c | 27 ath10k_thermal_get_max_throttle_state(struct thermal_cooling_device *cdev, in ath10k_thermal_get_max_throttle_state() 36 ath10k_thermal_get_cur_throttle_state(struct thermal_cooling_device *cdev, in ath10k_thermal_get_cur_throttle_state() 49 ath10k_thermal_set_cur_throttle_state(struct thermal_cooling_device *cdev, in ath10k_thermal_set_cur_throttle_state() 164 struct thermal_cooling_device *cdev; in ath10k_thermal_register()
|
D | thermal.h | 27 struct thermal_cooling_device *cdev;
|
/Linux-v4.19/drivers/platform/x86/ |
D | acerhdf.c | 94 static struct thermal_cooling_device *cl_dev; 367 struct thermal_cooling_device *cdev) in acerhdf_bind() 383 struct thermal_cooling_device *cdev) in acerhdf_unbind() 503 static int acerhdf_get_max_state(struct thermal_cooling_device *cdev, in acerhdf_get_max_state() 511 static int acerhdf_get_cur_state(struct thermal_cooling_device *cdev, in acerhdf_get_cur_state() 525 static int acerhdf_set_cur_state(struct thermal_cooling_device *cdev, in acerhdf_set_cur_state()
|
D | intel_menlow.c | 63 static int memory_get_max_bandwidth(struct thermal_cooling_device *cdev, in memory_get_max_bandwidth() 89 static int memory_get_cur_bandwidth(struct thermal_cooling_device *cdev, in memory_get_cur_bandwidth() 112 static int memory_set_cur_bandwidth(struct thermal_cooling_device *cdev, in memory_set_cur_bandwidth() 157 struct thermal_cooling_device *cdev; in intel_menlow_memory_add() 199 struct thermal_cooling_device *cdev = acpi_driver_data(device); in intel_menlow_memory_remove()
|
/Linux-v4.19/drivers/hwmon/ |
D | pwm-fan.c | 38 struct thermal_cooling_device *cdev; 112 static int pwm_fan_get_max_state(struct thermal_cooling_device *cdev, in pwm_fan_get_max_state() 125 static int pwm_fan_get_cur_state(struct thermal_cooling_device *cdev, in pwm_fan_get_cur_state() 139 pwm_fan_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) in pwm_fan_set_cur_state() 210 struct thermal_cooling_device *cdev; in pwm_fan_probe()
|
D | mlxreg-fan.c | 107 struct thermal_cooling_device *cdev; 278 static int mlxreg_fan_get_max_state(struct thermal_cooling_device *cdev, in mlxreg_fan_get_max_state() 285 static int mlxreg_fan_get_cur_state(struct thermal_cooling_device *cdev, in mlxreg_fan_get_cur_state() 304 static int mlxreg_fan_set_cur_state(struct thermal_cooling_device *cdev, in mlxreg_fan_set_cur_state()
|
/Linux-v4.19/drivers/acpi/ |
D | processor_thermal.c | 198 processor_get_max_state(struct thermal_cooling_device *cdev, in processor_get_max_state() 216 processor_get_cur_state(struct thermal_cooling_device *cdev, in processor_get_cur_state() 236 processor_set_cur_state(struct thermal_cooling_device *cdev, in processor_set_cur_state()
|
D | fan.c | 80 struct thermal_cooling_device *cdev; 94 static int fan_get_max_state(struct thermal_cooling_device *cdev, unsigned long in fan_get_max_state() 173 static int fan_get_cur_state(struct thermal_cooling_device *cdev, unsigned long in fan_get_cur_state() 213 fan_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) in fan_set_cur_state() 332 struct thermal_cooling_device *cdev; in acpi_fan_probe()
|
/Linux-v4.19/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-v4.19/Documentation/thermal/ |
D | power_allocator.txt | 181 1. int get_requested_power(struct thermal_cooling_device *cdev, 183 @cdev: The `struct thermal_cooling_device` pointer 193 2. int state2power(struct thermal_cooling_device *cdev, struct 195 @cdev: The `struct thermal_cooling_device` pointer 205 3. int power2state(struct thermal_cooling_device *cdev, u32 power, 207 @cdev: The `struct thermal_cooling_device` pointer
|
D | cpu-cooling-api.txt | 19 1.1.1 struct thermal_cooling_device *cpufreq_cooling_register( 28 1.1.2 struct thermal_cooling_device *of_cpufreq_cooling_register( 38 1.1.3 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev)
|