Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dlm85.c120 static const int lm85_scaling[] = { /* .001 Volts */ variable
127 SCALE(clamp_val(val, 0, 255 * lm85_scaling[n] / 192), \
128 lm85_scaling[n], 192)
131 SCALE(((val) << 4) + (ext), 192 << 4, lm85_scaling[n])
133 #define INS_FROM_REG(n, val) SCALE((val), 192, lm85_scaling[n])