Lines Matching refs:thermal
8 #include <linux/thermal.h>
30 *state = ar->thermal.throttle_state;
51 ar->thermal.throttle_state = throttle_state;
78 reinit_completion(&ar->thermal.wmi_sync);
90 time_left = wait_for_completion_timeout(&ar->thermal.wmi_sync,
93 ath11k_warn(ar->ab, "failed to synchronize thermal read\n");
99 temperature = ar->thermal.temperature;
112 ar->thermal.temperature = temperature;
114 complete(&ar->thermal.wmi_sync);
150 ath11k_warn(sc, "failed to send thermal mitigation duty cycle %u ret %d\n",
175 ath11k_err(sc, "failed to setup thermal device result: %ld\n",
181 ar->thermal.cdev = cdev;
224 thermal_cooling_device_unregister(ar->thermal.cdev);