Home
last modified time | relevance | path

Searched defs:IN_FROM_REG (Results 1 – 19 of 19) sorted by relevance

/openbmc/linux/drivers/hwmon/
H A Dlm80.c63 #define IN_FROM_REG(val) ((val) * 10) macro
H A Dadm1025.c81 #define IN_FROM_REG(reg, scale) (((reg) * (scale) + 96) / 192) macro
H A Dgl518sm.c92 #define IN_FROM_REG(val) ((val) * 19) macro
H A Dadm9240.c82 static inline unsigned int IN_FROM_REG(u8 reg, int n) in IN_FROM_REG() function
H A Dsmsc47m192.c60 static inline unsigned int IN_FROM_REG(u8 reg, int n) in IN_FROM_REG() function
H A Dw83l786ng.c95 #define IN_FROM_REG(val) ((val) * 8) macro
H A Dasb100.c108 static unsigned IN_FROM_REG(u8 reg) in IN_FROM_REG() function
H A Dsis5595.c125 #define IN_FROM_REG(val) ((val) * 16) macro
H A Dvia686a.c136 static inline long IN_FROM_REG(u8 val, int in_num) in IN_FROM_REG() function
H A Dlm78.c77 #define IN_FROM_REG(val) ((val) * 16) macro
H A Dgl520sm.c201 #define IN_FROM_REG(val) ((val) * 19) macro
H A Dlm87.c108 #define IN_FROM_REG(reg, scale) (((reg) * (scale) + 96) / 192) macro
H A Dvt1211.c145 #define IN_FROM_REG(ix, reg) ((reg) < 3 ? 0 : (ix) == 5 ? \ macro
H A Dw83791d.c211 #define IN_FROM_REG(val) ((val) * 16) macro
H A Dw83792d.c215 #define IN_FROM_REG(nr, val) (((nr) <= 1) ? ((val) * 2) : \ macro
H A Dw83781d.c150 #define IN_FROM_REG(val) ((val) * 16) macro
H A Dw83627hf.c251 #define IN_FROM_REG(val) ((val) * 16) macro
H A Dpc87360.c161 #define IN_FROM_REG(val, ref) (((val) * (ref) + 128) / 256) macro
H A Ddme1737.c262 static inline int IN_FROM_REG(int reg, int nominal, int res) in IN_FROM_REG() function