/drivers/hwmon/ |
D | smsc47b397.c | 187 static ssize_t show_fan(struct device *dev, struct device_attribute in show_fan() 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);
|
D | adm1029.c | 177 show_fan(struct device *dev, struct device_attribute *devattr, char *buf) in show_fan() function 261 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 262 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1); 264 static SENSOR_DEVICE_ATTR(fan1_min, S_IRUGO, show_fan, NULL, 2); 265 static SENSOR_DEVICE_ATTR(fan2_min, S_IRUGO, show_fan, NULL, 3);
|
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);
|
D | lm87.c | 403 #define show_fan(offset) \ macro 404 static ssize_t show_fan##offset##_input(struct device *dev, struct device_attribute *attr, char *bu… 410 static ssize_t show_fan##offset##_min(struct device *dev, struct device_attribute *attr, char *buf)… 416 static ssize_t show_fan##offset##_div(struct device *dev, struct device_attribute *attr, char *buf)… 422 show_fan##offset##_input, NULL); 423 show_fan(1); 424 show_fan(2); 498 show_fan##offset##_min, set_fan##offset##_min); \ 500 show_fan##offset##_div, set_fan##offset##_div);
|
D | adt7462.c | 1088 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() function 1626 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 1627 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1); 1628 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2); 1629 static SENSOR_DEVICE_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3); 1630 static SENSOR_DEVICE_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 4); 1631 static SENSOR_DEVICE_ATTR(fan6_input, S_IRUGO, show_fan, NULL, 5); 1632 static SENSOR_DEVICE_ATTR(fan7_input, S_IRUGO, show_fan, NULL, 6); 1633 static SENSOR_DEVICE_ATTR(fan8_input, S_IRUGO, show_fan, NULL, 7);
|
D | lm63.c | 193 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() function 355 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 356 static SENSOR_DEVICE_ATTR(fan1_min, S_IWUSR | S_IRUGO, show_fan,
|
D | dme1737.c | 1004 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() function 1471 show_fan, NULL, SYS_FAN_INPUT, ix-1); \ 1473 show_fan, set_fan, SYS_FAN_MIN, ix-1); \ 1475 show_fan, NULL, SYS_FAN_ALARM, ix-1); \ 1477 show_fan, set_fan, SYS_FAN_TYPE, ix-1) 1488 show_fan, NULL, SYS_FAN_INPUT, ix-1); \ 1490 show_fan, set_fan, SYS_FAN_MIN, ix-1); \ 1492 show_fan, NULL, SYS_FAN_ALARM, ix-1); \ 1494 show_fan, set_fan, SYS_FAN_MAX, ix-1)
|
D | adt7473.c | 555 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() function 960 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 961 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1); 962 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2); 963 static SENSOR_DEVICE_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3);
|
D | vt1211.c | 479 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() 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)
|
D | w83792d.c | 1086 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 1); 1087 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 2); 1088 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 3); 1089 static SENSOR_DEVICE_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 4); 1090 static SENSOR_DEVICE_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 5); 1091 static SENSOR_DEVICE_ATTR(fan6_input, S_IRUGO, show_fan, NULL, 6); 1092 static SENSOR_DEVICE_ATTR(fan7_input, S_IRUGO, show_fan, NULL, 7);
|
D | lm80.c | 199 #define show_fan(suffix, value) \ macro 207 show_fan(min, fan_min) 208 show_fan(input, fan)
|
D | adt7470.c | 654 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() 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);
|
D | f71882fg.c | 169 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, 364 SENSOR_ATTR_2(fan1_input, S_IRUGO, show_fan, NULL, 0, 0), 369 SENSOR_ATTR_2(fan2_input, S_IRUGO, show_fan, NULL, 0, 1), 374 SENSOR_ATTR_2(fan3_input, S_IRUGO, show_fan, NULL, 0, 2), 484 SENSOR_ATTR_2(fan4_input, S_IRUGO, show_fan, NULL, 0, 3), 660 SENSOR_ATTR_2(fan4_input, S_IRUGO, show_fan, NULL, 0, 3), 1005 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() function
|
D | w83791d.c | 647 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0), 648 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1), 649 SENSOR_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2), 650 SENSOR_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3), 651 SENSOR_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 4),
|
D | w83627ehf.c | 759 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0), 760 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1), 761 SENSOR_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2), 762 SENSOR_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3), 763 SENSOR_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 4),
|
D | adm9240.c | 302 static ssize_t show_fan(struct device *dev, in show_fan() function 411 show_fan, NULL, nr - 1); \
|
D | w83l786ng.c | 333 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0), 334 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1),
|
D | f71805f.c | 544 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() 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);
|
D | via686a.c | 466 static ssize_t show_fan(struct device *dev, struct device_attribute *da, in show_fan() function 521 show_fan, NULL, offset - 1); \
|
D | sis5595.c | 329 static ssize_t show_fan(struct device *dev, struct device_attribute *da, in show_fan() function 422 show_fan, NULL, offset - 1); \
|
D | asb100.c | 287 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() function 379 show_fan, NULL, offset - 1); \
|
D | lm78.c | 315 static ssize_t show_fan(struct device *dev, struct device_attribute *da, in show_fan() function 409 show_fan, NULL, offset - 1); \
|
D | vt8231.c | 446 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() function 527 show_fan, NULL, offset - 1); \
|
D | adm1031.c | 474 static ssize_t show_fan(struct device *dev, in show_fan() function 566 show_fan, NULL, offset - 1); \
|
D | w83793.c | 383 show_fan(struct device *dev, struct device_attribute *attr, char *buf) in show_fan() function 916 SENSOR_ATTR_2(fan##index##_input, S_IRUGO, show_fan, \ 919 show_fan, store_fan_min, FAN_MIN, index - 1)
|