IN_TO_REG 82 drivers/hwmon/adm1025.c #define IN_TO_REG(val, scale) ((val) <= 0 ? 0 : \ IN_TO_REG 86 drivers/hwmon/adm9240.c static inline u8 IN_TO_REG(unsigned long val, int n) IN_TO_REG 102 drivers/hwmon/asb100.c static u8 IN_TO_REG(unsigned val) IN_TO_REG 267 drivers/hwmon/dme1737.c static inline int IN_TO_REG(long val, int nominal) IN_TO_REG 91 drivers/hwmon/gl518sm.c #define IN_TO_REG(val) DIV_ROUND_CLOSEST(IN_CLAMP(val), 19) IN_TO_REG 203 drivers/hwmon/gl520sm.c #define IN_TO_REG(val) DIV_ROUND_CLOSEST(IN_CLAMP(val), 19) IN_TO_REG 72 drivers/hwmon/lm78.c static inline u8 IN_TO_REG(unsigned long val) IN_TO_REG 62 drivers/hwmon/lm80.c #define IN_TO_REG(val) (clamp_val(((val) + 5) / 10, 0, 255)) IN_TO_REG 109 drivers/hwmon/lm87.c #define IN_TO_REG(val, scale) ((val) <= 0 ? 0 : \ IN_TO_REG 150 drivers/hwmon/pc87360.c #define IN_TO_REG(val, ref) ((val) < 0 ? 0 : \ IN_TO_REG 119 drivers/hwmon/sis5595.c static inline u8 IN_TO_REG(unsigned long val) IN_TO_REG 65 drivers/hwmon/smsc47m192.c static inline u8 IN_TO_REG(unsigned long val, int n) IN_TO_REG 114 drivers/hwmon/via686a.c static inline u8 IN_TO_REG(long val, int in_num) IN_TO_REG 148 drivers/hwmon/vt1211.c #define IN_TO_REG(ix, val) (clamp_val((ix) == 5 ? \ IN_TO_REG 250 drivers/hwmon/w83627hf.c #define IN_TO_REG(val) (clamp_val((((val) + 8) / 16), 0, 255)) IN_TO_REG 149 drivers/hwmon/w83781d.c #define IN_TO_REG(val) clamp_val(((val) + 8) / 16, 0, 255) IN_TO_REG 210 drivers/hwmon/w83791d.c #define IN_TO_REG(val) (clamp_val((((val) + 8) / 16), 0, 255)) IN_TO_REG 217 drivers/hwmon/w83792d.c #define IN_TO_REG(nr, val) (((nr) <= 1) ? ((val) / 2) : \ IN_TO_REG 95 drivers/hwmon/w83l786ng.c #define IN_TO_REG(val) (clamp_val((((val) + 4) / 8), 0, 255))