/drivers/hwmon/ |
D | emc6w201.c | 267 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() function 375 static SENSOR_DEVICE_ATTR_2(fan1_input, S_IRUGO, show_fan, NULL, 0, input); 376 static SENSOR_DEVICE_ATTR_2(fan1_min, S_IRUGO | S_IWUSR, show_fan, set_fan, 378 static SENSOR_DEVICE_ATTR_2(fan2_input, S_IRUGO, show_fan, NULL, 1, input); 379 static SENSOR_DEVICE_ATTR_2(fan2_min, S_IRUGO | S_IWUSR, show_fan, set_fan, 381 static SENSOR_DEVICE_ATTR_2(fan3_input, S_IRUGO, show_fan, NULL, 2, input); 382 static SENSOR_DEVICE_ATTR_2(fan3_min, S_IRUGO | S_IWUSR, show_fan, set_fan, 384 static SENSOR_DEVICE_ATTR_2(fan4_input, S_IRUGO, show_fan, NULL, 3, input); 385 static SENSOR_DEVICE_ATTR_2(fan4_min, S_IRUGO | S_IWUSR, show_fan, set_fan, 387 static SENSOR_DEVICE_ATTR_2(fan5_input, S_IRUGO, show_fan, NULL, 4, input); [all …]
|
D | smsc47b397.c | 193 static ssize_t show_fan(struct device *dev, struct device_attribute in show_fan() 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);
|
D | adm1029.c | 171 show_fan(struct device *dev, struct device_attribute *devattr, char *buf) in show_fan() function 259 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 260 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1); 262 static SENSOR_DEVICE_ATTR(fan1_min, S_IRUGO, show_fan, NULL, 2); 263 static SENSOR_DEVICE_ATTR(fan2_min, S_IRUGO, show_fan, NULL, 3);
|
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);
|
D | sch5627.c | 262 static ssize_t show_fan(struct device *dev, struct device_attribute in show_fan() 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);
|
D | g760a.c | 131 static ssize_t show_fan(struct device *dev, struct device_attribute *da, in show_fan() function 182 static DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL);
|
D | it87.c | 745 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() function 1156 static SENSOR_DEVICE_ATTR_2(fan1_input, S_IRUGO, show_fan, NULL, 0, 0); 1157 static SENSOR_DEVICE_ATTR_2(fan1_min, S_IRUGO | S_IWUSR, show_fan, set_fan, 1162 static SENSOR_DEVICE_ATTR_2(fan2_input, S_IRUGO, show_fan, NULL, 1, 0); 1163 static SENSOR_DEVICE_ATTR_2(fan2_min, S_IRUGO | S_IWUSR, show_fan, set_fan, 1168 static SENSOR_DEVICE_ATTR_2(fan3_input, S_IRUGO, show_fan, NULL, 2, 0); 1169 static SENSOR_DEVICE_ATTR_2(fan3_min, S_IRUGO | S_IWUSR, show_fan, set_fan, 1174 static SENSOR_DEVICE_ATTR_2(fan4_input, S_IRUGO, show_fan, NULL, 3, 0); 1175 static SENSOR_DEVICE_ATTR_2(fan4_min, S_IRUGO | S_IWUSR, show_fan, set_fan, 1178 static SENSOR_DEVICE_ATTR_2(fan5_input, S_IRUGO, show_fan, NULL, 4, 0); [all …]
|
D | adt7462.c | 1085 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() function 1623 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 1624 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1); 1625 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2); 1626 static SENSOR_DEVICE_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3); 1627 static SENSOR_DEVICE_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 4); 1628 static SENSOR_DEVICE_ATTR(fan6_input, S_IRUGO, show_fan, NULL, 5); 1629 static SENSOR_DEVICE_ATTR(fan7_input, S_IRUGO, show_fan, NULL, 6); 1630 static SENSOR_DEVICE_ATTR(fan8_input, S_IRUGO, show_fan, NULL, 7);
|
D | vt1211.c | 497 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() function 1012 show_fan, NULL, SHOW_FAN_INPUT, ix-1), \ 1014 show_fan, set_fan, SHOW_SET_FAN_MIN, ix-1), \ 1016 show_fan, set_fan, SHOW_SET_FAN_DIV, ix-1), \ 1018 show_fan, NULL, SHOW_FAN_ALARM, ix-1)
|
D | w83792d.c | 1144 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 1); 1145 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 2); 1146 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 3); 1147 static SENSOR_DEVICE_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 4); 1148 static SENSOR_DEVICE_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 5); 1149 static SENSOR_DEVICE_ATTR(fan6_input, S_IRUGO, show_fan, NULL, 6); 1150 static SENSOR_DEVICE_ATTR(fan7_input, S_IRUGO, show_fan, NULL, 7);
|
D | dme1737.c | 1089 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() function 1578 show_fan, NULL, SYS_FAN_INPUT, ix-1); \ 1580 show_fan, set_fan, SYS_FAN_MIN, ix-1); \ 1582 show_fan, NULL, SYS_FAN_ALARM, ix-1); \ 1584 show_fan, set_fan, SYS_FAN_TYPE, ix-1) 1595 show_fan, NULL, SYS_FAN_INPUT, ix-1); \ 1597 show_fan, set_fan, SYS_FAN_MIN, ix-1); \ 1599 show_fan, NULL, SYS_FAN_ALARM, ix-1); \ 1601 show_fan, set_fan, SYS_FAN_MAX, ix-1)
|
D | lm80.c | 210 #define show_fan(suffix, value) \ macro 221 show_fan(min, fan_min) 222 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 | 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, in show_fan() function
|
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),
|
D | emc2103.c | 290 show_fan(struct device *dev, struct device_attribute *da, char *buf) in show_fan() function 519 static DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL);
|
D | lm63.c | 351 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() 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,
|
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),
|
D | adm9240.c | 317 static ssize_t show_fan(struct device *dev, in show_fan() function 432 show_fan, NULL, nr - 1); \
|
D | f71805f.c | 570 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() 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);
|
D | sis5595.c | 370 static ssize_t show_fan(struct device *dev, struct device_attribute *da, in show_fan() function 484 show_fan, NULL, offset - 1); \
|
D | via686a.c | 507 static ssize_t show_fan(struct device *dev, struct device_attribute *da, in show_fan() function 573 show_fan, NULL, offset - 1); \
|
D | w83627ehf.c | 1039 show_fan(struct device *dev, struct device_attribute *attr, char *buf) in show_fan() function 1162 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0), 1163 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1), 1164 SENSOR_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2), 1165 SENSOR_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3), 1166 SENSOR_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 4),
|
D | asb100.c | 300 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() function 404 show_fan, NULL, offset - 1); \
|
D | lm78.c | 302 static ssize_t show_fan(struct device *dev, struct device_attribute *da, in show_fan() function 417 show_fan, NULL, offset - 1); \
|