Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dthermal.h65 struct thermal_cooling_device;
89 struct thermal_cooling_device *);
91 struct thermal_cooling_device *);
116 int (*get_max_state) (struct thermal_cooling_device *, unsigned long *);
117 int (*get_cur_state) (struct thermal_cooling_device *, unsigned long *);
118 int (*set_cur_state) (struct thermal_cooling_device *, unsigned long);
121 struct thermal_cooling_device { struct
220 struct thermal_cooling_device *cdev;
247 struct thermal_cooling_device *cdev);
332 struct thermal_cooling_device *,
[all …]
Dcpu_cooling.h36 struct thermal_cooling_device *
45 struct thermal_cooling_device *
49 static inline struct thermal_cooling_device *
61 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev);
65 static inline struct thermal_cooling_device *
70 static inline struct thermal_cooling_device *
77 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev) in cpufreq_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.h246 struct thermal_cooling_device *tcd;
/linux-4.1.27/drivers/thermal/
Dcpu_cooling.c67 struct thermal_cooling_device *cool_dev;
220 static int cpufreq_get_max_state(struct thermal_cooling_device *cdev, in cpufreq_get_max_state()
239 static int cpufreq_get_cur_state(struct thermal_cooling_device *cdev, in cpufreq_get_cur_state()
259 static int cpufreq_set_cur_state(struct thermal_cooling_device *cdev, in cpufreq_set_cur_state()
323 static struct thermal_cooling_device *
327 struct thermal_cooling_device *cool_dev; in __cpufreq_cooling_register()
422 struct thermal_cooling_device *
442 struct thermal_cooling_device *
459 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev) in cpufreq_cooling_unregister()
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()
Dthermal_core.c193 struct thermal_cooling_device *cdev, int trip) in get_thermal_instance()
216 struct thermal_cooling_device *cdev, int ret) in print_bind_err_msg()
223 struct thermal_cooling_device *cdev, in __bind()
247 struct thermal_cooling_device *cdev) in __unbind()
256 static void bind_cdev(struct thermal_cooling_device *cdev) in bind_cdev()
296 struct thermal_cooling_device *pos = NULL; in bind_tz()
720 struct thermal_cooling_device *cdev = NULL; in passive_store()
845 container_of(_dev, struct thermal_cooling_device, device)
851 struct thermal_cooling_device *cdev = to_cooling_device(dev); in thermal_cooling_device_type_show()
860 struct thermal_cooling_device *cdev = to_cooling_device(dev); in thermal_cooling_device_max_state_show()
[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 weight, int level) in get_target_state()
92 struct thermal_cooling_device *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.c97 struct thermal_cooling_device *cdev;
303 struct thermal_cooling_device *cdev) in imx_bind()
321 struct thermal_cooling_device *cdev) in imx_unbind()
Dstep_wise.c53 struct thermal_cooling_device *cdev = instance->cdev; in get_target_state()
Dof-thermal.c212 struct thermal_cooling_device *cdev) in of_thermal_bind()
240 struct thermal_cooling_device *cdev) in of_thermal_unbind()
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
Dthermal.c49 static int ath10k_thermal_get_max_dutycycle(struct thermal_cooling_device *cdev, in ath10k_thermal_get_max_dutycycle()
57 static int ath10k_thermal_get_cur_dutycycle(struct thermal_cooling_device *cdev, in ath10k_thermal_get_cur_dutycycle()
69 static int ath10k_thermal_set_cur_dutycycle(struct thermal_cooling_device *cdev, in ath10k_thermal_set_cur_dutycycle()
189 struct thermal_cooling_device *cdev; in ath10k_thermal_register()
Dthermal.h27 struct thermal_cooling_device *cdev;
/linux-4.1.27/Documentation/thermal/
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 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,
115 int trip, struct thermal_cooling_device *cdev);
321 thermal_cooling_device.
/linux-4.1.27/drivers/platform/x86/
Dacerhdf.c94 static struct thermal_cooling_device *cl_dev;
368 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.1.27/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.1.27/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.1.27/drivers/acpi/
Dprocessor_thermal.c202 processor_get_max_state(struct thermal_cooling_device *cdev, in processor_get_max_state()
220 processor_get_cur_state(struct thermal_cooling_device *cdev, in processor_get_cur_state()
240 processor_set_cur_state(struct thermal_cooling_device *cdev, in processor_set_cur_state()
Dfan.c84 struct thermal_cooling_device *cdev;
98 static int fan_get_max_state(struct thermal_cooling_device *cdev, unsigned long in fan_get_max_state()
166 static int fan_get_cur_state(struct thermal_cooling_device *cdev, unsigned long in fan_get_cur_state()
206 fan_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) in fan_set_cur_state()
325 struct thermal_cooling_device *cdev; in acpi_fan_probe()
Dthermal.c772 struct thermal_cooling_device *cdev, in acpi_thermal_cooling_device_cb()
860 struct thermal_cooling_device *cdev) in acpi_thermal_bind_cooling_device()
867 struct thermal_cooling_device *cdev) in acpi_thermal_unbind_cooling_device()
Dvideo.c220 struct thermal_cooling_device *cooling_dev;
298 static int video_get_max_state(struct thermal_cooling_device *cooling_dev, unsigned in video_get_max_state()
308 static int video_get_cur_state(struct thermal_cooling_device *cooling_dev, unsigned in video_get_cur_state()
328 video_set_cur_state(struct thermal_cooling_device *cooling_dev, unsigned long state) in video_set_cur_state()
/linux-4.1.27/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()
154 struct thermal_cooling_device *cdev) in ti_thermal_unbind()
/linux-4.1.27/include/trace/events/
Dthermal.h37 TP_PROTO(struct thermal_cooling_device *cdev, unsigned long target),
/linux-4.1.27/drivers/power/
Dpower_supply_core.c568 static int ps_get_max_charge_cntl_limit(struct thermal_cooling_device *tcd, in ps_get_max_charge_cntl_limit()
584 static int ps_get_cur_chrage_cntl_limit(struct thermal_cooling_device *tcd, in ps_get_cur_chrage_cntl_limit()
600 static int ps_set_cur_charge_cntl_limit(struct thermal_cooling_device *tcd, in ps_set_cur_charge_cntl_limit()
/linux-4.1.27/drivers/cpufreq/
Dexynos-cpufreq.c27 static struct thermal_cooling_device *cdev;
Dcpufreq-dt.c35 struct thermal_cooling_device *cdev;
/linux-4.1.27/include/acpi/
Dprocessor.h211 struct thermal_cooling_device *cdev;