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
268 *val = temp_from_sct(buf[SCT_STATUS_TEMP]); in drivetemp_get_scttemp()
273 *val = temp_from_sct(buf[SCT_STATUS_TEMP_LOWEST]); in drivetemp_get_scttemp()
278 *val = temp_from_sct(buf[SCT_STATUS_TEMP_HIGHEST]); in drivetemp_get_scttemp()
416 st->temp_max = temp_from_sct(buf[6]); in drivetemp_identify_sata()
417 st->temp_crit = temp_from_sct(buf[7]); in drivetemp_identify_sata()
418 st->temp_min = temp_from_sct(buf[8]); in drivetemp_identify_sata()
419 st->temp_lcrit = temp_from_sct(buf[9]); in drivetemp_identify_sata()