| /Linux-v5.4/drivers/hwmon/ |
| D | f75375s.c | 644 #define show_fan(thing) \ macro 653 show_fan(fan); 654 show_fan(fan_min); 655 show_fan(fan_max); 656 show_fan(fan_target); 688 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 694 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1);
|
| D | it87.c | 1109 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() function 1624 static SENSOR_DEVICE_ATTR_2(fan1_input, S_IRUGO, show_fan, NULL, 0, 0); 1625 static SENSOR_DEVICE_ATTR_2(fan1_min, S_IRUGO | S_IWUSR, show_fan, set_fan, 1630 static SENSOR_DEVICE_ATTR_2(fan2_input, S_IRUGO, show_fan, NULL, 1, 0); 1631 static SENSOR_DEVICE_ATTR_2(fan2_min, S_IRUGO | S_IWUSR, show_fan, set_fan, 1636 static SENSOR_DEVICE_ATTR_2(fan3_input, S_IRUGO, show_fan, NULL, 2, 0); 1637 static SENSOR_DEVICE_ATTR_2(fan3_min, S_IRUGO | S_IWUSR, show_fan, set_fan, 1642 static SENSOR_DEVICE_ATTR_2(fan4_input, S_IRUGO, show_fan, NULL, 3, 0); 1643 static SENSOR_DEVICE_ATTR_2(fan4_min, S_IRUGO | S_IWUSR, show_fan, set_fan, 1646 static SENSOR_DEVICE_ATTR_2(fan5_input, S_IRUGO, show_fan, NULL, 4, 0); [all …]
|
| D | vt1211.c | 490 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() function 1008 show_fan, NULL, SHOW_FAN_INPUT, ix-1), \ 1010 show_fan, set_fan, SHOW_SET_FAN_MIN, ix-1), \ 1012 show_fan, set_fan, SHOW_SET_FAN_DIV, ix-1), \ 1014 show_fan, NULL, SHOW_FAN_ALARM, ix-1)
|
| D | w83792d.c | 1130 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 1); 1131 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 2); 1132 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 3); 1133 static SENSOR_DEVICE_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 4); 1134 static SENSOR_DEVICE_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 5); 1135 static SENSOR_DEVICE_ATTR(fan6_input, S_IRUGO, show_fan, NULL, 6); 1136 static SENSOR_DEVICE_ATTR(fan7_input, S_IRUGO, show_fan, NULL, 7);
|
| D | dme1737.c | 1080 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() function 1572 show_fan, NULL, SYS_FAN_INPUT, ix-1); \ 1574 show_fan, set_fan, SYS_FAN_MIN, ix-1); \ 1576 show_fan, NULL, SYS_FAN_ALARM, ix-1); \ 1578 show_fan, set_fan, SYS_FAN_TYPE, ix-1) 1589 show_fan, NULL, SYS_FAN_INPUT, ix-1); \ 1591 show_fan, set_fan, SYS_FAN_MIN, ix-1); \ 1593 show_fan, NULL, SYS_FAN_ALARM, ix-1); \ 1595 show_fan, set_fan, SYS_FAN_MAX, ix-1)
|
| D | w83791d.c | 662 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0), 663 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1), 664 SENSOR_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2), 665 SENSOR_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3), 666 SENSOR_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 4),
|
| D | f71882fg.c | 307 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, 582 SENSOR_ATTR_2(fan1_input, S_IRUGO, show_fan, NULL, 0, 0), 593 SENSOR_ATTR_2(fan2_input, S_IRUGO, show_fan, NULL, 0, 1), 604 SENSOR_ATTR_2(fan3_input, S_IRUGO, show_fan, NULL, 0, 2), 615 SENSOR_ATTR_2(fan4_input, S_IRUGO, show_fan, NULL, 0, 3), 629 SENSOR_ATTR_2(fan3_input, S_IRUGO, show_fan, NULL, 0, 2), 970 SENSOR_ATTR_2(fan4_input, S_IRUGO, show_fan, NULL, 0, 3), 1371 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() function
|
| D | lm63.c | 331 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() function 740 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 741 static SENSOR_DEVICE_ATTR(fan1_min, S_IWUSR | S_IRUGO, show_fan,
|
| D | w83l786ng.c | 384 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0), 385 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1),
|
| D | f71805f.c | 563 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() function 1040 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 1045 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1); 1050 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2);
|
| D | w83627ehf.c | 1032 show_fan(struct device *dev, struct device_attribute *attr, char *buf) in show_fan() function 1155 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0), 1156 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1), 1157 SENSOR_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2), 1158 SENSOR_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3), 1159 SENSOR_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 4),
|
| D | asb100.c | 287 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() function 391 show_fan, NULL, offset - 1); \
|
| D | nct6683.c | 711 show_fan(struct device *dev, struct device_attribute *attr, char *buf) in show_fan() function 760 SENSOR_TEMPLATE(fan_input, "fan%d_input", S_IRUGO, show_fan, NULL, 0);
|
| D | w83781d.c | 336 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 339 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1); 342 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2);
|
| D | w83793.c | 465 show_fan(struct device *dev, struct device_attribute *attr, char *buf) in show_fan() function 1034 SENSOR_ATTR_2(fan##index##_input, S_IRUGO, show_fan, \ 1037 show_fan, store_fan_min, FAN_MIN, index - 1)
|
| D | w83795.c | 775 show_fan(struct device *dev, struct device_attribute *attr, char *buf) in show_fan() function 1627 SENSOR_ATTR_2(fan##index##_input, S_IRUGO, show_fan, \ 1630 show_fan, store_fan_min, FAN_MIN, index - 1), \
|
| D | nct6775.c | 2089 show_fan(struct device *dev, struct device_attribute *attr, char *buf) in show_fan() function 2278 SENSOR_TEMPLATE(fan_input, "fan%d_input", S_IRUGO, show_fan, NULL, 0);
|