Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Ddrivetemp.c149 #define temp_is_valid(temp) ((temp) != INVALID_TEMP) macro
270 if (!temp_is_valid(buf[SCT_STATUS_TEMP])) in drivetemp_get_scttemp()
275 if (!temp_is_valid(buf[SCT_STATUS_TEMP_LOWEST])) in drivetemp_get_scttemp()
280 if (!temp_is_valid(buf[SCT_STATUS_TEMP_HIGHEST])) in drivetemp_get_scttemp()
387 have_sct_temp = temp_is_valid(buf[SCT_STATUS_TEMP]); in drivetemp_identify_sata()
391 st->have_temp_lowest = temp_is_valid(buf[SCT_STATUS_TEMP_LOWEST]); in drivetemp_identify_sata()
392 st->have_temp_highest = temp_is_valid(buf[SCT_STATUS_TEMP_HIGHEST]); in drivetemp_identify_sata()
415 st->have_temp_max = temp_is_valid(buf[6]); in drivetemp_identify_sata()
416 st->have_temp_crit = temp_is_valid(buf[7]); in drivetemp_identify_sata()
417 st->have_temp_min = temp_is_valid(buf[8]); in drivetemp_identify_sata()
[all …]