Home
last modified time | relevance | path

Searched defs:TEMP_FROM_REG (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/linux/drivers/hwmon/
H A Dk8temp.c19 #define TEMP_FROM_REG(val) (((((val) >> 16) & 0xff) - 49) * 1000) macro
H A Dw83l785ts.c59 #define TEMP_FROM_REG(val) ((val) * 1000) macro
H A Dadm1029.c66 #define TEMP_FROM_REG(val) ((val) * 1000) macro
H A Dlm92.c64 static inline int TEMP_FROM_REG(s16 reg) in TEMP_FROM_REG() function
H A Dlm80.c76 #define TEMP_FROM_REG(reg) ((reg) * 125 / 32) macro
H A Dadm1025.c86 #define TEMP_FROM_REG(reg) ((reg) * 1000) macro
H A Dgl518sm.c78 #define TEMP_FROM_REG(val) (((val) - 119) * 1000) macro
H A Dsmsc47m192.c80 static inline int TEMP_FROM_REG(s8 val) in TEMP_FROM_REG() function
H A Dw83l786ng.c86 #define TEMP_FROM_REG(val) (((val) & 0x80 ? \ macro
H A Dasb100.c143 static int TEMP_FROM_REG(u8 reg) in TEMP_FROM_REG() function
H A Dsis5595.c145 static inline int TEMP_FROM_REG(s8 val) in TEMP_FROM_REG() function
H A Dvia686a.c280 #define TEMP_FROM_REG(val) ((long)temp_lut[val] * 100) macro
H A Dlm78.c103 static inline int TEMP_FROM_REG(s8 val) in TEMP_FROM_REG() function
H A Dfschmd.c336 #define TEMP_FROM_REG(val) (((val) - 128) * 1000) macro
H A Df75375s.c572 #define TEMP_FROM_REG(val) ((val) * 1000) macro
H A Dgl520sm.c497 #define TEMP_FROM_REG(val) (((val) - 130) * 1000) macro
H A Dvt8231.c90 #define TEMP_FROM_REG(reg) (((253 * 4 - (reg)) * 550 + 105) / 210) macro
H A Dlm87.c113 #define TEMP_FROM_REG(reg) ((reg) * 1000) macro
H A Dvt1211.c159 #define TEMP_FROM_REG(ix, reg) ((ix) == 0 ? (reg) * 1000 : \ macro
H A Dadm1031.c201 #define TEMP_FROM_REG(val) ((val) * 1000) macro
H A Dw83781d.c172 #define TEMP_FROM_REG(val) ((val) * 1000) macro
H A Dw83793.c194 static inline long TEMP_FROM_REG(s8 reg) in TEMP_FROM_REG() function
H A Dw83627hf.c275 static int TEMP_FROM_REG(u8 reg) in TEMP_FROM_REG() function
H A Dlm85.c150 #define TEMP_FROM_REG(val) ((val) * 1000) macro
H A Dpc87360.c178 #define TEMP_FROM_REG(val) ((val) * 1000) macro

12