Lines Matching refs:thermal
8 #include <linux/thermal.h>
31 *state = ar->thermal.throttle_state;
49 ar->thermal.throttle_state = throttle_state;
77 reinit_completion(&ar->thermal.wmi_sync);
89 time_left = wait_for_completion_timeout(&ar->thermal.wmi_sync,
92 ath10k_warn(ar, "failed to synchronize thermal read\n");
98 temperature = ar->thermal.temperature;
111 ar->thermal.temperature = temperature;
113 complete(&ar->thermal.wmi_sync);
141 period = ar->thermal.quiet_period;
142 duration = (period * ar->thermal.throttle_state) / 100;
167 ath10k_err(ar, "failed to setup thermal device result: %ld\n",
179 ar->thermal.cdev = cdev;
180 ar->thermal.quiet_period = ATH10K_QUIET_PERIOD_DEFAULT;
218 thermal_cooling_device_unregister(ar->thermal.cdev);