Lines Matching refs:temp
103 void iwl_mvm_tt_temp_changed(struct iwl_mvm *mvm, u32 temp) in iwl_mvm_tt_temp_changed() argument
109 if (mvm->temperature == temp) in iwl_mvm_tt_temp_changed()
112 mvm->temperature = temp; in iwl_mvm_tt_temp_changed()
121 int temp; in iwl_mvm_temp_notif_parse() local
130 temp = le32_to_cpu(notif->temp); in iwl_mvm_temp_notif_parse()
133 if (WARN_ON_ONCE(temp < 0)) in iwl_mvm_temp_notif_parse()
134 temp = 0; in iwl_mvm_temp_notif_parse()
136 IWL_DEBUG_TEMP(mvm, "DTS_MEASUREMENT_NOTIFICATION - %d\n", temp); in iwl_mvm_temp_notif_parse()
138 return temp; in iwl_mvm_temp_notif_parse()
146 int *temp = data; in iwl_mvm_temp_notif_wait() local
153 *temp = ret; in iwl_mvm_temp_notif_wait()
161 int temp; in iwl_mvm_temp_notif() local
167 temp = iwl_mvm_temp_notif_parse(mvm, pkt); in iwl_mvm_temp_notif()
168 if (temp < 0) in iwl_mvm_temp_notif()
171 iwl_mvm_tt_temp_changed(mvm, temp); in iwl_mvm_temp_notif()
202 int ret, temp; in iwl_mvm_get_temp() local
211 iwl_mvm_temp_notif_wait, &temp); in iwl_mvm_get_temp()
227 return temp; in iwl_mvm_get_temp()
235 s32 temp; in check_exit_ctkill() local
253 temp = iwl_mvm_get_temp(mvm); in check_exit_ctkill()
259 if (temp < 0) in check_exit_ctkill()
262 IWL_DEBUG_TEMP(mvm, "NIC temperature: %d\n", temp); in check_exit_ctkill()
264 if (temp <= tt->params.ct_kill_exit) { in check_exit_ctkill()