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
266 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 …]