Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/include/linux/
H A Dthermal.h37 struct thermal_cooling_device;
64 struct thermal_cooling_device *);
66 struct thermal_cooling_device *);
87 int (*get_max_state) (struct thermal_cooling_device *, unsigned long *);
88 int (*get_cur_state) (struct thermal_cooling_device *, unsigned long *);
89 int (*set_cur_state) (struct thermal_cooling_device *, unsigned long);
90 int (*get_requested_power)(struct thermal_cooling_device *, u32 *);
91 int (*state2power)(struct thermal_cooling_device *, unsigned long, u32 *);
92 int (*power2state)(struct thermal_cooling_device *, u32, unsigned long *);
97 struct thermal_cooling_device { struct
[all …]
H A Ddevfreq_cooling.h61 struct thermal_cooling_device *
64 struct thermal_cooling_device *
66 struct thermal_cooling_device *devfreq_cooling_register(struct devfreq *df);
67 void devfreq_cooling_unregister(struct thermal_cooling_device *dfc);
71 static inline struct thermal_cooling_device *
78 static inline struct thermal_cooling_device *
84 static inline struct thermal_cooling_device *
91 devfreq_cooling_unregister(struct thermal_cooling_device *dfc) in devfreq_cooling_unregister()
H 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 *
/OK3568_Linux_fs/kernel/drivers/thermal/
H A Dthermal_core.h49 int for_each_thermal_cooling_device(int (*cb)(struct thermal_cooling_device *,
62 static inline bool cdev_is_power_actor(struct thermal_cooling_device *cdev) in cdev_is_power_actor()
68 int power_actor_get_max_power(struct thermal_cooling_device *cdev,
70 int power_actor_get_min_power(struct thermal_cooling_device *cdev,
72 int power_actor_set_power(struct thermal_cooling_device *cdev,
92 struct thermal_cooling_device *cdev,
104 struct thermal_cooling_device *cdev;
123 container_of(_dev, struct thermal_cooling_device, device)
140 void thermal_cooling_device_setup_sysfs(struct thermal_cooling_device *);
141 void thermal_cooling_device_destroy_sysfs(struct thermal_cooling_device *cdev);
[all …]
H A Ddevfreq_cooling.c56 struct thermal_cooling_device *cdev;
68 static int devfreq_cooling_get_max_state(struct thermal_cooling_device *cdev, in devfreq_cooling_get_max_state()
78 static int devfreq_cooling_get_cur_state(struct thermal_cooling_device *cdev, in devfreq_cooling_get_cur_state()
88 static int devfreq_cooling_set_cur_state(struct thermal_cooling_device *cdev, in devfreq_cooling_set_cur_state()
231 static int devfreq_cooling_get_requested_power(struct thermal_cooling_device *cdev, in devfreq_cooling_get_requested_power()
290 static int devfreq_cooling_state2power(struct thermal_cooling_device *cdev, in devfreq_cooling_state2power()
308 static int devfreq_cooling_power2state(struct thermal_cooling_device *cdev, in devfreq_cooling_power2state()
459 struct thermal_cooling_device *
463 struct thermal_cooling_device *cdev; in of_devfreq_cooling_register_power()
536 struct thermal_cooling_device *
[all …]
H A Dcpufreq_cooling.c204 static int cpufreq_get_requested_power(struct thermal_cooling_device *cdev, in cpufreq_get_requested_power()
265 static int cpufreq_state2power(struct thermal_cooling_device *cdev, in cpufreq_state2power()
303 static int cpufreq_power2state(struct thermal_cooling_device *cdev, in cpufreq_power2state()
385 static int cpufreq_get_max_state(struct thermal_cooling_device *cdev, in cpufreq_get_max_state()
404 static int cpufreq_get_cur_state(struct thermal_cooling_device *cdev, in cpufreq_get_cur_state()
424 static int cpufreq_set_cur_state(struct thermal_cooling_device *cdev, in cpufreq_set_cur_state()
480 static struct thermal_cooling_device *
485 struct thermal_cooling_device *cdev; in __cpufreq_cooling_register()
599 struct thermal_cooling_device *
625 struct thermal_cooling_device *
[all …]
H A Dthermal_core.c618 int power_actor_get_max_power(struct thermal_cooling_device *cdev, in power_actor_get_max_power()
638 int power_actor_get_min_power(struct thermal_cooling_device *cdev, in power_actor_get_min_power()
666 int power_actor_set_power(struct thermal_cooling_device *cdev, in power_actor_set_power()
691 struct thermal_cooling_device *cdev = NULL; in thermal_zone_device_rebind_exception()
725 int for_each_thermal_cooling_device(int (*cb)(struct thermal_cooling_device *, in for_each_thermal_cooling_device() argument
728 struct thermal_cooling_device *cdev; in for_each_thermal_cooling_device()
778 struct thermal_cooling_device *cdev = NULL; in thermal_zone_device_unbind_exception()
826 struct thermal_cooling_device *cdev, in thermal_zone_bind_cooling_device()
833 struct thermal_cooling_device *pos2; in thermal_zone_bind_cooling_device()
951 struct thermal_cooling_device *cdev) in thermal_zone_unbind_cooling_device()
[all …]
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.c655 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cdev_type_show()
663 struct thermal_cooling_device *cdev = to_cooling_device(dev); in max_state_show()
676 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cur_state_show()
690 struct thermal_cooling_device *cdev = to_cooling_device(dev); in cur_state_store()
753 void thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev, in thermal_cooling_device_stats_update()
778 struct thermal_cooling_device *cdev = to_cooling_device(dev); in total_trans_show()
793 struct thermal_cooling_device *cdev = to_cooling_device(dev); in time_in_state_ms_show()
814 struct thermal_cooling_device *cdev = to_cooling_device(dev); in reset_store()
836 struct thermal_cooling_device *cdev = to_cooling_device(dev); in trans_table_show()
893 struct thermal_cooling_device *cdev = to_cooling_device( in cooling_device_stats_is_visible()
[all …]
H A Dcpuidle_cooling.c74 static int cpuidle_cooling_get_max_state(struct thermal_cooling_device *cdev, in cpuidle_cooling_get_max_state()
103 static int cpuidle_cooling_get_cur_state(struct thermal_cooling_device *cdev, in cpuidle_cooling_get_cur_state()
125 static int cpuidle_cooling_set_cur_state(struct thermal_cooling_device *cdev, in cpuidle_cooling_set_cur_state()
176 struct thermal_cooling_device *cdev; in __cpuidle_cooling_register()
H A Dthermal_helpers.c46 struct thermal_cooling_device *cdev, int trip) in get_thermal_instance()
178 static void thermal_cdev_set_cur_state(struct thermal_cooling_device *cdev, in thermal_cdev_set_cur_state()
188 void thermal_cdev_update(struct thermal_cooling_device *cdev) in thermal_cdev_update()
H A Dgov_fair_share.c50 struct thermal_cooling_device *cdev, int percentage, int level) in get_target_state()
97 struct thermal_cooling_device *cdev = instance->cdev; in fair_share_throttle()
/OK3568_Linux_fs/kernel/drivers/thermal/intel/int340x_thermal/
H 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()
H 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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath10k/
H 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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath11k/
H 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()
/OK3568_Linux_fs/kernel/drivers/platform/x86/
H A Dacerhdf.c82 static struct thermal_cooling_device *cl_dev;
368 struct thermal_cooling_device *cdev) in acerhdf_bind()
384 struct thermal_cooling_device *cdev) in acerhdf_unbind()
488 static int acerhdf_get_max_state(struct thermal_cooling_device *cdev, in acerhdf_get_max_state()
496 static int acerhdf_get_cur_state(struct thermal_cooling_device *cdev, in acerhdf_get_cur_state()
510 static int acerhdf_set_cur_state(struct thermal_cooling_device *cdev, in acerhdf_set_cur_state()
H 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()
/OK3568_Linux_fs/kernel/include/trace/hooks/
H A Dthermal.h27 struct thermal_cooling_device;
29 TP_PROTO(struct thermal_cooling_device *cdev, bool *disable_stats),
/OK3568_Linux_fs/kernel/drivers/gpu/drm/panfrost/
H A Dpanfrost_devfreq.h12 struct thermal_cooling_device;
19 struct thermal_cooling_device *cooling;
/OK3568_Linux_fs/kernel/drivers/gpu/drm/lima/
H A Dlima_devfreq.h12 struct thermal_cooling_device;
20 struct thermal_cooling_device *cooling;
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_thermal.c101 struct thermal_cooling_device *cdevs[MLXSW_MFCR_PWMS_MAX];
125 struct thermal_cooling_device *cdev) in mlxsw_get_cooling_device_idx()
226 struct thermal_cooling_device *cdev) in mlxsw_thermal_bind()
252 struct thermal_cooling_device *cdev) in mlxsw_thermal_unbind()
382 struct thermal_cooling_device *cdev) in mlxsw_thermal_module_bind()
411 struct thermal_cooling_device *cdev) in mlxsw_thermal_module_unbind()
590 static int mlxsw_thermal_get_max_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_get_max_state()
597 static int mlxsw_thermal_get_cur_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_get_cur_state()
623 static int mlxsw_thermal_set_cur_state(struct thermal_cooling_device *cdev, in mlxsw_thermal_set_cur_state()
926 struct thermal_cooling_device *cdev; in mlxsw_thermal_init()
/OK3568_Linux_fs/kernel/drivers/acpi/
H A Dprocessor_thermal.c191 processor_get_max_state(struct thermal_cooling_device *cdev, in processor_get_max_state()
209 processor_get_cur_state(struct thermal_cooling_device *cdev, in processor_get_cur_state()
229 processor_set_cur_state(struct thermal_cooling_device *cdev, in processor_set_cur_state()
H A Dfan.c72 struct thermal_cooling_device *cdev;
86 static int fan_get_max_state(struct thermal_cooling_device *cdev, unsigned long in fan_get_max_state()
165 static int fan_get_cur_state(struct thermal_cooling_device *cdev, unsigned long in fan_get_cur_state()
205 fan_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state) in fan_set_cur_state()
377 struct thermal_cooling_device *cdev; in acpi_fan_probe()
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Dmlxreg-fan.c109 struct thermal_cooling_device *cdev;
262 static int mlxreg_fan_get_max_state(struct thermal_cooling_device *cdev, in mlxreg_fan_get_max_state()
269 static int mlxreg_fan_get_cur_state(struct thermal_cooling_device *cdev, in mlxreg_fan_get_cur_state()
288 static int mlxreg_fan_set_cur_state(struct thermal_cooling_device *cdev, in mlxreg_fan_set_cur_state()

123