TEMP_TO_REG 87 drivers/hwmon/adm1025.c #define TEMP_TO_REG(val) ((val) <= -127500 ? -128 : \ TEMP_TO_REG 206 drivers/hwmon/adm1026.c #define TEMP_TO_REG(val) DIV_ROUND_CLOSEST(clamp_val(val, -128000, 127000), \ TEMP_TO_REG 198 drivers/hwmon/adm1031.c #define TEMP_TO_REG(val) (((val) < 0 ? ((val - 500) / 1000) : \ TEMP_TO_REG 93 drivers/hwmon/adm9240.c static inline s8 TEMP_TO_REG(long val) TEMP_TO_REG 136 drivers/hwmon/asb100.c static u8 TEMP_TO_REG(long temp) TEMP_TO_REG 284 drivers/hwmon/dme1737.c static inline int TEMP_TO_REG(long val) TEMP_TO_REG 574 drivers/hwmon/f75375s.c #define TEMP_TO_REG(val) ((val) / 1000) TEMP_TO_REG 77 drivers/hwmon/gl518sm.c #define TEMP_TO_REG(val) (DIV_ROUND_CLOSEST(TEMP_CLAMP(val), 1000) + 119) TEMP_TO_REG 499 drivers/hwmon/gl520sm.c #define TEMP_TO_REG(val) (DIV_ROUND_CLOSEST(TEMP_CLAMP(val), 1000) + 130) TEMP_TO_REG 613 drivers/hwmon/it87.c #define TEMP_TO_REG(val) (clamp_val(((val) < 0 ? (((val) - 500) / 1000) : \ TEMP_TO_REG 97 drivers/hwmon/lm78.c static inline s8 TEMP_TO_REG(long val) TEMP_TO_REG 77 drivers/hwmon/lm80.c #define TEMP_TO_REG(temp) (DIV_ROUND_CLOSEST(clamp_val((temp), \ TEMP_TO_REG 75 drivers/hwmon/lm83.c #define TEMP_TO_REG(val) ((val) <= -128000 ? -128 : \ TEMP_TO_REG 146 drivers/hwmon/lm85.c #define TEMP_TO_REG(val) \ TEMP_TO_REG 114 drivers/hwmon/lm87.c #define TEMP_TO_REG(val) ((val) <= -127500 ? -128 : \ TEMP_TO_REG 69 drivers/hwmon/lm92.c static inline s16 TEMP_TO_REG(long val) TEMP_TO_REG 167 drivers/hwmon/pc87360.c #define TEMP_TO_REG(val) ((val) < -55000 ? -55 : \ TEMP_TO_REG 148 drivers/hwmon/sis5595.c static inline s8 TEMP_TO_REG(long val) TEMP_TO_REG 75 drivers/hwmon/smsc47m192.c static inline s8 TEMP_TO_REG(long val) TEMP_TO_REG 271 drivers/hwmon/via686a.c static inline u8 TEMP_TO_REG(long val) TEMP_TO_REG 163 drivers/hwmon/vt1211.c #define TEMP_TO_REG(ix, val) clamp_val( \ TEMP_TO_REG 268 drivers/hwmon/w83627hf.c static u8 TEMP_TO_REG(long temp) TEMP_TO_REG 171 drivers/hwmon/w83781d.c #define TEMP_TO_REG(val) clamp_val((val) / 1000, -127, 128) TEMP_TO_REG 199 drivers/hwmon/w83793.c static inline s8 TEMP_TO_REG(long val, s8 min, s8 max) TEMP_TO_REG 85 drivers/hwmon/w83l786ng.c #define TEMP_TO_REG(val) (clamp_val(((val) < 0 ? (val) + 0x100 * 1000 \