Home
last modified time | relevance | path

Searched defs:FAN_FROM_REG (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/hwmon/
H A Dlm80.c73 #define FAN_FROM_REG(val, div) ((val) == 0 ? -1 : \ macro
H A Dadm9240.c101 static inline unsigned int FAN_FROM_REG(u8 reg, u8 div) in FAN_FROM_REG() function
H A Dgl518sm.c88 #define FAN_FROM_REG(val, div) ((val) == 0 ? 0 : (480000 / ((val) * (div)))) macro
H A Dw83l786ng.c79 #define FAN_FROM_REG(val, div) ((val) == 0 ? -1 : \ macro
H A Dmax6639.c69 #define FAN_FROM_REG(val, rpm_range) ((val) == 0 || (val) == 255 ? \ macro
H A Dasb100.c123 static int FAN_FROM_REG(u8 val, int div) in FAN_FROM_REG() function
H A Dlm78.c88 static inline int FAN_FROM_REG(u8 val, int div) in FAN_FROM_REG() function
H A Dgl520sm.c329 #define FAN_FROM_REG(val, div) ((val) == 0 ? 0 : (480000 / ((val) << (div)))) macro
H A Dlm87.c119 #define FAN_FROM_REG(reg, div) ((reg) == 255 || (reg) == 0 ? 0 : \ macro
H A Dlm63.c112 #define FAN_FROM_REG(reg) ((reg) == 0xFFFC || (reg) == 0 ? 0 : \ macro
H A Dw83792d.c229 #define FAN_FROM_REG(val, div) ((val) == 0 ? -1 : \ macro
H A Dw83791d.c221 #define FAN_FROM_REG(val, div) ((val) == 0 ? -1 : \ macro
H A Dadm1031.c209 #define FAN_FROM_REG(reg, div) ((reg) ? \ macro
H A Dlm85.c142 #define FAN_FROM_REG(val) ((val) == 0 ? -1 : (val) == 0xffff ? 0 : \ macro
H A Dw83793.c170 static inline unsigned long FAN_FROM_REG(u16 val) in FAN_FROM_REG() function
H A Dpc87360.c124 #define FAN_FROM_REG(val, div) ((val) == 0 ? 0 : \ macro
H A Dadm1026.c200 #define FAN_FROM_REG(val, div) ((val) == 0 ? -1 : (val) == 0xff ? 0 : \ macro
H A Dit87.c683 #define FAN_FROM_REG(val, div) ((val) == 0 ? -1 : (val) == 255 ? 0 : \ macro