Searched refs:cur_temp (Results 1 – 6 of 6) sorted by relevance
110 int cur_temp = 0; in get_cur_temp() local124 if (cur_temp == 0) in get_cur_temp()125 return cur_temp; in get_cur_temp()128 cur_temp = cur_temp - info->te1 + info->dc_value; in get_cur_temp()130 return cur_temp; in get_cur_temp()141 int cur_temp; in tmu_monitor() local148 cur_temp = get_cur_temp(&gbl_info); in tmu_monitor()150 if (!cur_temp) in tmu_monitor()153 *temp = cur_temp; in tmu_monitor()157 (cur_temp <= data->ts.max_val)) in tmu_monitor()[all …]
222 signed int cur_temp; in ds1620_read() local225 cur_temp = cvt_9_to_int(ds1620_in(THERM_READ_TEMP, 9)) >> 1; in ds1620_read()228 cur_temp_degF = (cur_temp * 9) / 5 + 32; in ds1620_read()
193 if (cur_temp < temp_low_thresh) {209 if (cur_temp > temp_high_thresh) {
1285 int cur_temp = in smu10_thermal_get_temperature() local1288 if (cur_temp & THM_TCON_CUR_TMP__CUR_TEMP_RANGE_SEL_MASK) in smu10_thermal_get_temperature()1289 cur_temp = ((cur_temp / 8) - 49) * PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu10_thermal_get_temperature()1291 cur_temp = (cur_temp / 8) * PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu10_thermal_get_temperature()1293 return cur_temp; in smu10_thermal_get_temperature()
486 int cur_temp, cur_state, err = 0; in acerhdf_set_cur_state() local491 err = acerhdf_get_temp(&cur_temp); in acerhdf_set_cur_state()
219 if (cur_temp < temp_low_thresh) {236 if (cur_temp > temp_high_thresh) {