Home
last modified time | relevance | path

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

/linux/drivers/hwmon/
H A Dtmp513.c92 #define TMP51X_TEMP_SHIFT 3 macro
235 *val = sign_extend32(regval, 16) >> TMP51X_TEMP_SHIFT; in tmp51x_get_value()
287 regval = DIV_ROUND_CLOSEST(val * 10, 625) << TMP51X_TEMP_SHIFT; in tmp51x_set_value()