Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Ddrivetemp.c150 #define temp_from_sct(temp) (((s8)(temp)) * 1000) macro
272 *val = temp_from_sct(buf[SCT_STATUS_TEMP]); in drivetemp_get_scttemp()
277 *val = temp_from_sct(buf[SCT_STATUS_TEMP_LOWEST]); in drivetemp_get_scttemp()
282 *val = temp_from_sct(buf[SCT_STATUS_TEMP_HIGHEST]); in drivetemp_get_scttemp()
420 st->temp_max = temp_from_sct(buf[6]); in drivetemp_identify_sata()
421 st->temp_crit = temp_from_sct(buf[7]); in drivetemp_identify_sata()
422 st->temp_min = temp_from_sct(buf[8]); in drivetemp_identify_sata()
423 st->temp_lcrit = temp_from_sct(buf[9]); in drivetemp_identify_sata()