Lines Matching refs:temperature
32 * the temperature will not change unless we manually set it
55 if (mvm->temperature == temp)
58 mvm->temperature = temp;
163 IWL_DEBUG_TEMP(mvm, "CT Kill notification temperature = %d\n",
164 notif->temperature);
214 "Sending temperature measurement command - %s response\n",
220 "Failed to send the temperature measurement command (err=%d)\n",
229 "Got temperature measurement response: temp=%d\n",
271 IWL_WARN(mvm, "Getting the temperature timed out\n");
309 IWL_DEBUG_TEMP(mvm, "NIC temperature: %d\n", temp);
389 s32 temperature = mvm->temperature;
394 IWL_DEBUG_TEMP(mvm, "NIC temperature: %d\n", mvm->temperature);
396 if (params->support_ct_kill && temperature >= params->ct_kill_entry) {
402 temperature <= params->ct_kill_exit) {
409 temperature >= params->dynamic_smps_entry) {
417 temperature <= params->dynamic_smps_exit) {
427 if (temperature >= params->tx_protection_entry) {
430 } else if (temperature <= params->tx_protection_exit) {
438 if (temperature < params->tx_backoff[i].temperature)
451 "Due to high temperature thermal throttling initiated\n");
455 temperature <= params->tx_protection_exit) {
471 {.temperature = 112, .backoff = 200},
472 {.temperature = 113, .backoff = 600},
473 {.temperature = 114, .backoff = 1200},
474 {.temperature = 115, .backoff = 2000},
475 {.temperature = 116, .backoff = 4000},
476 {.temperature = 117, .backoff = 10000},
570 if (trip->temperature == THERMAL_TEMP_INVALID)
573 twd->thresholds[twd->count++] = cpu_to_le16((s16)(trip->temperature / 1000));
591 * The thermal core holds an array of temperature trips that are
617 int *temperature)
628 * Tell the core that there is no valid temperature value to
631 *temperature = THERMAL_TEMP_INVALID;
639 *temperature = temp * 1000;
681 * 0 is a valid temperature,
682 * so initialize the array with S16_MIN which invalid temperature
685 mvm->tz_device.trips[i].temperature = THERMAL_TEMP_INVALID;