Searched refs:temp_is_valid (Results 1 – 1 of 1) sorted by relevance
149 #define temp_is_valid(temp) ((temp) != INVALID_TEMP) macro266 if (!temp_is_valid(buf[SCT_STATUS_TEMP])) in drivetemp_get_scttemp()271 if (!temp_is_valid(buf[SCT_STATUS_TEMP_LOWEST])) in drivetemp_get_scttemp()276 if (!temp_is_valid(buf[SCT_STATUS_TEMP_HIGHEST])) in drivetemp_get_scttemp()383 have_sct_temp = temp_is_valid(buf[SCT_STATUS_TEMP]); in drivetemp_identify_sata()387 st->have_temp_lowest = temp_is_valid(buf[SCT_STATUS_TEMP_LOWEST]); in drivetemp_identify_sata()388 st->have_temp_highest = temp_is_valid(buf[SCT_STATUS_TEMP_HIGHEST]); in drivetemp_identify_sata()411 st->have_temp_max = temp_is_valid(buf[6]); in drivetemp_identify_sata()412 st->have_temp_crit = temp_is_valid(buf[7]); in drivetemp_identify_sata()413 st->have_temp_min = temp_is_valid(buf[8]); in drivetemp_identify_sata()[all …]