Home
last modified time | relevance | path

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

123

/Linux-v4.19/include/linux/
Dthermal.h58 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 …]
Ddevfreq_cooling.h68 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()
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()
Dcpu_cooling.h38 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/
Dthermal_core.h27 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()
Dclock_cooling.c58 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()
Dcpu_cooling.c102 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 …]
Ddevfreq_cooling.c59 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 …]
Dthermal_core.c531 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 …]
Dthermal_sysfs.c670 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 …]
Dfair_share.c62 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/
Dcore_thermal.c70 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/
Dint3406_thermal.c28 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()
Dint3403_thermal.c48 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/
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-v4.19/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-v4.19/drivers/hwmon/
Dpwm-fan.c38 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()
Dmlxreg-fan.c107 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/
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()
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/
Dthermal.h51 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/
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(
38 1.1.3 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev)

123