Searched refs:cur_temp (Results 1 – 4 of 4) sorted by relevance
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()
1271 int cur_temp = in smu10_thermal_get_temperature() local1274 if (cur_temp & THM_TCON_CUR_TMP__CUR_TEMP_RANGE_SEL_MASK) in smu10_thermal_get_temperature()1275 cur_temp = ((cur_temp / 8) - 49) * PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu10_thermal_get_temperature()1277 cur_temp = (cur_temp / 8) * PP_TEMPERATURE_UNITS_PER_CENTIGRADES; in smu10_thermal_get_temperature()1279 return cur_temp; in smu10_thermal_get_temperature()
513 int cur_temp, cur_state, err = 0; in acerhdf_set_cur_state() local518 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) {