Home
last modified time | relevance | path

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

12

/linux/include/linux/
H A Ddevfreq_cooling.h44 struct thermal_cooling_device *
47 struct thermal_cooling_device *
49 struct thermal_cooling_device *devfreq_cooling_register(struct devfreq *df);
50 void devfreq_cooling_unregister(struct thermal_cooling_device *dfc);
51 struct thermal_cooling_device *
57 static inline struct thermal_cooling_device *
64 static inline struct thermal_cooling_device *
70 static inline struct thermal_cooling_device *
76 static inline struct thermal_cooling_device *
84 devfreq_cooling_unregister(struct thermal_cooling_device *dfc) in devfreq_cooling_unregister()
H A Dcpu_cooling.h26 struct thermal_cooling_device *
33 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev);
39 struct thermal_cooling_device *
43 static inline struct thermal_cooling_device *
50 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev) in cpufreq_cooling_unregister()
55 static inline struct thermal_cooling_device *
/linux/drivers/thermal/
H A Dthermal_debugfs.h5 void thermal_debug_cdev_add(struct thermal_cooling_device *cdev, int state);
6 void thermal_debug_cdev_remove(struct thermal_cooling_device *cdev);
7 void thermal_debug_cdev_state_update(const struct thermal_cooling_device *cdev, int state);
18 static inline void thermal_debug_cdev_add(struct thermal_cooling_device *cdev, int state) {} in thermal_debug_cdev_add()
19 static inline void thermal_debug_cdev_remove(struct thermal_cooling_device *cdev) {} in thermal_debug_cdev_remove()
20 static inline void thermal_debug_cdev_state_update(const struct thermal_cooling_device *cdev, in thermal_debug_cdev_state_update()
H A Ddevfreq_cooling.c51 struct thermal_cooling_device *cdev;
64 static int devfreq_cooling_get_max_state(struct thermal_cooling_device *cdev, in devfreq_cooling_get_max_state()
74 static int devfreq_cooling_get_cur_state(struct thermal_cooling_device *cdev, in devfreq_cooling_get_cur_state()
84 static int devfreq_cooling_set_cur_state(struct thermal_cooling_device *cdev, in devfreq_cooling_set_cur_state()
190 static int devfreq_cooling_get_requested_power(struct thermal_cooling_device *cdev, in devfreq_cooling_get_requested_power()
265 static int devfreq_cooling_state2power(struct thermal_cooling_device *cdev, in devfreq_cooling_state2power()
287 static int devfreq_cooling_power2state(struct thermal_cooling_device *cdev, in devfreq_cooling_power2state()
392 struct thermal_cooling_device *
396 struct thermal_cooling_device *cdev; in of_devfreq_cooling_register_power()
489 struct thermal_cooling_device *
[all …]
H A Dcpufreq_cooling.c230 static int cpufreq_get_requested_power(struct thermal_cooling_device *cdev, in cpufreq_get_requested_power()
274 static int cpufreq_state2power(struct thermal_cooling_device *cdev, in cpufreq_state2power()
314 static int cpufreq_power2state(struct thermal_cooling_device *cdev, in cpufreq_power2state()
435 static int cpufreq_get_max_state(struct thermal_cooling_device *cdev, in cpufreq_get_max_state()
454 static int cpufreq_get_cur_state(struct thermal_cooling_device *cdev, in cpufreq_get_cur_state()
474 static int cpufreq_set_cur_state(struct thermal_cooling_device *cdev, in cpufreq_set_cur_state()
515 static struct thermal_cooling_device *
520 struct thermal_cooling_device *cdev; in __cpufreq_cooling_register()
625 struct thermal_cooling_device *
648 struct thermal_cooling_device *
[all …]
H A Dthermal_helpers.c43 struct thermal_cooling_device *cdev, in thermal_instance_present()
59 struct thermal_cooling_device *cdev) in thermal_trip_is_bound_to_cdev()
147 static int thermal_cdev_set_cur_state(struct thermal_cooling_device *cdev, int state) in thermal_cdev_set_cur_state()
166 void __thermal_cdev_update(struct thermal_cooling_device *cdev) in __thermal_cdev_update()
191 void thermal_cdev_update(struct thermal_cooling_device *cdev) in thermal_cdev_update()
205 void thermal_cdev_update_nocheck(struct thermal_cooling_device *cdev) in thermal_cdev_update_nocheck()
H A Dkhadas_mcu_fan.c22 struct thermal_cooling_device *cdev;
40 static int khadas_mcu_fan_get_max_state(struct thermal_cooling_device *cdev, in khadas_mcu_fan_get_max_state()
48 static int khadas_mcu_fan_get_cur_state(struct thermal_cooling_device *cdev, in khadas_mcu_fan_get_cur_state()
59 khadas_mcu_fan_set_cur_state(struct thermal_cooling_device *cdev, in khadas_mcu_fan_set_cur_state()
82 struct thermal_cooling_device *cdev; in khadas_mcu_fan_probe()
H A Dthermal_sysfs.c503 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cdev_type_show()
511 struct thermal_cooling_device *cdev = to_cooling_device(dev); in max_state_show()
519 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cur_state_show()
533 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cur_state_store()
600 void thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev, in thermal_cooling_device_stats_update()
627 struct thermal_cooling_device *cdev = to_cooling_device(dev); in total_trans_show()
648 struct thermal_cooling_device *cdev = to_cooling_device(dev); in time_in_state_ms_show()
676 struct thermal_cooling_device *cdev = to_cooling_device(dev); in reset_store()
706 struct thermal_cooling_device *cdev = to_cooling_device(dev); in trans_table_show()
772 static void cooling_device_stats_setup(struct thermal_cooling_device *cdev) in cooling_device_stats_setup()
[all …]
H A Dcpuidle_cooling.c73 static int cpuidle_cooling_get_max_state(struct thermal_cooling_device *cdev, in cpuidle_cooling_get_max_state()
102 static int cpuidle_cooling_get_cur_state(struct thermal_cooling_device *cdev, in cpuidle_cooling_get_cur_state()
124 static int cpuidle_cooling_set_cur_state(struct thermal_cooling_device *cdev, in cpuidle_cooling_set_cur_state()
175 struct thermal_cooling_device *cdev; in __cpuidle_cooling_register()
/linux/drivers/thermal/intel/
H A Dintel_tcc_cooling.c18 static struct thermal_cooling_device *tcc_cdev;
20 static int tcc_get_max_state(struct thermal_cooling_device *cdev, unsigned long in tcc_get_max_state()
27 static int tcc_get_cur_state(struct thermal_cooling_device *cdev, unsigned long in tcc_get_cur_state()
39 static int tcc_set_cur_state(struct thermal_cooling_device *cdev, unsigned long in tcc_set_cur_state()
H A Dintel_powerclamp.c72 static struct thermal_cooling_device *cooling_dev;
650 static int powerclamp_get_max_state(struct thermal_cooling_device *cdev, in powerclamp_get_max_state()
658 static int powerclamp_get_cur_state(struct thermal_cooling_device *cdev, in powerclamp_get_cur_state()
668 static int powerclamp_set_cur_state(struct thermal_cooling_device *cdev, in powerclamp_set_cur_state()
/linux/drivers/net/wireless/ath/ath10k/
H A Dthermal.c17 ath10k_thermal_get_max_throttle_state(struct thermal_cooling_device *cdev, in ath10k_thermal_get_max_throttle_state()
26 ath10k_thermal_get_cur_throttle_state(struct thermal_cooling_device *cdev, in ath10k_thermal_get_cur_throttle_state()
39 ath10k_thermal_set_cur_throttle_state(struct thermal_cooling_device *cdev, in ath10k_thermal_set_cur_throttle_state()
157 struct thermal_cooling_device *cdev; in ath10k_thermal_register()
/linux/drivers/net/wireless/ath/ath11k/
H A Dthermal.c16 ath11k_thermal_get_max_throttle_state(struct thermal_cooling_device *cdev, in ath11k_thermal_get_max_throttle_state()
25 ath11k_thermal_get_cur_throttle_state(struct thermal_cooling_device *cdev, in ath11k_thermal_get_cur_throttle_state()
38 ath11k_thermal_set_cur_throttle_state(struct thermal_cooling_device *cdev, in ath11k_thermal_set_cur_throttle_state()
160 struct thermal_cooling_device *cdev; in ath11k_thermal_register()
/linux/drivers/gpu/drm/lima/
H A Dlima_devfreq.h12 struct thermal_cooling_device;
18 struct thermal_cooling_device *cooling;
/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_devfreq.h12 struct thermal_cooling_device;
18 struct thermal_cooling_device *cooling;
/linux/drivers/platform/x86/
H A Dacerhdf.c83 static struct thermal_cooling_device *cl_dev;
383 struct thermal_cooling_device *cdev, in acerhdf_should_bind()
440 static int acerhdf_get_max_state(struct thermal_cooling_device *cdev, in acerhdf_get_max_state()
448 static int acerhdf_get_cur_state(struct thermal_cooling_device *cdev, in acerhdf_get_cur_state()
462 static int acerhdf_set_cur_state(struct thermal_cooling_device *cdev, in acerhdf_set_cur_state()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_thermal.c105 struct thermal_cooling_device *cdev;
151 struct thermal_cooling_device *cdev) in mlxsw_get_cooling_device_idx()
170 struct thermal_cooling_device *cdev, in mlxsw_thermal_should_bind()
219 struct thermal_cooling_device *cdev, in mlxsw_thermal_module_should_bind()
288 static int mlxsw_thermal_get_max_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_get_max_state()
295 static int mlxsw_thermal_get_cur_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_get_cur_state()
318 static int mlxsw_thermal_set_cur_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_set_cur_state()
691 struct thermal_cooling_device *cdev; in mlxsw_thermal_init()
/linux/drivers/hwmon/
H A Demc2305.c80 struct thermal_cooling_device *cdev;
122 static int emc2305_get_cdev_idx(struct thermal_cooling_device *cdev) in emc2305_get_cdev_idx()
153 static int emc2305_get_cur_state(struct thermal_cooling_device *cdev, unsigned long *state) in emc2305_get_cur_state()
166 static int emc2305_get_max_state(struct thermal_cooling_device *cdev, unsigned long *state) in emc2305_get_max_state()
203 static int emc2305_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) in emc2305_set_cur_state()
H A Dmlxreg-fan.c91 struct thermal_cooling_device *cdev;
116 static int mlxreg_fan_set_cur_state(struct thermal_cooling_device *cdev,
333 static int mlxreg_fan_get_max_state(struct thermal_cooling_device *cdev, in mlxreg_fan_get_max_state()
340 static int mlxreg_fan_get_cur_state(struct thermal_cooling_device *cdev, in mlxreg_fan_get_cur_state()
360 static int mlxreg_fan_set_cur_state(struct thermal_cooling_device *cdev, in mlxreg_fan_set_cur_state()
H A Dtc654.c471 static int tc654_get_max_state(struct thermal_cooling_device *cdev, unsigned long *state) in tc654_get_max_state()
477 static int tc654_get_cur_state(struct thermal_cooling_device *cdev, unsigned long *state) in tc654_get_cur_state()
492 static int tc654_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) in tc654_set_cur_state()
542 struct thermal_cooling_device *cdev; in tc654_probe()
H A Dgpio-fan.c34 struct thermal_cooling_device *cdev;
361 static int gpio_fan_get_max_state(struct thermal_cooling_device *cdev, in gpio_fan_get_max_state()
373 static int gpio_fan_get_cur_state(struct thermal_cooling_device *cdev, in gpio_fan_get_cur_state()
385 static int gpio_fan_set_cur_state(struct thermal_cooling_device *cdev, in gpio_fan_set_cur_state()
H A Dmax6650.c470 static int max6650_get_max_state(struct thermal_cooling_device *cdev, in max6650_get_max_state()
478 static int max6650_get_cur_state(struct thermal_cooling_device *cdev, in max6650_get_cur_state()
488 static int max6650_set_cur_state(struct thermal_cooling_device *cdev, in max6650_set_cur_state()
764 struct thermal_cooling_device *cooling_dev; in max6650_probe()
/linux/drivers/acpi/
H A Dprocessor_thermal.c233 processor_get_max_state(struct thermal_cooling_device *cdev, in processor_get_max_state()
251 processor_get_cur_state(struct thermal_cooling_device *cdev, in processor_get_cur_state()
271 processor_set_cur_state(struct thermal_cooling_device *cdev, in processor_set_cur_state()
/linux/Documentation/driver-api/thermal/
H A Dpower_allocator.rst188 int get_requested_power(struct thermal_cooling_device *cdev,
193 The `struct thermal_cooling_device` pointer
207 int state2power(struct thermal_cooling_device *cdev, struct
212 The `struct thermal_cooling_device` pointer
227 int power2state(struct thermal_cooling_device *cdev, u32 power,
231 The `struct thermal_cooling_device` pointer
H A Dcpu-cooling-api.rst26 struct thermal_cooling_device
38 struct thermal_cooling_device
52 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev)

12