/openbmc/linux/drivers/hwmon/ |
H A D | lm92.c | 69 static inline s16 TEMP_TO_REG(long val) in TEMP_TO_REG() function
|
H A D | lm80.c | 77 #define TEMP_TO_REG(temp) (DIV_ROUND_CLOSEST(clamp_val((temp), \ macro
|
H A D | adm1025.c | 87 #define TEMP_TO_REG(val) ((val) <= -127500 ? -128 : \ macro
|
H A D | gl518sm.c | 77 #define TEMP_TO_REG(val) (DIV_ROUND_CLOSEST(TEMP_CLAMP(val), 1000) + 119) macro
|
H A D | adm9240.c | 94 static inline s8 TEMP_TO_REG(long val) in TEMP_TO_REG() function
|
H A D | smsc47m192.c | 75 static inline s8 TEMP_TO_REG(long val) in TEMP_TO_REG() function
|
H A D | w83l786ng.c | 84 #define TEMP_TO_REG(val) (clamp_val(((val) < 0 ? (val) + 0x100 * 1000 \ macro
|
H A D | asb100.c | 136 static u8 TEMP_TO_REG(long temp) in TEMP_TO_REG() function
|
H A D | sis5595.c | 149 static inline s8 TEMP_TO_REG(long val) in TEMP_TO_REG() function
|
H A D | via686a.c | 273 static inline u8 TEMP_TO_REG(long val) in TEMP_TO_REG() function
|
H A D | lm78.c | 97 static inline s8 TEMP_TO_REG(long val) in TEMP_TO_REG() function
|
H A D | f75375s.c | 573 #define TEMP_TO_REG(val) ((val) / 1000) macro
|
H A D | gl520sm.c | 499 #define TEMP_TO_REG(val) (DIV_ROUND_CLOSEST(TEMP_CLAMP(val), 1000) + 130) macro
|
H A D | lm87.c | 114 #define TEMP_TO_REG(val) ((val) <= -127500 ? -128 : \ macro
|
H A D | vt1211.c | 163 #define TEMP_TO_REG(ix, val) clamp_val( \ macro
|
H A D | adm1031.c | 198 #define TEMP_TO_REG(val) (((val) < 0 ? ((val - 500) / 1000) : \ macro
|
H A D | w83781d.c | 171 #define TEMP_TO_REG(val) clamp_val((val) / 1000, -127, 128) macro
|
H A D | w83793.c | 199 static inline s8 TEMP_TO_REG(long val, s8 min, s8 max) in TEMP_TO_REG() function
|
H A D | w83627hf.c | 268 static u8 TEMP_TO_REG(long temp) in TEMP_TO_REG() function
|
H A D | lm85.c | 146 #define TEMP_TO_REG(val) \ macro
|
H A D | pc87360.c | 179 #define TEMP_TO_REG(val) ((val) < -55000 ? -55 : \ macro
|
H A D | dme1737.c | 284 static inline int TEMP_TO_REG(long val) in TEMP_TO_REG() function
|
H A D | adm1026.c | 206 #define TEMP_TO_REG(val) DIV_ROUND_CLOSEST(clamp_val(val, -128000, 127000), \ macro
|
H A D | it87.c | 688 #define TEMP_TO_REG(val) (clamp_val(((val) < 0 ? (((val) - 500) / 1000) : \ macro
|