Lines Matching defs:ab
45 ath11k_warn(ar->ab, "throttle state %ld is exceeding the limit %d\n",
82 ath11k_warn(ar->ab, "failed to read temperature %d\n", ret);
86 if (test_bit(ATH11K_FLAG_CRASH_FLUSH, &ar->ab->dev_flags)) {
94 ath11k_warn(ar->ab, "failed to synchronize thermal read\n");
129 struct ath11k_base *ab = ar->ab;
151 ath11k_warn(ab, "failed to send thermal mitigation duty cycle %u ret %d\n",
158 int ath11k_thermal_register(struct ath11k_base *ab)
166 if (test_bit(ATH11K_FLAG_REGISTERED, &ab->dev_flags))
169 for (i = 0; i < ab->num_radios; i++) {
170 pdev = &ab->pdevs[i];
179 ath11k_err(ab, "failed to setup thermal device result: %ld\n",
190 ath11k_err(ab, "failed to create cooling device symlink\n");
201 ath11k_err(ar->ab, "failed to register hwmon device: %ld\n",
211 ath11k_thermal_unregister(ab);
215 void ath11k_thermal_unregister(struct ath11k_base *ab)
221 for (i = 0; i < ab->num_radios; i++) {
222 pdev = &ab->pdevs[i];