Lines Matching refs:TEMP_FROM_REG
150 #define TEMP_FROM_REG(val) ((val) * 1000) macro
949 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[nr])); in temp_min_show()
981 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_max[nr])); in temp_max_show()
1135 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->zone[nr].limit) - in temp_auto_temp_off_show()
1155 min = TEMP_FROM_REG(data->zone[nr].limit); in temp_auto_temp_off_store()
1175 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->zone[nr].limit)); in temp_auto_temp_min_show()
1199 TEMP_FROM_REG(data->zone[nr].max_desired) - in temp_auto_temp_min_store()
1200 TEMP_FROM_REG(data->zone[nr].limit)); in temp_auto_temp_min_store()
1215 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->zone[nr].limit) + in temp_auto_temp_max_show()
1235 min = TEMP_FROM_REG(data->zone[nr].limit); in temp_auto_temp_max_store()
1252 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->zone[nr].critical)); in temp_auto_temp_crit_show()