/linux-4.4.14/include/linux/ |
D | thermal.h | 72 struct thermal_cooling_device; 97 struct thermal_cooling_device *); 99 struct thermal_cooling_device *); 120 int (*get_max_state) (struct thermal_cooling_device *, unsigned long *); 121 int (*get_cur_state) (struct thermal_cooling_device *, unsigned long *); 122 int (*set_cur_state) (struct thermal_cooling_device *, unsigned long); 123 int (*get_requested_power)(struct thermal_cooling_device *, 125 int (*state2power)(struct thermal_cooling_device *, 127 int (*power2state)(struct thermal_cooling_device *, 131 struct thermal_cooling_device { struct [all …]
|
D | cpu_cooling.h | 39 struct thermal_cooling_device * 42 struct thermal_cooling_device * 52 struct thermal_cooling_device * 56 struct thermal_cooling_device * 62 static inline struct thermal_cooling_device * 69 static inline struct thermal_cooling_device * 83 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev); 87 static inline struct thermal_cooling_device * 92 static inline struct thermal_cooling_device * 99 static inline struct thermal_cooling_device * [all …]
|
D | devfreq_cooling.h | 46 struct thermal_cooling_device * 49 struct thermal_cooling_device * 51 struct thermal_cooling_device *devfreq_cooling_register(struct devfreq *df); 52 void devfreq_cooling_unregister(struct thermal_cooling_device *dfc); 56 struct thermal_cooling_device * 63 static inline struct thermal_cooling_device * 69 static inline struct thermal_cooling_device * 76 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 | power_supply.h | 251 struct thermal_cooling_device *tcd;
|
/linux-4.4.14/drivers/thermal/ |
D | devfreq_cooling.c | 51 struct thermal_cooling_device *cdev; 137 static int devfreq_cooling_get_max_state(struct thermal_cooling_device *cdev, in devfreq_cooling_get_max_state() 147 static int devfreq_cooling_get_cur_state(struct thermal_cooling_device *cdev, in devfreq_cooling_get_cur_state() 157 static int devfreq_cooling_set_cur_state(struct thermal_cooling_device *cdev, in devfreq_cooling_set_cur_state() 274 static int devfreq_cooling_get_requested_power(struct thermal_cooling_device *cdev, in devfreq_cooling_get_requested_power() 306 static int devfreq_cooling_state2power(struct thermal_cooling_device *cdev, in devfreq_cooling_state2power() 325 static int devfreq_cooling_power2state(struct thermal_cooling_device *cdev, in devfreq_cooling_power2state() 470 struct thermal_cooling_device * 474 struct thermal_cooling_device *cdev; in of_devfreq_cooling_register_power() 536 struct thermal_cooling_device * [all …]
|
D | clock_cooling.c | 58 struct thermal_cooling_device *cdev; 214 unsigned long clock_cooling_get_level(struct thermal_cooling_device *cdev, in clock_cooling_get_level() 342 static int clock_cooling_get_max_state(struct thermal_cooling_device *cdev, in clock_cooling_get_max_state() 366 static int clock_cooling_get_cur_state(struct thermal_cooling_device *cdev, in clock_cooling_get_cur_state() 386 static int clock_cooling_set_cur_state(struct thermal_cooling_device *cdev, in clock_cooling_set_cur_state() 417 struct thermal_cooling_device * 420 struct thermal_cooling_device *cdev; in clock_cooling_register() 470 void clock_cooling_unregister(struct thermal_cooling_device *cdev) in clock_cooling_unregister()
|
D | cpu_cooling.c | 92 struct thermal_cooling_device *cool_dev; 484 static int cpufreq_get_max_state(struct thermal_cooling_device *cdev, in cpufreq_get_max_state() 503 static int cpufreq_get_cur_state(struct thermal_cooling_device *cdev, in cpufreq_get_cur_state() 523 static int cpufreq_set_cur_state(struct thermal_cooling_device *cdev, in cpufreq_set_cur_state() 570 static int cpufreq_get_requested_power(struct thermal_cooling_device *cdev, in cpufreq_get_requested_power() 650 static int cpufreq_state2power(struct thermal_cooling_device *cdev, in cpufreq_state2power() 702 static int cpufreq_power2state(struct thermal_cooling_device *cdev, in cpufreq_power2state() 785 static struct thermal_cooling_device * 790 struct thermal_cooling_device *cool_dev; in __cpufreq_cooling_register() 924 struct thermal_cooling_device * [all …]
|
D | thermal_core.c | 252 struct thermal_cooling_device *cdev, int trip) in get_thermal_instance() 275 struct thermal_cooling_device *cdev, int ret) in print_bind_err_msg() 282 struct thermal_cooling_device *cdev, in __bind() 308 struct thermal_cooling_device *cdev) in __unbind() 317 static void bind_cdev(struct thermal_cooling_device *cdev) in bind_cdev() 358 struct thermal_cooling_device *pos = NULL; in bind_tz() 780 struct thermal_cooling_device *cdev = NULL; in passive_store() 1030 int power_actor_get_max_power(struct thermal_cooling_device *cdev, in power_actor_get_max_power() 1051 int power_actor_get_min_power(struct thermal_cooling_device *cdev, in power_actor_get_min_power() 1078 int power_actor_set_power(struct thermal_cooling_device *cdev, in power_actor_set_power() [all …]
|
D | db8500_cpufreq_cooling.c | 29 struct thermal_cooling_device *cdev; in db8500_cpufreq_cooling_probe() 52 struct thermal_cooling_device *cdev = platform_get_drvdata(pdev); in db8500_cpufreq_cooling_remove()
|
D | fair_share.c | 62 struct thermal_cooling_device *cdev, int percentage, int level) in get_target_state() 106 struct thermal_cooling_device *cdev = instance->cdev; in fair_share_throttle()
|
D | intel_powerclamp.c | 91 static struct thermal_cooling_device *cooling_dev; 622 static int powerclamp_get_max_state(struct thermal_cooling_device *cdev, in powerclamp_get_max_state() 630 static int powerclamp_get_cur_state(struct thermal_cooling_device *cdev, in powerclamp_get_cur_state() 642 static int powerclamp_set_cur_state(struct thermal_cooling_device *cdev, in powerclamp_set_cur_state()
|
D | thermal_core.h | 42 struct thermal_cooling_device *cdev;
|
D | db8500_thermal.c | 45 static int db8500_thermal_match_cdev(struct thermal_cooling_device *cdev, in db8500_thermal_match_cdev() 63 struct thermal_cooling_device *cdev) in db8500_cdev_bind() 90 struct thermal_cooling_device *cdev) in db8500_cdev_unbind()
|
D | imx_thermal.c | 92 struct thermal_cooling_device *cdev; 301 struct thermal_cooling_device *cdev) in imx_bind() 320 struct thermal_cooling_device *cdev) in imx_unbind()
|
D | step_wise.c | 53 struct thermal_cooling_device *cdev = instance->cdev; in get_target_state()
|
D | power_allocator.c | 100 struct thermal_cooling_device *cdev = instance->cdev; in estimate_sustainable_power() 390 struct thermal_cooling_device *cdev = instance->cdev; in allocate_power()
|
D | of-thermal.c | 216 struct thermal_cooling_device *cdev) in of_thermal_bind() 245 struct thermal_cooling_device *cdev) in of_thermal_unbind()
|
/linux-4.4.14/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-4.4.14/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-4.4.14/drivers/hwmon/ |
D | pwm-fan.c | 38 struct thermal_cooling_device *cdev; 118 static int pwm_fan_get_max_state(struct thermal_cooling_device *cdev, in pwm_fan_get_max_state() 131 static int pwm_fan_get_cur_state(struct thermal_cooling_device *cdev, in pwm_fan_get_cur_state() 145 pwm_fan_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) in pwm_fan_set_cur_state() 216 struct thermal_cooling_device *cdev; in pwm_fan_probe()
|
D | gpio-fan.c | 43 struct thermal_cooling_device *cdev; 393 static int gpio_fan_get_max_state(struct thermal_cooling_device *cdev, in gpio_fan_get_max_state() 405 static int gpio_fan_get_cur_state(struct thermal_cooling_device *cdev, in gpio_fan_get_cur_state() 417 static int gpio_fan_set_cur_state(struct thermal_cooling_device *cdev, in gpio_fan_set_cur_state()
|
/linux-4.4.14/drivers/thermal/int340x_thermal/ |
D | int3403_thermal.c | 47 struct thermal_cooling_device *cdev; 123 static int int3403_get_max_state(struct thermal_cooling_device *cdev, in int3403_get_max_state() 133 static int int3403_get_cur_state(struct thermal_cooling_device *cdev, in int3403_get_cur_state() 149 int3403_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) in int3403_set_cur_state()
|
/linux-4.4.14/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() 163 static int fan_get_cur_state(struct thermal_cooling_device *cdev, unsigned long in fan_get_cur_state() 203 fan_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) in fan_set_cur_state() 322 struct thermal_cooling_device *cdev; in acpi_fan_probe()
|
D | thermal.c | 768 struct thermal_cooling_device *cdev, in acpi_thermal_cooling_device_cb() 859 struct thermal_cooling_device *cdev) in acpi_thermal_bind_cooling_device() 866 struct thermal_cooling_device *cdev) in acpi_thermal_unbind_cooling_device()
|
D | acpi_video.c | 211 struct thermal_cooling_device *cooling_dev; 271 static int video_get_max_state(struct thermal_cooling_device *cooling_dev, unsigned in video_get_max_state() 281 static int video_get_cur_state(struct thermal_cooling_device *cooling_dev, unsigned in video_get_cur_state() 301 video_set_cur_state(struct thermal_cooling_device *cooling_dev, unsigned long state) in video_set_cur_state()
|
/linux-4.4.14/include/trace/events/ |
D | thermal.h | 38 TP_PROTO(struct thermal_cooling_device *cdev, unsigned long target), 140 TP_PROTO(struct thermal_cooling_device *cdev, 168 TP_PROTO(struct thermal_cooling_device *cdev, unsigned long freq,
|
/linux-4.4.14/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( 39 1.1.3 struct thermal_cooling_device *cpufreq_power_cooling_register( 53 1.1.4 struct thermal_cooling_device *of_cpufreq_power_cooling_register( 61 1.1.5 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev)
|
D | sysfs-api.txt | 76 1.2.1 struct thermal_cooling_device *thermal_cooling_device_register(char *name, 89 1.2.2 void thermal_cooling_device_unregister(struct thermal_cooling_device *cdev) 97 int trip, struct thermal_cooling_device *cdev, 117 int trip, struct thermal_cooling_device *cdev); 412 thermal_cooling_device. Both are considered to have the same
|
/linux-4.4.14/drivers/thermal/ti-soc-thermal/ |
D | ti-thermal-common.c | 42 struct thermal_cooling_device *cool_dev; 131 struct thermal_cooling_device *cdev) in ti_thermal_bind() 155 struct thermal_cooling_device *cdev) in ti_thermal_unbind()
|
/linux-4.4.14/drivers/power/ |
D | power_supply_core.c | 607 static int ps_get_max_charge_cntl_limit(struct thermal_cooling_device *tcd, in ps_get_max_charge_cntl_limit() 623 static int ps_get_cur_chrage_cntl_limit(struct thermal_cooling_device *tcd, in ps_get_cur_chrage_cntl_limit() 639 static int ps_set_cur_charge_cntl_limit(struct thermal_cooling_device *tcd, in ps_set_cur_charge_cntl_limit()
|
/linux-4.4.14/include/acpi/ |
D | processor.h | 211 struct thermal_cooling_device *cdev;
|
/linux-4.4.14/drivers/cpufreq/ |
D | cpufreq-dt.c | 35 struct thermal_cooling_device *cdev;
|
D | mt8173-cpufreq.c | 49 struct thermal_cooling_device *cdev;
|