| /linux-6.15/include/linux/ |
| H A D | devfreq_cooling.h | 44 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 D | thermal.h | 33 struct thermal_cooling_device; 98 struct thermal_cooling_device *, 118 int (*get_requested_power)(struct thermal_cooling_device *, u32 *); 123 struct thermal_cooling_device { struct 255 struct thermal_cooling_device * 258 struct thermal_cooling_device * 271 struct thermal_cooling_device *cdev); 300 static inline struct thermal_cooling_device * 304 static inline struct thermal_cooling_device * 309 static inline struct thermal_cooling_device * [all …]
|
| H A D | cpu_cooling.h | 26 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 D | pci-bwctrl.h | 13 struct thermal_cooling_device; 16 struct thermal_cooling_device *pcie_cooling_device_register(struct pci_dev *port); 17 void pcie_cooling_device_unregister(struct thermal_cooling_device *cdev); 19 static inline struct thermal_cooling_device *pcie_cooling_device_register(struct pci_dev *port) in pcie_cooling_device_register() 23 static inline void pcie_cooling_device_unregister(struct thermal_cooling_device *cdev) in pcie_cooling_device_unregister()
|
| /linux-6.15/drivers/thermal/ |
| H A D | thermal_core.h | 205 int for_each_thermal_cooling_device(int (*cb)(struct thermal_cooling_device *, 216 static inline bool cdev_is_power_actor(struct thermal_cooling_device *cdev) in cdev_is_power_actor() 222 void thermal_cdev_update(struct thermal_cooling_device *); 223 void thermal_cdev_update_nocheck(struct thermal_cooling_device *cdev); 224 void __thermal_cdev_update(struct thermal_cooling_device *cdev); 236 struct thermal_cooling_device *cdev; 256 container_of(_dev, struct thermal_cooling_device, device) 288 void thermal_cooling_device_setup_sysfs(struct thermal_cooling_device *); 290 void thermal_cooling_device_stats_reinit(struct thermal_cooling_device *cdev); 298 void thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev, [all …]
|
| H A D | thermal_debugfs.h | 5 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 D | thermal_netlink.h | 28 struct thermal_cooling_device; 47 int thermal_notify_cdev_state_update(const struct thermal_cooling_device *cdev, 49 int thermal_notify_cdev_add(const struct thermal_cooling_device *cdev); 50 int thermal_notify_cdev_delete(const struct thermal_cooling_device *cdev); 117 static inline int thermal_notify_cdev_state_update(const struct thermal_cooling_device *cdev, in thermal_notify_cdev_state_update() 123 static inline int thermal_notify_cdev_add(const struct thermal_cooling_device *cdev) in thermal_notify_cdev_add() 128 static inline int thermal_notify_cdev_delete(const struct thermal_cooling_device *cdev) in thermal_notify_cdev_delete()
|
| H A D | devfreq_cooling.c | 51 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() 265 static int devfreq_cooling_state2power(struct thermal_cooling_device *cdev, in devfreq_cooling_state2power() 392 struct thermal_cooling_device * 396 struct thermal_cooling_device *cdev; in of_devfreq_cooling_register_power() 489 struct thermal_cooling_device * 522 struct thermal_cooling_device * 526 struct thermal_cooling_device *cdev; in devfreq_cooling_em_register() [all …]
|
| H A D | pcie_cooling.c | 20 static int pcie_cooling_get_max_level(struct thermal_cooling_device *cdev, unsigned long *state) in pcie_cooling_get_max_level() 30 static int pcie_cooling_get_cur_level(struct thermal_cooling_device *cdev, unsigned long *state) in pcie_cooling_get_cur_level() 40 static int pcie_cooling_set_cur_level(struct thermal_cooling_device *cdev, unsigned long state) in pcie_cooling_set_cur_level() 57 struct thermal_cooling_device *pcie_cooling_device_register(struct pci_dev *port) in pcie_cooling_device_register() 67 void pcie_cooling_device_unregister(struct thermal_cooling_device *cdev) in pcie_cooling_device_unregister()
|
| H A D | cpufreq_cooling.c | 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 * 652 struct thermal_cooling_device *cdev = NULL; in of_cpufreq_cooling_register() [all …]
|
| H A D | thermal_helpers.c | 43 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 D | khadas_mcu_fan.c | 22 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 D | thermal_sysfs.c | 503 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() 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() 812 cooling_device_stats_setup(struct thermal_cooling_device *cdev) {} in cooling_device_stats_setup() [all …]
|
| H A D | thermal_core.c | 732 struct thermal_cooling_device *cdev; in for_each_thermal_cooling_device() 792 struct thermal_cooling_device *cdev, in thermal_instance_add() 933 struct thermal_cooling_device *cdev) in thermal_unbind_cdev_from_trip() 959 struct thermal_cooling_device *cdev; in thermal_release() 1057 static struct thermal_cooling_device * 1062 struct thermal_cooling_device *cdev; in __thermal_cooling_device_register() 1157 struct thermal_cooling_device * 1180 struct thermal_cooling_device * 1212 struct thermal_cooling_device * 1448 struct thermal_cooling_device *cdev; in thermal_zone_init_complete() [all …]
|
| H A D | cpuidle_cooling.c | 73 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-6.15/drivers/thermal/intel/ |
| H A D | intel_tcc_cooling.c | 18 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()
|
| /linux-6.15/drivers/net/wireless/ath/ath10k/ |
| H A D | thermal.c | 17 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-6.15/drivers/thermal/intel/int340x_thermal/ |
| H A D | int3406_thermal.c | 24 struct thermal_cooling_device *cooling_dev; 41 int3406_thermal_get_max_state(struct thermal_cooling_device *cooling_dev, in int3406_thermal_get_max_state() 51 int3406_thermal_set_cur_state(struct thermal_cooling_device *cooling_dev, in int3406_thermal_set_cur_state() 68 int3406_thermal_get_cur_state(struct thermal_cooling_device *cooling_dev, in int3406_thermal_get_cur_state()
|
| H A D | int3403_thermal.c | 29 struct thermal_cooling_device *cdev; 111 static int int3403_get_max_state(struct thermal_cooling_device *cdev, in int3403_get_max_state() 121 static int int3403_get_cur_state(struct thermal_cooling_device *cdev, in int3403_get_cur_state() 137 int3403_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) in int3403_set_cur_state()
|
| /linux-6.15/drivers/gpu/drm/lima/ |
| H A D | lima_devfreq.h | 12 struct thermal_cooling_device; 18 struct thermal_cooling_device *cooling;
|
| /linux-6.15/drivers/hwmon/ |
| H A D | qnap-mcu-hwmon.c | 29 struct thermal_cooling_device *cdev; 185 static int qnap_mcu_hwmon_get_max_state(struct thermal_cooling_device *cdev, in qnap_mcu_hwmon_get_max_state() 198 static int qnap_mcu_hwmon_get_cur_state(struct thermal_cooling_device *cdev, in qnap_mcu_hwmon_get_cur_state() 211 static int qnap_mcu_hwmon_set_cur_state(struct thermal_cooling_device *cdev, in qnap_mcu_hwmon_set_cur_state() 298 struct thermal_cooling_device *cdev; in qnap_mcu_hwmon_probe()
|
| /linux-6.15/drivers/gpu/drm/panfrost/ |
| H A D | panfrost_devfreq.h | 12 struct thermal_cooling_device; 18 struct thermal_cooling_device *cooling;
|
| /linux-6.15/drivers/net/wireless/ath/ath11k/ |
| H A D | thermal.c | 16 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-6.15/drivers/platform/x86/ |
| H A D | acerhdf.c | 83 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-6.15/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | core_thermal.c | 105 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()
|