Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/include/linux/
A Dthermal.h33 struct thermal_cooling_device;
58 struct thermal_cooling_device *);
60 struct thermal_cooling_device *);
100 struct thermal_cooling_device { struct
212 struct thermal_cooling_device *cdev;
242 struct thermal_cooling_device *cdev);
369 struct thermal_cooling_device *,
373 struct thermal_cooling_device *);
379 struct thermal_cooling_device *
382 struct thermal_cooling_device *
[all …]
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()
A Dcpu_cooling.h27 struct thermal_cooling_device *
34 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev);
40 struct thermal_cooling_device *
44 static inline struct thermal_cooling_device *
51 void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev) in cpufreq_cooling_unregister()
56 static inline struct thermal_cooling_device *
/linux-6.3-rc2/drivers/thermal/
A Dthermal_core.h49 int for_each_thermal_cooling_device(int (*cb)(struct thermal_cooling_device *,
66 static inline bool cdev_is_power_actor(struct thermal_cooling_device *cdev) in cdev_is_power_actor()
72 void thermal_cdev_update(struct thermal_cooling_device *);
73 void __thermal_cdev_update(struct thermal_cooling_device *cdev);
79 struct thermal_cooling_device *cdev,
91 struct thermal_cooling_device *cdev;
110 container_of(_dev, struct thermal_cooling_device, device)
128 void thermal_cooling_device_setup_sysfs(struct thermal_cooling_device *);
129 void thermal_cooling_device_destroy_sysfs(struct thermal_cooling_device *cdev);
137 void thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev,
[all …]
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()
244 static int devfreq_cooling_state2power(struct thermal_cooling_device *cdev, in devfreq_cooling_state2power()
361 struct thermal_cooling_device *
365 struct thermal_cooling_device *cdev; in of_devfreq_cooling_register_power()
458 struct thermal_cooling_device *
491 struct thermal_cooling_device *
495 struct thermal_cooling_device *cdev; in devfreq_cooling_em_register()
[all …]
A Dcpufreq_cooling.c262 static int cpufreq_state2power(struct thermal_cooling_device *cdev, in cpufreq_state2power()
296 static int cpufreq_power2state(struct thermal_cooling_device *cdev, in cpufreq_power2state()
408 static int cpufreq_get_max_state(struct thermal_cooling_device *cdev, in cpufreq_get_max_state()
427 static int cpufreq_get_cur_state(struct thermal_cooling_device *cdev, in cpufreq_get_cur_state()
447 static int cpufreq_set_cur_state(struct thermal_cooling_device *cdev, in cpufreq_set_cur_state()
491 static struct thermal_cooling_device *
496 struct thermal_cooling_device *cdev; in __cpufreq_cooling_register()
601 struct thermal_cooling_device *
624 struct thermal_cooling_device *
628 struct thermal_cooling_device *cdev = NULL; in of_cpufreq_cooling_register()
[all …]
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()
A Dcpuidle_cooling.c72 static int cpuidle_cooling_get_max_state(struct thermal_cooling_device *cdev, in cpuidle_cooling_get_max_state()
101 static int cpuidle_cooling_get_cur_state(struct thermal_cooling_device *cdev, in cpuidle_cooling_get_cur_state()
123 static int cpuidle_cooling_set_cur_state(struct thermal_cooling_device *cdev, in cpuidle_cooling_set_cur_state()
174 struct thermal_cooling_device *cdev; in __cpuidle_cooling_register()
A Dthermal_core.c527 struct thermal_cooling_device *cdev; in for_each_thermal_cooling_device()
615 struct thermal_cooling_device *pos2; in thermal_zone_bind_cooling_device()
761 struct thermal_cooling_device *cdev; in thermal_release()
790 struct thermal_cooling_device *cdev, in __bind()
869 static struct thermal_cooling_device *
874 struct thermal_cooling_device *cdev; in __thermal_cooling_device_register()
967 struct thermal_cooling_device *
990 struct thermal_cooling_device *
1022 struct thermal_cooling_device *
1028 struct thermal_cooling_device **ptr, *tcd; in devm_thermal_of_cooling_device_register()
[all …]
A Dthermal_sysfs.c587 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cdev_type_show()
595 struct thermal_cooling_device *cdev = to_cooling_device(dev); in max_state_show()
603 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cur_state_show()
617 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cur_state_store()
708 struct thermal_cooling_device *cdev = to_cooling_device(dev); in total_trans_show()
723 struct thermal_cooling_device *cdev = to_cooling_device(dev); in time_in_state_ms_show()
744 struct thermal_cooling_device *cdev = to_cooling_device(dev); in reset_store()
766 struct thermal_cooling_device *cdev = to_cooling_device(dev); in trans_table_show()
825 static void cooling_device_stats_setup(struct thermal_cooling_device *cdev) in cooling_device_stats_setup()
865 cooling_device_stats_setup(struct thermal_cooling_device *cdev) {} in cooling_device_stats_setup()
[all …]
A Dthermal_helpers.c45 struct thermal_cooling_device *cdev, int trip) in get_thermal_instance()
149 static void thermal_cdev_set_cur_state(struct thermal_cooling_device *cdev, in thermal_cdev_set_cur_state()
159 void __thermal_cdev_update(struct thermal_cooling_device *cdev) in __thermal_cdev_update()
186 void thermal_cdev_update(struct thermal_cooling_device *cdev) in thermal_cdev_update()
A Dthermal_of.c293 struct thermal_zone_device *tz, struct thermal_cooling_device *cdev) in __thermal_of_unbind()
324 struct thermal_zone_device *tz, struct thermal_cooling_device *cdev) in __thermal_of_bind()
359 struct thermal_zone_device *tz, struct thermal_cooling_device *cdev, in thermal_of_for_each_cooling_device() argument
361 struct thermal_zone_device *, struct thermal_cooling_device *)) in thermal_of_for_each_cooling_device()
392 struct thermal_cooling_device *cdev, in thermal_of_for_each_cooling_maps() argument
394 struct thermal_zone_device *, struct thermal_cooling_device *)) in thermal_of_for_each_cooling_maps()
423 struct thermal_cooling_device *cdev) in thermal_of_bind()
429 struct thermal_cooling_device *cdev) in thermal_of_unbind()
A Dgov_fair_share.c44 struct thermal_cooling_device *cdev, int percentage, int level) in get_target_state()
87 struct thermal_cooling_device *cdev = instance->cdev; in fair_share_throttle()
/linux-6.3-rc2/drivers/thermal/intel/
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()
A Dintel_menlow.c48 static int memory_get_max_bandwidth(struct thermal_cooling_device *cdev, in memory_get_max_bandwidth()
74 static int memory_get_cur_bandwidth(struct thermal_cooling_device *cdev, in memory_get_cur_bandwidth()
97 static int memory_set_cur_bandwidth(struct thermal_cooling_device *cdev, in memory_set_cur_bandwidth()
142 struct thermal_cooling_device *cdev; in intel_menlow_memory_add()
184 struct thermal_cooling_device *cdev; in intel_menlow_memory_remove()
/linux-6.3-rc2/drivers/thermal/intel/int340x_thermal/
A Dint3406_thermal.c24 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()
A Dint3403_thermal.c40 struct thermal_cooling_device *cdev;
122 static int int3403_get_max_state(struct thermal_cooling_device *cdev, in int3403_get_max_state()
132 static int int3403_get_cur_state(struct thermal_cooling_device *cdev, in int3403_get_cur_state()
148 int3403_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) in int3403_set_cur_state()
/linux-6.3-rc2/drivers/net/wireless/ath/ath10k/
A Dthermal.c16 ath10k_thermal_get_max_throttle_state(struct thermal_cooling_device *cdev, in ath10k_thermal_get_max_throttle_state()
25 ath10k_thermal_get_cur_throttle_state(struct thermal_cooling_device *cdev, in ath10k_thermal_get_cur_throttle_state()
38 ath10k_thermal_set_cur_throttle_state(struct thermal_cooling_device *cdev, in ath10k_thermal_set_cur_throttle_state()
156 struct thermal_cooling_device *cdev; in ath10k_thermal_register()
/linux-6.3-rc2/drivers/gpu/drm/lima/
A Dlima_devfreq.h12 struct thermal_cooling_device;
18 struct thermal_cooling_device *cooling;
/linux-6.3-rc2/drivers/gpu/drm/panfrost/
A Dpanfrost_devfreq.h12 struct thermal_cooling_device;
18 struct thermal_cooling_device *cooling;
/linux-6.3-rc2/drivers/net/wireless/ath/ath11k/
A Dthermal.c15 ath11k_thermal_get_max_throttle_state(struct thermal_cooling_device *cdev, in ath11k_thermal_get_max_throttle_state()
24 ath11k_thermal_get_cur_throttle_state(struct thermal_cooling_device *cdev, in ath11k_thermal_get_cur_throttle_state()
37 ath11k_thermal_set_cur_throttle_state(struct thermal_cooling_device *cdev, in ath11k_thermal_set_cur_throttle_state()
159 struct thermal_cooling_device *cdev; in ath11k_thermal_register()
/linux-6.3-rc2/drivers/platform/x86/
A Dacerhdf.c84 static struct thermal_cooling_device *cl_dev;
388 struct thermal_cooling_device *cdev) in acerhdf_bind()
404 struct thermal_cooling_device *cdev) in acerhdf_unbind()
467 static int acerhdf_get_max_state(struct thermal_cooling_device *cdev, in acerhdf_get_max_state()
475 static int acerhdf_get_cur_state(struct thermal_cooling_device *cdev, in acerhdf_get_cur_state()
489 static int acerhdf_set_cur_state(struct thermal_cooling_device *cdev, in acerhdf_set_cur_state()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dcore_thermal.c107 struct thermal_cooling_device *cdevs[MLXSW_MFCR_PWMS_MAX];
127 struct thermal_cooling_device *cdev) in mlxsw_get_cooling_device_idx()
202 struct thermal_cooling_device *cdev) in mlxsw_thermal_bind()
228 struct thermal_cooling_device *cdev) in mlxsw_thermal_unbind()
282 struct thermal_cooling_device *cdev) in mlxsw_thermal_module_bind()
311 struct thermal_cooling_device *cdev) in mlxsw_thermal_module_unbind()
420 static int mlxsw_thermal_get_max_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_get_max_state()
427 static int mlxsw_thermal_get_cur_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_get_cur_state()
453 static int mlxsw_thermal_set_cur_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_set_cur_state()
848 struct thermal_cooling_device *cdev; in mlxsw_thermal_init()
/linux-6.3-rc2/include/trace/events/
A Dthermal.h51 TP_PROTO(struct thermal_cooling_device *cdev, unsigned long target),
142 TP_PROTO(struct thermal_cooling_device *cdev,
172 TP_PROTO(struct thermal_cooling_device *cdev, unsigned long freq,
/linux-6.3-rc2/drivers/acpi/
A Dprocessor_thermal.c194 processor_get_max_state(struct thermal_cooling_device *cdev, in processor_get_max_state()
212 processor_get_cur_state(struct thermal_cooling_device *cdev, in processor_get_cur_state()
232 processor_set_cur_state(struct thermal_cooling_device *cdev, in processor_set_cur_state()

Completed in 46 milliseconds

123