Home
last modified time | relevance | path

Searched refs:last_temperature (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/thermal/
H A Dthermal_thresholds.c73 int last_temperature) in thermal_thresholds_handle_raising() argument
83 last_temperature < t->temperature) in thermal_thresholds_handle_raising()
91 int last_temperature) in thermal_thresholds_handle_dropping() argument
101 last_temperature > t->temperature) in thermal_thresholds_handle_dropping()
133 int last_temperature = tz->last_temperature; in thermal_thresholds_handle() local
142 if (last_temperature == THERMAL_TEMP_INVALID) in thermal_thresholds_handle()
149 if (last_temperature == temperature) in thermal_thresholds_handle()
157 if (temperature > last_temperature) { in thermal_thresholds_handle()
159 temperature, last_temperature)) in thermal_thresholds_handle()
[all...]
H A Dthermal_helpers.c31 if (tz->temperature > tz->last_temperature) in get_tz_trend()
33 else if (tz->temperature < tz->last_temperature) in get_tz_trend()
H A Dthermal_core.h96 * @last_temperature: previous temperature read
133 int last_temperature; member
H A Dthermal_core.c635 tz->last_temperature = tz->temperature; in __thermal_zone_device_update()
/linux/drivers/net/wireless/intel/iwlegacy/
H A D3945.c1085 if (il->last_temperature > 100) in il3945_hw_reg_txpower_get_temperature()
1088 temperature = il->last_temperature; in il3945_hw_reg_txpower_get_temperature()
1103 * replaces tx_mgr->last_temperature *only* if calib needed
1111 temp_diff = il->temperature - il->last_temperature; in il3945_is_temp_calib_needed()
1122 /* if we don't need calibration, *don't* update last_temperature */ in il3945_is_temp_calib_needed()
1132 il->last_temperature = il->temperature; in il3945_is_temp_calib_needed()
2072 il->last_temperature = temperature; in il3945_txpower_set_from_eeprom()
H A D4965.c1627 * Assumes caller will replace il->last_temperature once calibration
1640 temp_diff = il->temperature - il->last_temperature; in il4965_is_temp_calib_needed()
H A Dcommon.h1168 s32 last_temperature; member
H A D4965-mac.c6204 /* Update last_temperature to keep is_calib_needed from running in il4965_bg_txpower_work()
6206 il->last_temperature = il->temperature; in il4965_bg_txpower_work()