Searched refs:show_fan (Results 1 - 25 of 32) sorted by relevance

12

/drivers/hwmon/
H A Demc6w201.c268 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 Dsmsc47b397.c193 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 Dadm1029.c171 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 Dg760a.c131 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 Dsch5627.c262 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 Df75375s.c658 #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 Dw83792d.c1193 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 Dvt1211.c497 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 Dadt7462.c1086 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 Ddme1737.c1088 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 Df71882fg.c291 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 Dlm80.c210 #define show_fan(suffix, value) \ macro
221 show_fan(min, fan_min)
222 show_fan(input, fan)
H A Dadt7470.c654 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 Dw83791d.c678 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 Dlm63.c351 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 Df71805f.c570 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 Dadm9240.c316 static ssize_t show_fan(struct device *dev, function
430 show_fan, NULL, nr - 1); \
H A Dasb100.c300 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, function
404 show_fan, NULL, offset - 1); \
H A Demc2103.c290 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 Dlm78.c302 static ssize_t show_fan(struct device *dev, struct device_attribute *da, function
416 show_fan, NULL, offset - 1); \
H A Dsis5595.c370 static ssize_t show_fan(struct device *dev, struct device_attribute *da, function
483 show_fan, NULL, offset - 1); \
H A Dvia686a.c510 static ssize_t show_fan(struct device *dev, struct device_attribute *da, function
576 show_fan, NULL, offset - 1); \
H A Dw83l786ng.c352 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0),
353 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1),
H A Dadm1031.c511 static ssize_t show_fan(struct device *dev, function
613 show_fan, NULL, offset - 1); \
H A Dvt8231.c496 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, function
595 show_fan, NULL, offset - 1); \

Completed in 212 milliseconds

12