Home
last modified time | relevance | path

Searched refs:thermal_cooling_device (Results 1 – 38 of 38) sorted by relevance

/linux-4.4.14/include/linux/
Dthermal.h72 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 …]
Dcpu_cooling.h39 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 …]
Ddevfreq_cooling.h46 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()
Dclock_cooling.h36 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()
Dpower_supply.h251 struct thermal_cooling_device *tcd;
/linux-4.4.14/drivers/thermal/
Ddevfreq_cooling.c51 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 …]
Dclock_cooling.c58 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()
Dcpu_cooling.c92 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 …]
Dthermal_core.c252 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 …]
Ddb8500_cpufreq_cooling.c29 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()
Dfair_share.c62 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()
Dintel_powerclamp.c91 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()
Dthermal_core.h42 struct thermal_cooling_device *cdev;
Ddb8500_thermal.c45 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()
Dimx_thermal.c92 struct thermal_cooling_device *cdev;
301 struct thermal_cooling_device *cdev) in imx_bind()
320 struct thermal_cooling_device *cdev) in imx_unbind()
Dstep_wise.c53 struct thermal_cooling_device *cdev = instance->cdev; in get_target_state()
Dpower_allocator.c100 struct thermal_cooling_device *cdev = instance->cdev; in estimate_sustainable_power()
390 struct thermal_cooling_device *cdev = instance->cdev; in allocate_power()
Dof-thermal.c216 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/
Dthermal.c27 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()
Dthermal.h27 struct thermal_cooling_device *cdev;
/linux-4.4.14/drivers/platform/x86/
Dacerhdf.c94 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()
Dintel_menlow.c63 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/
Dpwm-fan.c38 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()
Dgpio-fan.c43 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/
Dint3403_thermal.c47 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/
Dprocessor_thermal.c198 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()
Dfan.c80 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()
Dthermal.c768 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()
Dacpi_video.c211 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/
Dthermal.h38 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/
Dpower_allocator.txt181 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
Dcpu-cooling-api.txt19 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)
Dsysfs-api.txt76 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/
Dti-thermal-common.c42 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/
Dpower_supply_core.c607 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/
Dprocessor.h211 struct thermal_cooling_device *cdev;
/linux-4.4.14/drivers/cpufreq/
Dcpufreq-dt.c35 struct thermal_cooling_device *cdev;
Dmt8173-cpufreq.c49 struct thermal_cooling_device *cdev;