Searched refs:DIV_TO_REG (Results 1 - 18 of 18) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/hwmon/
H A Dadm1026.c209 #define DIV_TO_REG(val) ((val) >= 8 ? 3 : (val) >= 4 ? 2 : (val) >= 2 ? 1 : 0) macro
918 new_div = DIV_TO_REG(val);
926 (DIV_TO_REG(data->fan_div[0]) << 0) |
927 (DIV_TO_REG(data->fan_div[1]) << 2) |
928 (DIV_TO_REG(data->fan_div[2]) << 4) |
929 (DIV_TO_REG(data->fan_div[3]) << 6));
932 (DIV_TO_REG(data->fan_div[4]) << 0) |
933 (DIV_TO_REG(data->fan_div[5]) << 2) |
934 (DIV_TO_REG(data->fan_div[6]) << 4) |
935 (DIV_TO_REG(dat
[all...]
H A Dasb100.c170 static u8 DIV_TO_REG(long val) function
343 data->fan_div[nr] = DIV_TO_REG(val);
H A Dvia686a.c291 #define DIV_TO_REG(val) ((val)==8?3:(val)==4?2:(val)==1?0:1) macro
512 data->fan_div[nr] = DIV_TO_REG(val);
H A Dw83l786ng.c110 DIV_TO_REG(long val) function
301 data->fan_div[nr] = DIV_TO_REG(simple_strtoul(buf, NULL, 10));
H A Dw83792d.c259 DIV_TO_REG(long val) function
464 data->fan_div[nr] = DIV_TO_REG(simple_strtoul(buf, NULL, 10));
H A Dsis5595.c156 static inline u8 DIV_TO_REG(int val) function
H A Dit87.c235 static int DIV_TO_REG(int val) function
710 data->fan_div[nr] = DIV_TO_REG(val);
H A Dw83627hf.c334 static inline u8 DIV_TO_REG(long val) function
893 data->fan_div[nr] = DIV_TO_REG(val);
H A Dw83781d.c191 DIV_TO_REG(long val, enum chips type) function
642 data->fan_div[nr] = DIV_TO_REG(val, data->type);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/hwmon/
H A Dadm1026.c209 #define DIV_TO_REG(val) ((val) >= 8 ? 3 : (val) >= 4 ? 2 : (val) >= 2 ? 1 : 0) macro
918 new_div = DIV_TO_REG(val);
926 (DIV_TO_REG(data->fan_div[0]) << 0) |
927 (DIV_TO_REG(data->fan_div[1]) << 2) |
928 (DIV_TO_REG(data->fan_div[2]) << 4) |
929 (DIV_TO_REG(data->fan_div[3]) << 6));
932 (DIV_TO_REG(data->fan_div[4]) << 0) |
933 (DIV_TO_REG(data->fan_div[5]) << 2) |
934 (DIV_TO_REG(data->fan_div[6]) << 4) |
935 (DIV_TO_REG(dat
[all...]
H A Dasb100.c170 static u8 DIV_TO_REG(long val) function
343 data->fan_div[nr] = DIV_TO_REG(val);
H A Dvia686a.c291 #define DIV_TO_REG(val) ((val)==8?3:(val)==4?2:(val)==1?0:1) macro
512 data->fan_div[nr] = DIV_TO_REG(val);
H A Dw83l786ng.c110 DIV_TO_REG(long val) function
301 data->fan_div[nr] = DIV_TO_REG(simple_strtoul(buf, NULL, 10));
H A Dw83792d.c259 DIV_TO_REG(long val) function
464 data->fan_div[nr] = DIV_TO_REG(simple_strtoul(buf, NULL, 10));
H A Dsis5595.c156 static inline u8 DIV_TO_REG(int val) function
H A Dit87.c235 static int DIV_TO_REG(int val) function
710 data->fan_div[nr] = DIV_TO_REG(val);
H A Dw83627hf.c334 static inline u8 DIV_TO_REG(long val) function
893 data->fan_div[nr] = DIV_TO_REG(val);
H A Dw83781d.c191 DIV_TO_REG(long val, enum chips type) function
642 data->fan_div[nr] = DIV_TO_REG(val, data->type);

Completed in 245 milliseconds