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