Searched refs:TEMP1_FROM_REG (Results 1 – 2 of 2) sorted by relevance
226 #define TEMP1_FROM_REG(val) ((val) * 1000) macro821 return sprintf(buf, "%d\n", TEMP1_FROM_REG(data->temp_target[nr])); in show_temp_target()862 return sprintf(buf, "%d\n", TEMP1_FROM_REG(data->temp_tolerance[nr])); in show_temp_tolerance()924 return sprintf(buf, "%d\n", TEMP1_FROM_REG(data->temp1[attr->index])); in show_temp1()
236 #define TEMP1_FROM_REG(val) (((val) & 0x80 ? (val)-0x100 : (val)) * 1000) macro493 return sprintf(buf, "%d\n", TEMP1_FROM_REG(data->temp1[nr])); in show_temp1()