Lines Matching refs:temp
102 void iwl_mvm_tt_temp_changed(struct iwl_mvm *mvm, u32 temp) in iwl_mvm_tt_temp_changed() argument
108 if (mvm->temperature == temp) in iwl_mvm_tt_temp_changed()
111 mvm->temperature = temp; in iwl_mvm_tt_temp_changed()
120 int temp; in iwl_mvm_temp_notif_parse() local
129 temp = le32_to_cpu(notif->temp); in iwl_mvm_temp_notif_parse()
132 if (WARN_ON_ONCE(temp < 0)) in iwl_mvm_temp_notif_parse()
133 temp = 0; in iwl_mvm_temp_notif_parse()
135 IWL_DEBUG_TEMP(mvm, "DTS_MEASUREMENT_NOTIFICATION - %d\n", temp); in iwl_mvm_temp_notif_parse()
137 return temp; in iwl_mvm_temp_notif_parse()
145 int *temp = data; in iwl_mvm_temp_notif_wait() local
152 *temp = ret; in iwl_mvm_temp_notif_wait()
162 int temp; in iwl_mvm_temp_notif() local
168 temp = iwl_mvm_temp_notif_parse(mvm, pkt); in iwl_mvm_temp_notif()
169 if (temp < 0) in iwl_mvm_temp_notif()
172 iwl_mvm_tt_temp_changed(mvm, temp); in iwl_mvm_temp_notif()
191 int ret, temp; in iwl_mvm_get_temp() local
197 iwl_mvm_temp_notif_wait, &temp); in iwl_mvm_get_temp()
213 return temp; in iwl_mvm_get_temp()
221 s32 temp; in check_exit_ctkill() local
239 temp = iwl_mvm_get_temp(mvm); in check_exit_ctkill()
245 if (temp < 0) in check_exit_ctkill()
248 IWL_DEBUG_TEMP(mvm, "NIC temperature: %d\n", temp); in check_exit_ctkill()
250 if (temp <= tt->params->ct_kill_exit) { in check_exit_ctkill()