Home
last modified time | relevance | path

Searched refs:thermal_cooling_device (Results 1 – 25 of 36) 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 *
H A Ddevfreq.h42 struct thermal_cooling_device;
220 struct thermal_cooling_device *cdev;
/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 Dthermal_fw.c28 struct thermal_cooling_device *
33 struct thermal_cooling_device *cdev; in thermal_fwnode_cooling_device_register()
47 static struct thermal_cooling_device *
52 struct thermal_cooling_device **ptr, *tcd; in __devm_thermal_fwnode_cooling_device_register()
87 struct thermal_cooling_device *
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 Dthermal_core.c665 int for_each_thermal_cooling_device(int (*cb)(struct thermal_cooling_device *, in for_each_thermal_cooling_device() argument
668 struct thermal_cooling_device *cdev; in for_each_thermal_cooling_device()
728 struct thermal_cooling_device *cdev, in thermal_instance_add()
762 struct thermal_cooling_device *cdev, in thermal_bind_cdev_to_trip()
869 struct thermal_cooling_device *cdev) in thermal_unbind_cdev_from_trip()
900 struct thermal_cooling_device *cdev, int ret) in print_bind_err_msg()
907 struct thermal_cooling_device *cdev) in __thermal_zone_cdev_bind()
939 struct thermal_cooling_device *cdev) in thermal_zone_cdev_bind()
947 static void thermal_cooling_device_init_complete(struct thermal_cooling_device *cdev) in thermal_cooling_device_init_complete()
961 struct thermal_cooling_device *cdev = to_cooling_device(dev); in thermal_cdev_release()
[all …]
H A Dthermal_of.c244 struct thermal_cooling_device *cdev, in thermal_of_get_cooling_spec()
297 struct thermal_cooling_device *cdev, in thermal_of_cm_lookup()
325 struct thermal_cooling_device *cdev, in thermal_of_should_bind()
549 struct thermal_cooling_device *
554 struct thermal_cooling_device *cdev; in thermal_of_cooling_device_register()
574 struct thermal_cooling_device *cdev = data; in thermal_of_cooling_device_release()
579 static struct thermal_cooling_device *
584 struct thermal_cooling_device *cdev; in __devm_thermal_of_cooling_device_register()
614 struct thermal_cooling_device *
644 struct thermal_cooling_device *
H A Dgov_power_allocator.c120 struct thermal_cooling_device *cdev; in estimate_sustainable_power()
314 power_actor_set_power(struct thermal_cooling_device *cdev, in power_actor_set_power()
412 struct thermal_cooling_device *cdev; in allocate_power()
549 struct thermal_cooling_device *cdev; in allow_maximum_power()
H A Dthermal_debugfs.c408 void thermal_debug_cdev_state_update(const struct thermal_cooling_device *cdev, in thermal_debug_cdev_state_update()
477 void thermal_debug_cdev_add(struct thermal_cooling_device *cdev, int state) in thermal_debug_cdev_add()
519 static struct thermal_debugfs *thermal_debug_cdev_clear(struct thermal_cooling_device *cdev) in thermal_debug_cdev_clear()
539 void thermal_debug_cdev_remove(struct thermal_cooling_device *cdev) in thermal_debug_cdev_remove()
H A Dthermal_netlink.c411 int thermal_notify_cdev_state_update(const struct thermal_cooling_device *cdev, in thermal_notify_cdev_state_update()
419 int thermal_notify_cdev_add(const struct thermal_cooling_device *cdev) in thermal_notify_cdev_add()
427 int thermal_notify_cdev_delete(const struct thermal_cooling_device *cdev) in thermal_notify_cdev_delete()
613 static int __thermal_genl_cmd_cdev_get(struct thermal_cooling_device *cdev, in __thermal_genl_cmd_cdev_get()
/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()
688 struct thermal_cooling_device *cdev; in mlxsw_thermal_init()
/linux/drivers/platform/arm64/
H A Dqcom-hamoa-ec.c73 struct thermal_cooling_device *cdev;
244 static int qcom_ec_fan_get_max_state(struct thermal_cooling_device *cdev, unsigned long *state) in qcom_ec_fan_get_max_state()
251 static int qcom_ec_fan_get_cur_state(struct thermal_cooling_device *cdev, unsigned long *state) in qcom_ec_fan_get_cur_state()
303 static int qcom_ec_fan_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) in qcom_ec_fan_set_cur_state()
/linux/drivers/acpi/
H A Dprocessor_thermal.c235 processor_get_max_state(struct thermal_cooling_device *cdev, in processor_get_max_state()
253 processor_get_cur_state(struct thermal_cooling_device *cdev, in processor_get_cur_state()
273 processor_set_cur_state(struct thermal_cooling_device *cdev, in processor_set_cur_state()
/linux/Documentation/driver-api/thermal/
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)
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
/linux/drivers/hwmon/
H A Dpwm-fan.c59 struct thermal_cooling_device *cdev;
388 static int pwm_fan_get_max_state(struct thermal_cooling_device *cdev, in pwm_fan_get_max_state()
401 static int pwm_fan_get_cur_state(struct thermal_cooling_device *cdev, in pwm_fan_get_cur_state()
415 pwm_fan_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) in pwm_fan_set_cur_state()
499 struct thermal_cooling_device *cdev; in pwm_fan_probe()
H A Dcros_ec_hwmon.c405 static int cros_ec_hwmon_cooling_get_max_state(struct thermal_cooling_device *cdev, in cros_ec_hwmon_cooling_get_max_state()
412 static int cros_ec_hwmon_cooling_get_cur_state(struct thermal_cooling_device *cdev, in cros_ec_hwmon_cooling_get_cur_state()
429 static int cros_ec_hwmon_cooling_set_cur_state(struct thermal_cooling_device *cdev, in cros_ec_hwmon_cooling_set_cur_state()
527 struct thermal_cooling_device *cdev; in cros_ec_hwmon_register_fan_cooling_devices()
H A Dnpcm750-pwm-fan.c187 struct thermal_cooling_device *tcdev;
794 npcm7xx_pwm_cz_get_max_state(struct thermal_cooling_device *tcdev, in npcm7xx_pwm_cz_get_max_state()
805 npcm7xx_pwm_cz_get_cur_state(struct thermal_cooling_device *tcdev, in npcm7xx_pwm_cz_get_cur_state()
816 npcm7xx_pwm_cz_set_cur_state(struct thermal_cooling_device *tcdev, in npcm7xx_pwm_cz_set_cur_state()
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dthermal.h22 struct thermal_cooling_device *cdev;
H A Dthermal.c314 static int iwl_mld_tcool_get_max_state(struct thermal_cooling_device *cdev, in iwl_mld_tcool_get_max_state()
322 static int iwl_mld_tcool_get_cur_state(struct thermal_cooling_device *cdev, in iwl_mld_tcool_get_cur_state()
332 static int iwl_mld_tcool_set_cur_state(struct thermal_cooling_device *cdev, in iwl_mld_tcool_set_cur_state()
/linux/drivers/net/wireless/ath/ath10k/
H A Dthermal.h16 struct thermal_cooling_device *cdev;

12