/drivers/hwmon/ |
D | w83l786ng.c | 84 FAN_TO_REG(long rpm, int div) in FAN_TO_REG() function 273 data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); in store_fan_min() 343 data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); in store_fan_div()
|
D | lm80.c | 78 static inline unsigned char FAN_TO_REG(unsigned rpm, unsigned div) in FAN_TO_REG() function 246 data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); in set_fan_min() 300 data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); in set_fan_div()
|
D | sis5595.c | 140 static inline u8 FAN_TO_REG(long rpm, int div) in FAN_TO_REG() function 404 data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); in set_fan_min() 475 FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); in set_fan_div()
|
D | asb100.c | 126 static u8 FAN_TO_REG(long rpm, int div) in FAN_TO_REG() function 340 data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); in set_fan_min() 394 FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); in set_fan_div()
|
D | lm78.c | 93 static inline u8 FAN_TO_REG(long rpm, int div) in FAN_TO_REG() function 336 data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); in set_fan_min() 407 FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); in set_fan_div()
|
D | lm87.c | 135 #define FAN_TO_REG(val, div) ((val) * (div) * 255 <= 1350000 ? 255 : \ macro 509 data->fan_min[nr] = FAN_TO_REG(val, in set_fan_min() 570 data->fan_min[nr] = FAN_TO_REG(min, val); in set_fan_div()
|
D | vt8231.c | 146 static inline u8 FAN_TO_REG(long rpm, int div) in FAN_TO_REG() function 539 data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); in set_fan_min() 583 data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); in set_fan_div()
|
D | gl518sm.c | 94 static inline u8 FAN_TO_REG(long rpm, int div) in FAN_TO_REG() function 302 data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); in set_fan_min()
|
D | via686a.c | 174 static inline u8 FAN_TO_REG(long rpm, int div) in FAN_TO_REG() function 547 data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); in set_fan_min()
|
D | gl520sm.c | 287 #define FAN_TO_REG(val, div) ((val) <= 0 ? 0 : \ macro 342 r = FAN_TO_REG(v, data->fan_div[n]); in set_fan_min()
|
D | adm1031.c | 162 static int FAN_TO_REG(int reg, int div) in FAN_TO_REG() function 555 FAN_TO_REG(val, FAN_DIV_FROM_REG(data->fan_div[nr])); in set_fan_min()
|
D | lm63.c | 126 #define FAN_TO_REG(val) ((val) <= 82 ? 0xFFFC : \ macro 372 data->fan[1] = FAN_TO_REG(val); in set_fan()
|
D | w83792d.c | 233 FAN_TO_REG(long rpm, int div) in FAN_TO_REG() function 441 data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); in store_fan_min() 499 data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); in store_fan_div()
|
D | w83781d.c | 166 FAN_TO_REG(long rpm, int div) in FAN_TO_REG() function 342 FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); in store_fan_min() 689 data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); in store_fan_div()
|
D | w83627hf.c | 260 static inline u8 FAN_TO_REG(long rpm, int div) in FAN_TO_REG() function 621 data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); in store_fan_min() 968 data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); in store_fan_div()
|
D | it87.c | 334 static inline u8 FAN_TO_REG(long rpm, int div) in FAN_TO_REG() function 771 data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); in set_fan_min() 815 data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); in set_fan_div()
|
D | dme1737.c | 349 static inline int FAN_TO_REG(int val, int tpc) in FAN_TO_REG() function 1147 data->fan_min[ix] = FAN_TO_REG(val, 0); in set_fan() 1153 data->fan_min[ix] = FAN_TO_REG(val, in set_fan()
|
D | lm85.c | 150 static inline u16 FAN_TO_REG(unsigned long val) in FAN_TO_REG() function 410 data->fan_min[nr] = FAN_TO_REG(val); in set_fan_min()
|
D | pc87360.c | 127 #define FAN_TO_REG(val, div) ((val) <= 100 ? 0 : \ macro 304 fan_min = FAN_TO_REG(fan_min, in set_fan_min()
|
D | w83793.c | 189 static inline u16 FAN_TO_REG(long rpm) in FAN_TO_REG() function 527 val = FAN_TO_REG(val); in store_fan_min()
|
D | adm1026.c | 209 #define FAN_TO_REG(val, div) ((val) <= 0 ? 0xff : \ macro 901 data->fan_min[nr] = FAN_TO_REG(val, data->fan_div[nr]); in set_fan_min()
|