Searched refs:TEMP_MAXMIN_TO_REG (Results 1 – 1 of 1) sorted by relevance
101 #define TEMP_MAXMIN_TO_REG(val) (253 - ((val) * 210 + 1100) / 2200) macro406 data->temp_max[nr] = SENSORS_LIMIT(TEMP_MAXMIN_TO_REG(val), 0, 255); in set_temp_max()420 data->temp_min[nr] = SENSORS_LIMIT(TEMP_MAXMIN_TO_REG(val), 0, 255); in set_temp_min()