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

12

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/hwmon/
H A Dsmsc47b397.c187 static ssize_t show_fan(struct device *dev, struct device_attribute 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);
H A Dadm1029.c171 show_fan(struct device *dev, struct device_attribute *devattr, char *buf) function
255 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0);
256 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1);
258 static SENSOR_DEVICE_ATTR(fan1_min, S_IRUGO, show_fan, NULL, 2);
259 static SENSOR_DEVICE_ATTR(fan2_min, S_IRUGO, show_fan, NULL, 3);
H A Dg760a.c130 static ssize_t show_fan(struct device *dev, struct device_attribute *da, function
181 static DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL);
H A Df75375s.c494 #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);
H A Dlm87.c399 #define show_fan(offset) \ macro
400 static ssize_t show_fan##offset##_input(struct device *dev, struct device_attribute *attr, char *buf) \
406 static ssize_t show_fan##offset##_min(struct device *dev, struct device_attribute *attr, char *buf) \
412 static ssize_t show_fan##offset##_div(struct device *dev, struct device_attribute *attr, char *buf) \
418 show_fan##offset##_input, NULL);
419 show_fan(1);
420 show_fan(2);
494 show_fan##offset##_min, set_fan##offset##_min); \
496 show_fan##offset##_div, set_fan##offset##_div);
H A Dlm63.c194 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, function
376 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0);
377 static SENSOR_DEVICE_ATTR(fan1_min, S_IWUSR | S_IRUGO, show_fan,
H A Dw83792d.c1085 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 1);
1086 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 2);
1087 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 3);
1088 static SENSOR_DEVICE_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 4);
1089 static SENSOR_DEVICE_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 5);
1090 static SENSOR_DEVICE_ATTR(fan6_input, S_IRUGO, show_fan, NULL, 6);
1091 static SENSOR_DEVICE_ATTR(fan7_input, S_IRUGO, show_fan, NULL, 7);
H A Dvt1211.c479 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, 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)
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.c1031 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, function
1498 show_fan, NULL, SYS_FAN_INPUT, ix-1); \
1500 show_fan, set_fan, SYS_FAN_MIN, ix-1); \
1502 show_fan, NULL, SYS_FAN_ALARM, ix-1); \
1504 show_fan, set_fan, SYS_FAN_TYPE, ix-1)
1515 show_fan, NULL, SYS_FAN_INPUT, ix-1); \
1517 show_fan, set_fan, SYS_FAN_MIN, ix-1); \
1519 show_fan, NULL, SYS_FAN_ALARM, ix-1); \
1521 show_fan, set_fan, SYS_FAN_MAX, ix-1)
H A Dlm80.c195 #define show_fan(suffix, value) \ macro
203 show_fan(min, fan_min)
204 show_fan(input, fan)
H A Dadt7470.c652 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, function
1056 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0);
1057 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1);
1058 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2);
1059 static SENSOR_DEVICE_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3);
H A Dw83791d.c646 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0),
647 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1),
648 SENSOR_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2),
649 SENSOR_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3),
650 SENSOR_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 4),
H A Df71882fg.c177 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr,
422 SENSOR_ATTR_2(fan1_input, S_IRUGO, show_fan, NULL, 0, 0),
433 SENSOR_ATTR_2(fan2_input, S_IRUGO, show_fan, NULL, 0, 1),
444 SENSOR_ATTR_2(fan3_input, S_IRUGO, show_fan, NULL, 0, 2),
455 SENSOR_ATTR_2(fan4_input, S_IRUGO, show_fan, NULL, 0, 3),
718 SENSOR_ATTR_2(fan4_input, S_IRUGO, show_fan, NULL, 0, 3),
1107 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, function
H A Df71805f.c544 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, 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);
H A Dadm9240.c301 static ssize_t show_fan(struct device *dev, function
410 show_fan, NULL, nr - 1); \
H A Dasb100.c284 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, function
376 show_fan, NULL, offset - 1); \
H A Demc2103.c288 show_fan(struct device *dev, struct device_attribute *da, char *buf) function
511 static DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL);
H A Dlm78.c314 static ssize_t show_fan(struct device *dev, struct device_attribute *da, function
408 show_fan, NULL, offset - 1); \
H A Dsis5595.c329 static ssize_t show_fan(struct device *dev, struct device_attribute *da, function
422 show_fan, NULL, offset - 1); \
H A Dvia686a.c466 static ssize_t show_fan(struct device *dev, struct device_attribute *da, function
521 show_fan, NULL, offset - 1); \
H A Dvt8231.c446 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, function
527 show_fan, NULL, offset - 1); \
H A Dw83l786ng.c332 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0),
333 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1),
H A Dw83627ehf.c812 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0),
813 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1),
814 SENSOR_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2),
815 SENSOR_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3),
816 SENSOR_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 4),
H A Dadm1031.c484 static ssize_t show_fan(struct device *dev, function
576 show_fan, NULL, offset - 1); \

Completed in 300 milliseconds

12