/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/hwmon/ |
H A D | smsc47b397.c | 180 static ssize_t show_fan(struct device *dev, struct device_attribute function 187 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 188 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1); 189 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2); 190 static SENSOR_DEVICE_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3);
|
H A D | adm1029.c | 168 show_fan(struct device *dev, struct device_attribute *devattr, char *buf) function 251 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 252 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1); 254 static SENSOR_DEVICE_ATTR(fan1_min, S_IRUGO, show_fan, NULL, 2); 255 static SENSOR_DEVICE_ATTR(fan2_min, S_IRUGO, show_fan, NULL, 3);
|
H A D | lm87.c | 386 #define show_fan(offset) \ macro 387 static ssize_t show_fan##offset##_input(struct device *dev, struct device_attribute *attr, char *buf) \ 393 static ssize_t show_fan##offset##_min(struct device *dev, struct device_attribute *attr, char *buf) \ 399 static ssize_t show_fan##offset##_div(struct device *dev, struct device_attribute *attr, char *buf) \ 405 show_fan##offset##_input, NULL); 406 show_fan(1); 407 show_fan(2); 481 show_fan##offset##_min, set_fan##offset##_min); \ 483 show_fan##offset##_div, set_fan##offset##_div);
|
H A D | asb100.c | 302 static ssize_t show_fan(struct device *dev, char *buf, int nr) function 385 static ssize_t show_fan##offset(struct device *dev, struct device_attribute *attr, char *buf) \ 387 return show_fan(dev, buf, offset - 1); \ 389 static ssize_t show_fan##offset##_min(struct device *dev, struct device_attribute *attr, char *buf) \ 393 static ssize_t show_fan##offset##_div(struct device *dev, struct device_attribute *attr, char *buf) \ 408 show_fan##offset, NULL); \ 410 show_fan##offset##_min, set_fan##offset##_min); \ 412 show_fan##offset##_div, set_fan##offset##_div);
|
H A D | gl518sm.c | 139 #define show_fan(suffix, value, index) \ macro 151 show_fan(fan_input1, fan_in, 0); 152 show_fan(fan_input2, fan_in, 1); 153 show_fan(fan_min1, fan_min, 0); 154 show_fan(fan_min2, fan_min, 1);
|
H A D | lm80.c | 216 #define show_fan(suffix, value, div) \ macro 223 show_fan(min1, fan_min[0], fan_div[0]); 224 show_fan(min2, fan_min[1], fan_div[1]); 225 show_fan(input1, fan[0], fan_div[0]); 226 show_fan(input2, fan[1], fan_div[1]);
|
H A D | lm63.c | 182 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, function 344 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 345 static SENSOR_DEVICE_ATTR(fan1_min, S_IWUSR | S_IRUGO, show_fan,
|
H A D | w83792d.c | 1090 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 1); 1091 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 2); 1092 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 3); 1093 static SENSOR_DEVICE_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 4); 1094 static SENSOR_DEVICE_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 5); 1095 static SENSOR_DEVICE_ATTR(fan6_input, S_IRUGO, show_fan, NULL, 6); 1096 static SENSOR_DEVICE_ATTR(fan7_input, S_IRUGO, show_fan, NULL, 7);
|
H A D | vt1211.c | 474 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, function 972 show_fan, NULL, SHOW_FAN_INPUT, ix-1), \ 974 show_fan, set_fan, SHOW_SET_FAN_MIN, ix-1), \ 976 show_fan, set_fan, SHOW_SET_FAN_DIV, ix-1), \ 978 show_fan, NULL, SHOW_FAN_ALARM, ix-1)
|
H A D | w83791d.c | 506 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0), 507 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1), 508 SENSOR_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2), 509 SENSOR_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3), 510 SENSOR_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 4),
|
H A D | w83627ehf.c | 738 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0), 739 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1), 740 SENSOR_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2), 741 SENSOR_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3), 742 SENSOR_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 4),
|
H A D | f71805f.c | 511 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, function 879 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 884 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1); 889 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2);
|
H A D | adm9240.c | 291 static ssize_t show_fan(struct device *dev, function 400 show_fan, NULL, nr - 1); \
|
H A D | lm78.c | 314 static ssize_t show_fan(struct device *dev, struct device_attribute *da, function 408 show_fan, NULL, offset - 1); \
|
H A D | sis5595.c | 347 static ssize_t show_fan(struct device *dev, char *buf, int nr) function 430 return show_fan(dev, buf, offset - 1); \
|
H A D | via686a.c | 492 static ssize_t show_fan(struct device *dev, char *buf, int nr) { function 537 return show_fan(dev, buf, offset - 1); \
|
H A D | vt8231.c | 455 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, function 538 show_fan, NULL, offset - 1); \
|
H A D | w83781d.c | 378 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0); 381 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1); 384 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2);
|
H A D | w83793.c | 371 show_fan(struct device *dev, struct device_attribute *attr, char *buf) function 908 SENSOR_ATTR_2(fan##index##_input, S_IRUGO, show_fan, \ 911 show_fan, store_fan_min, FAN_MIN, index - 1)
|
H A D | adm1031.c | 486 static ssize_t show_fan(struct device *dev, char *buf, int nr) function 564 return show_fan(dev, buf, offset - 1); \
|
H A D | adm1026.c | 836 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, function 872 static SENSOR_DEVICE_ATTR(fan##offset##_input, S_IRUGO, show_fan, NULL, \
|
H A D | it87.c | 484 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, function 685 show_fan, NULL, offset - 1); \
|
H A D | lm85.c | 390 static ssize_t show_fan(struct device *dev, char *buf, int nr) function 417 return show_fan(dev, buf, offset - 1); \
|
H A D | w83627hf.c | 545 return show_fan(dev, buf, offset); \
|