Searched refs:TEMP_MAXMIN_TO_REG (Results 1 – 1 of 1) sorted by relevance
92 #define TEMP_MAXMIN_TO_REG(val) (253 - ((val) * 210 + 1100) / 2200) macro506 data->temp_max[nr] = clamp_val(TEMP_MAXMIN_TO_REG(val), 0, 255); in temp_max_store()526 data->temp_min[nr] = clamp_val(TEMP_MAXMIN_TO_REG(val), 0, 255); in temp_min_store()