/drivers/hwmon/ |
H A D | emc6w201.c | 268 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, function 376 static SENSOR_DEVICE_ATTR_2(fan1_input, S_IRUGO, show_fan, NULL, 0, input); 377 static SENSOR_DEVICE_ATTR_2(fan1_min, S_IRUGO | S_IWUSR, show_fan, set_fan, 379 static SENSOR_DEVICE_ATTR_2(fan2_input, S_IRUGO, show_fan, NULL, 1, input); 380 static SENSOR_DEVICE_ATTR_2(fan2_min, S_IRUGO | S_IWUSR, show_fan, set_fan, 382 static SENSOR_DEVICE_ATTR_2(fan3_input, S_IRUGO, show_fan, NULL, 2, input); 383 static SENSOR_DEVICE_ATTR_2(fan3_min, S_IRUGO | S_IWUSR, show_fan, set_fan, 385 static SENSOR_DEVICE_ATTR_2(fan4_input, S_IRUGO, show_fan, NULL, 3, input); 386 static SENSOR_DEVICE_ATTR_2(fan4_min, S_IRUGO | S_IWUSR, show_fan, set_fan, 388 static SENSOR_DEVICE_ATTR_2(fan5_input, S_IRUGO, show_fan, NUL [all...] |
H A D | smsc47b397.c | 193 static ssize_t show_fan(struct device *dev, struct device_attribute function 200 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 201 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1); 202 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2); 203 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 258 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 259 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1); 261 static SENSOR_DEVICE_ATTR(fan1_min, S_IRUGO, show_fan, NULL, 2); 262 static SENSOR_DEVICE_ATTR(fan2_min, S_IRUGO, show_fan, NULL, 3);
|
H A D | g760a.c | 131 static ssize_t show_fan(struct device *dev, struct device_attribute *da, function 182 static DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL);
|
H A D | sch5627.c | 262 static ssize_t show_fan(struct device *dev, struct device_attribute function 363 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 364 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1); 365 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2); 366 static SENSOR_DEVICE_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3);
|
H A D | f75375s.c | 658 #define show_fan(thing) \ macro 667 show_fan(fan); 668 show_fan(fan_min); 669 show_fan(fan_max); 670 show_fan(fan_target); 702 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 708 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1);
|
H A D | w83792d.c | 1193 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 1); 1194 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 2); 1195 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 3); 1196 static SENSOR_DEVICE_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 4); 1197 static SENSOR_DEVICE_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 5); 1198 static SENSOR_DEVICE_ATTR(fan6_input, S_IRUGO, show_fan, NULL, 6); 1199 static SENSOR_DEVICE_ATTR(fan7_input, S_IRUGO, show_fan, NULL, 7);
|
H A D | vt1211.c | 497 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, function 1009 show_fan, NULL, SHOW_FAN_INPUT, ix-1), \ 1011 show_fan, set_fan, SHOW_SET_FAN_MIN, ix-1), \ 1013 show_fan, set_fan, SHOW_SET_FAN_DIV, ix-1), \ 1015 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 | 1088 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, function 1577 show_fan, NULL, SYS_FAN_INPUT, ix-1); \ 1579 show_fan, set_fan, SYS_FAN_MIN, ix-1); \ 1581 show_fan, NULL, SYS_FAN_ALARM, ix-1); \ 1583 show_fan, set_fan, SYS_FAN_TYPE, ix-1) 1594 show_fan, NULL, SYS_FAN_INPUT, ix-1); \ 1596 show_fan, set_fan, SYS_FAN_MIN, ix-1); \ 1598 show_fan, NULL, SYS_FAN_ALARM, ix-1); \ 1600 show_fan, set_fan, SYS_FAN_MAX, ix-1)
|
H A D | f71882fg.c | 291 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, 548 SENSOR_ATTR_2(fan1_input, S_IRUGO, show_fan, NULL, 0, 0), 559 SENSOR_ATTR_2(fan2_input, S_IRUGO, show_fan, NULL, 0, 1), 570 SENSOR_ATTR_2(fan3_input, S_IRUGO, show_fan, NULL, 0, 2), 581 SENSOR_ATTR_2(fan4_input, S_IRUGO, show_fan, NULL, 0, 3), 595 SENSOR_ATTR_2(fan3_input, S_IRUGO, show_fan, NULL, 0, 2), 936 SENSOR_ATTR_2(fan4_input, S_IRUGO, show_fan, NULL, 0, 3), 1319 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, function
|
H A D | lm80.c | 210 #define show_fan(suffix, value) \ macro 221 show_fan(min, fan_min) 222 show_fan(input, fan)
|
H A D | adt7470.c | 654 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, function 1058 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 1059 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1); 1060 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2); 1061 static SENSOR_DEVICE_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3);
|
H A D | w83791d.c | 678 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0), 679 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1), 680 SENSOR_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2), 681 SENSOR_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3), 682 SENSOR_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 4),
|
H A D | lm63.c | 351 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, function 761 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 762 static SENSOR_DEVICE_ATTR(fan1_min, S_IWUSR | S_IRUGO, show_fan,
|
H A D | f71805f.c | 570 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, function 1047 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 1052 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1); 1057 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2);
|
H A D | adm9240.c | 316 static ssize_t show_fan(struct device *dev, function 430 show_fan, NULL, nr - 1); \
|
H A D | asb100.c | 300 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, function 404 show_fan, NULL, offset - 1); \
|
H A D | emc2103.c | 290 show_fan(struct device *dev, struct device_attribute *da, char *buf) function 515 static DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL);
|
H A D | lm78.c | 302 static ssize_t show_fan(struct device *dev, struct device_attribute *da, function 416 show_fan, NULL, offset - 1); \
|
H A D | sis5595.c | 370 static ssize_t show_fan(struct device *dev, struct device_attribute *da, function 483 show_fan, NULL, offset - 1); \
|
H A D | via686a.c | 510 static ssize_t show_fan(struct device *dev, struct device_attribute *da, function 576 show_fan, NULL, offset - 1); \
|
H A D | w83l786ng.c | 352 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0), 353 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1),
|
H A D | adm1031.c | 511 static ssize_t show_fan(struct device *dev, function 613 show_fan, NULL, offset - 1); \
|
H A D | vt8231.c | 496 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, function 595 show_fan, NULL, offset - 1); \
|