| /linux/drivers/hwmon/ |
| H A D | f75375s.c | 618 #define show_fan(thing) \ macro 627 show_fan(fan); 628 show_fan(fan_min); 629 show_fan(fan_max); 630 show_fan(fan_target); 662 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 668 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1);
|
| H A D | w83792d.c | 1123 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 1); 1124 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 2); 1125 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 3); 1126 static SENSOR_DEVICE_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 4); 1127 static SENSOR_DEVICE_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 5); 1128 static SENSOR_DEVICE_ATTR(fan6_input, S_IRUGO, show_fan, NULL, 6); 1129 static SENSOR_DEVICE_ATTR(fan7_input, S_IRUGO, show_fan, NULL, 7);
|
| H A D | it87.c | 1308 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() function 1884 static SENSOR_DEVICE_ATTR_2(fan1_input, S_IRUGO, show_fan, NULL, 0, 0); 1885 static SENSOR_DEVICE_ATTR_2(fan1_min, S_IRUGO | S_IWUSR, show_fan, set_fan, 1890 static SENSOR_DEVICE_ATTR_2(fan2_input, S_IRUGO, show_fan, NULL, 1, 0); 1891 static SENSOR_DEVICE_ATTR_2(fan2_min, S_IRUGO | S_IWUSR, show_fan, set_fan, 1896 static SENSOR_DEVICE_ATTR_2(fan3_input, S_IRUGO, show_fan, NULL, 2, 0); 1897 static SENSOR_DEVICE_ATTR_2(fan3_min, S_IRUGO | S_IWUSR, show_fan, set_fan, 1902 static SENSOR_DEVICE_ATTR_2(fan4_input, S_IRUGO, show_fan, NULL, 3, 0); 1903 static SENSOR_DEVICE_ATTR_2(fan4_min, S_IRUGO | S_IWUSR, show_fan, set_fan, 1906 static SENSOR_DEVICE_ATTR_2(fan5_input, S_IRUGO, show_fan, NULL, 4, 0); [all …]
|
| H A D | w83791d.c | 663 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0), 664 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1), 665 SENSOR_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2), 666 SENSOR_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3), 667 SENSOR_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 4),
|
| H A 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,
|
| H A D | asb100.c | 286 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() function 390 show_fan, NULL, offset - 1); \
|
| H A D | w83793.c | 463 show_fan(struct device *dev, struct device_attribute *attr, char *buf) in show_fan() function 1032 SENSOR_ATTR_2(fan##index##_input, S_IRUGO, show_fan, \ 1035 show_fan, store_fan_min, FAN_MIN, index - 1)
|
| H A 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), \
|
| H A D | nct6775-core.c | 1954 show_fan(struct device *dev, struct device_attribute *attr, char *buf) in show_fan() function 2161 SENSOR_TEMPLATE(fan_input, "fan%d_input", 0444, show_fan, NULL, 0);
|