/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/hwmon/ |
H A D | smsc47b397.c | 187 static ssize_t show_fan(struct device *dev, struct device_attribute function 194 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 195 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1); 196 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2); 197 static SENSOR_DEVICE_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3);
|
H A D | adm1029.c | 171 show_fan(struct device *dev, struct device_attribute *devattr, char *buf) function 255 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 256 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1); 258 static SENSOR_DEVICE_ATTR(fan1_min, S_IRUGO, show_fan, NULL, 2); 259 static SENSOR_DEVICE_ATTR(fan2_min, S_IRUGO, show_fan, NULL, 3);
|
H A D | g760a.c | 130 static ssize_t show_fan(struct device *dev, struct device_attribute *da, function 181 static DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL);
|
H A D | f75375s.c | 494 #define show_fan(thing) \ macro 503 show_fan(fan); 504 show_fan(fan_min); 505 show_fan(fan_full); 506 show_fan(fan_exp); 538 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 544 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1);
|
H A D | lm87.c | 399 #define show_fan(offset) \ macro 400 static ssize_t show_fan##offset##_input(struct device *dev, struct device_attribute *attr, char *buf) \ 406 static ssize_t show_fan##offset##_min(struct device *dev, struct device_attribute *attr, char *buf) \ 412 static ssize_t show_fan##offset##_div(struct device *dev, struct device_attribute *attr, char *buf) \ 418 show_fan##offset##_input, NULL); 419 show_fan(1); 420 show_fan(2); 494 show_fan##offset##_min, set_fan##offset##_min); \ 496 show_fan##offset##_div, set_fan##offset##_div);
|
H A D | lm63.c | 194 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, function 376 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 377 static SENSOR_DEVICE_ATTR(fan1_min, S_IWUSR | S_IRUGO, show_fan,
|
H A D | w83792d.c | 1085 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 1); 1086 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 2); 1087 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 3); 1088 static SENSOR_DEVICE_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 4); 1089 static SENSOR_DEVICE_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 5); 1090 static SENSOR_DEVICE_ATTR(fan6_input, S_IRUGO, show_fan, NULL, 6); 1091 static SENSOR_DEVICE_ATTR(fan7_input, S_IRUGO, show_fan, NULL, 7);
|
H A D | vt1211.c | 479 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, function 977 show_fan, NULL, SHOW_FAN_INPUT, ix-1), \ 979 show_fan, set_fan, SHOW_SET_FAN_MIN, ix-1), \ 981 show_fan, set_fan, SHOW_SET_FAN_DIV, ix-1), \ 983 show_fan, NULL, SHOW_FAN_ALARM, ix-1)
|
H A D | adt7462.c | 1086 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, function 1624 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 1625 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1); 1626 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2); 1627 static SENSOR_DEVICE_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3); 1628 static SENSOR_DEVICE_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 4); 1629 static SENSOR_DEVICE_ATTR(fan6_input, S_IRUGO, show_fan, NULL, 5); 1630 static SENSOR_DEVICE_ATTR(fan7_input, S_IRUGO, show_fan, NULL, 6); 1631 static SENSOR_DEVICE_ATTR(fan8_input, S_IRUGO, show_fan, NULL, 7);
|
H A D | dme1737.c | 1031 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, function 1498 show_fan, NULL, SYS_FAN_INPUT, ix-1); \ 1500 show_fan, set_fan, SYS_FAN_MIN, ix-1); \ 1502 show_fan, NULL, SYS_FAN_ALARM, ix-1); \ 1504 show_fan, set_fan, SYS_FAN_TYPE, ix-1) 1515 show_fan, NULL, SYS_FAN_INPUT, ix-1); \ 1517 show_fan, set_fan, SYS_FAN_MIN, ix-1); \ 1519 show_fan, NULL, SYS_FAN_ALARM, ix-1); \ 1521 show_fan, set_fan, SYS_FAN_MAX, ix-1)
|
H A D | lm80.c | 195 #define show_fan(suffix, value) \ macro 203 show_fan(min, fan_min) 204 show_fan(input, fan)
|
H A D | adt7470.c | 652 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, function 1056 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 1057 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1); 1058 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2); 1059 static SENSOR_DEVICE_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3);
|
H A D | w83791d.c | 646 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0), 647 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1), 648 SENSOR_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2), 649 SENSOR_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3), 650 SENSOR_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 4),
|
H A D | f71882fg.c | 177 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, 422 SENSOR_ATTR_2(fan1_input, S_IRUGO, show_fan, NULL, 0, 0), 433 SENSOR_ATTR_2(fan2_input, S_IRUGO, show_fan, NULL, 0, 1), 444 SENSOR_ATTR_2(fan3_input, S_IRUGO, show_fan, NULL, 0, 2), 455 SENSOR_ATTR_2(fan4_input, S_IRUGO, show_fan, NULL, 0, 3), 718 SENSOR_ATTR_2(fan4_input, S_IRUGO, show_fan, NULL, 0, 3), 1107 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, function
|
H A D | f71805f.c | 544 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, function 976 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 981 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1); 986 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2);
|
H A D | adm9240.c | 301 static ssize_t show_fan(struct device *dev, function 410 show_fan, NULL, nr - 1); \
|
H A D | asb100.c | 284 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, function 376 show_fan, NULL, offset - 1); \
|
H A D | emc2103.c | 288 show_fan(struct device *dev, struct device_attribute *da, char *buf) function 511 static DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL);
|
H A D | lm78.c | 314 static ssize_t show_fan(struct device *dev, struct device_attribute *da, function 408 show_fan, NULL, offset - 1); \
|
H A D | sis5595.c | 329 static ssize_t show_fan(struct device *dev, struct device_attribute *da, function 422 show_fan, NULL, offset - 1); \
|
H A D | via686a.c | 466 static ssize_t show_fan(struct device *dev, struct device_attribute *da, function 521 show_fan, NULL, offset - 1); \
|
H A D | vt8231.c | 446 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, function 527 show_fan, NULL, offset - 1); \
|
H A D | w83l786ng.c | 332 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0), 333 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1),
|
H A D | w83627ehf.c | 812 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0), 813 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1), 814 SENSOR_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2), 815 SENSOR_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3), 816 SENSOR_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 4),
|
H A D | adm1031.c | 484 static ssize_t show_fan(struct device *dev, function 576 show_fan, NULL, offset - 1); \
|