Searched refs:thermal_cooling_device (Results 1 - 25 of 66) sorted by relevance

123

/linux-master/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 *df
[all...]
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)
56 static inline struct thermal_cooling_device *
H A Dthermal.h33 struct thermal_cooling_device;
86 struct thermal_cooling_device *);
88 struct thermal_cooling_device *);
103 int (*get_max_state) (struct thermal_cooling_device *, unsigned long *);
104 int (*get_cur_state) (struct thermal_cooling_device *, unsigned long *);
105 int (*set_cur_state) (struct thermal_cooling_device *, unsigned long);
106 int (*get_requested_power)(struct thermal_cooling_device *, u32 *);
107 int (*state2power)(struct thermal_cooling_device *, unsigned long, u32 *);
108 int (*power2state)(struct thermal_cooling_device *, u32, unsigned long *);
111 struct thermal_cooling_device { struct
[all...]
/linux-master/drivers/thermal/
H A Dthermal_debugfs.h5 void thermal_debug_cdev_add(struct thermal_cooling_device *cdev);
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);
17 static inline void thermal_debug_cdev_add(struct thermal_cooling_device *cdev) {}
18 static inline void thermal_debug_cdev_remove(struct thermal_cooling_device *cdev) {}
19 static inline void thermal_debug_cdev_state_update(const struct thermal_cooling_device *cdev,
H A Dthermal_netlink.h15 struct thermal_cooling_device;
31 int thermal_notify_cdev_state_update(const struct thermal_cooling_device *cdev,
33 int thermal_notify_cdev_add(const struct thermal_cooling_device *cdev);
34 int thermal_notify_cdev_delete(const struct thermal_cooling_device *cdev);
84 static inline int thermal_notify_cdev_state_update(const struct thermal_cooling_device *cdev,
90 static inline int thermal_notify_cdev_add(const struct thermal_cooling_device *cdev)
95 static inline int thermal_notify_cdev_delete(const struct thermal_cooling_device *cdev)
H A Dthermal_core.h52 int for_each_thermal_cooling_device(int (*cb)(struct thermal_cooling_device *,
65 static inline bool cdev_is_power_actor(struct thermal_cooling_device *cdev)
71 void thermal_cdev_update(struct thermal_cooling_device *);
72 void __thermal_cdev_update(struct thermal_cooling_device *cdev);
78 struct thermal_cooling_device *cdev,
90 struct thermal_cooling_device *cdev;
110 container_of(_dev, struct thermal_cooling_device, device)
136 void thermal_cooling_device_setup_sysfs(struct thermal_cooling_device *);
137 void thermal_cooling_device_destroy_sysfs(struct thermal_cooling_device *cdev);
138 void thermal_cooling_device_stats_reinit(struct thermal_cooling_device *cde
[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,
48 static int khadas_mcu_fan_get_cur_state(struct thermal_cooling_device *cdev,
59 khadas_mcu_fan_set_cur_state(struct thermal_cooling_device *cdev,
82 struct thermal_cooling_device *cdev;
H A Dgov_fair_share.c44 struct thermal_cooling_device *cdev, int percentage, int level)
88 struct thermal_cooling_device *cdev = instance->cdev;
H A Ddevfreq_cooling.c51 struct thermal_cooling_device *cdev;
64 static int devfreq_cooling_get_max_state(struct thermal_cooling_device *cdev,
74 static int devfreq_cooling_get_cur_state(struct thermal_cooling_device *cdev,
84 static int devfreq_cooling_set_cur_state(struct thermal_cooling_device *cdev,
190 static int devfreq_cooling_get_requested_power(struct thermal_cooling_device *cdev,
265 static int devfreq_cooling_state2power(struct thermal_cooling_device *cdev,
287 static int devfreq_cooling_power2state(struct thermal_cooling_device *cdev,
392 struct thermal_cooling_device *
396 struct thermal_cooling_device *cdev;
489 struct thermal_cooling_device *
[all...]
H A Dcpufreq_cooling.c60 * @cdev: thermal_cooling_device pointer to keep track of the
212 * @cdev: &thermal_cooling_device pointer
232 static int cpufreq_get_requested_power(struct thermal_cooling_device *cdev,
265 * @cdev: &thermal_cooling_device pointer
276 static int cpufreq_state2power(struct thermal_cooling_device *cdev,
303 * @cdev: &thermal_cooling_device pointer
316 static int cpufreq_power2state(struct thermal_cooling_device *cdev,
437 static int cpufreq_get_max_state(struct thermal_cooling_device *cdev,
456 static int cpufreq_get_cur_state(struct thermal_cooling_device *cdev,
476 static int cpufreq_set_cur_state(struct thermal_cooling_device *cde
[all...]
H A Dcpuidle_cooling.c73 static int cpuidle_cooling_get_max_state(struct thermal_cooling_device *cdev,
102 static int cpuidle_cooling_get_cur_state(struct thermal_cooling_device *cdev,
124 static int cpuidle_cooling_set_cur_state(struct thermal_cooling_device *cdev,
175 struct thermal_cooling_device *cdev;
H A Dthermal_helpers.c44 struct thermal_cooling_device *cdev, int trip_index)
149 static int thermal_cdev_set_cur_state(struct thermal_cooling_device *cdev, int state)
168 void __thermal_cdev_update(struct thermal_cooling_device *cdev)
191 * @cdev: pointer to struct thermal_cooling_device
195 void thermal_cdev_update(struct thermal_cooling_device *cdev)
H A Dthermal_of.c294 struct thermal_zone_device *tz, struct thermal_cooling_device *cdev)
325 struct thermal_zone_device *tz, struct thermal_cooling_device *cdev)
360 struct thermal_zone_device *tz, struct thermal_cooling_device *cdev,
362 struct thermal_zone_device *, struct thermal_cooling_device *))
393 struct thermal_cooling_device *cdev,
395 struct thermal_zone_device *, struct thermal_cooling_device *))
426 struct thermal_cooling_device *cdev)
432 struct thermal_cooling_device *cdev)
H A Dthermal_core.c564 int for_each_thermal_cooling_device(int (*cb)(struct thermal_cooling_device *,
567 struct thermal_cooling_device *cdev;
628 * @cdev: pointer to struct thermal_cooling_device
647 struct thermal_cooling_device *cdev,
654 struct thermal_cooling_device *pos2;
762 struct thermal_cooling_device *cdev,
778 * @cdev: pointer to a struct thermal_cooling_device.
788 struct thermal_cooling_device *cdev)
823 struct thermal_cooling_device *cdev)
835 struct thermal_cooling_device *cde
[all...]
H A Dthermal_sysfs.c548 struct thermal_cooling_device *cdev = to_cooling_device(dev);
556 struct thermal_cooling_device *cdev = to_cooling_device(dev);
564 struct thermal_cooling_device *cdev = to_cooling_device(dev);
578 struct thermal_cooling_device *cdev = to_cooling_device(dev);
644 void thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev,
671 struct thermal_cooling_device *cdev = to_cooling_device(dev);
695 struct thermal_cooling_device *cdev = to_cooling_device(dev);
726 struct thermal_cooling_device *cdev = to_cooling_device(dev);
759 struct thermal_cooling_device *cdev = to_cooling_device(dev);
832 static void cooling_device_stats_setup(struct thermal_cooling_device *cde
[all...]
/linux-master/drivers/gpu/drm/lima/
H A Dlima_devfreq.h12 struct thermal_cooling_device;
18 struct thermal_cooling_device *cooling;
/linux-master/drivers/gpu/drm/panfrost/
H A Dpanfrost_devfreq.h12 struct thermal_cooling_device;
18 struct thermal_cooling_device *cooling;
/linux-master/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
27 static int tcc_get_cur_state(struct thermal_cooling_device *cdev, unsigned long
39 static int tcc_set_cur_state(struct thermal_cooling_device *cdev, unsigned long
/linux-master/drivers/net/wireless/ath/ath10k/
H A Dthermal.h16 struct thermal_cooling_device *cdev;
H A Dthermal.c17 ath10k_thermal_get_max_throttle_state(struct thermal_cooling_device *cdev,
26 ath10k_thermal_get_cur_throttle_state(struct thermal_cooling_device *cdev,
39 ath10k_thermal_set_cur_throttle_state(struct thermal_cooling_device *cdev,
157 struct thermal_cooling_device *cdev;
/linux-master/drivers/net/wireless/ath/ath11k/
H A Dthermal.h18 struct thermal_cooling_device *cdev;
H A Dthermal.c16 ath11k_thermal_get_max_throttle_state(struct thermal_cooling_device *cdev,
25 ath11k_thermal_get_cur_throttle_state(struct thermal_cooling_device *cdev,
38 ath11k_thermal_set_cur_throttle_state(struct thermal_cooling_device *cdev,
160 struct thermal_cooling_device *cdev;
/linux-master/drivers/acpi/
H A Dfan.h51 struct thermal_cooling_device *cdev;
/linux-master/drivers/thermal/intel/int340x_thermal/
H A Dint3403_thermal.c40 struct thermal_cooling_device *cdev;
122 static int int3403_get_max_state(struct thermal_cooling_device *cdev,
132 static int int3403_get_cur_state(struct thermal_cooling_device *cdev,
148 int3403_set_cur_state(struct thermal_cooling_device *cdev, unsigned long state)
H A Dint3406_thermal.c24 struct thermal_cooling_device *cooling_dev;
41 int3406_thermal_get_max_state(struct thermal_cooling_device *cooling_dev,
51 int3406_thermal_set_cur_state(struct thermal_cooling_device *cooling_dev,
68 int3406_thermal_get_cur_state(struct thermal_cooling_device *cooling_dev,

Completed in 175 milliseconds

123