Home
last modified time | relevance | path

Searched refs:TEMP_MAXMIN_TO_REG (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/hwmon/
Dvt8231.c91 #define TEMP_MAXMIN_TO_REG(val) (253 - ((val) * 210 + 1100) / 2200) macro
441 data->temp_max[nr] = clamp_val(TEMP_MAXMIN_TO_REG(val), 0, 255); in temp_max_store()
461 data->temp_min[nr] = clamp_val(TEMP_MAXMIN_TO_REG(val), 0, 255); in temp_min_store()