Searched refs:show_fan (Results 1 - 24 of 24) sorted by last modified time

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/hwmon/
H A Dadm1026.c836 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 Dadm1029.c168 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 Dadm1031.c486 static ssize_t show_fan(struct device *dev, char *buf, int nr) function
564 return show_fan(dev, buf, offset - 1); \
H A Dadm9240.c291 static ssize_t show_fan(struct device *dev, function
400 show_fan, NULL, nr - 1); \
H A Dasb100.c302 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 Df71805f.c511 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 Dgl518sm.c139 #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 Dit87.c484 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, function
685 show_fan, NULL, offset - 1); \
H A Dlm63.c182 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 Dlm78.c314 static ssize_t show_fan(struct device *dev, struct device_attribute *da, function
408 show_fan, NULL, offset - 1); \
H A Dlm80.c216 #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 Dlm85.c390 static ssize_t show_fan(struct device *dev, char *buf, int nr) function
417 return show_fan(dev, buf, offset - 1); \
H A Dlm87.c386 #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 Dsis5595.c347 static ssize_t show_fan(struct device *dev, char *buf, int nr) function
430 return show_fan(dev, buf, offset - 1); \
H A Dsmsc47b397.c180 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 Dvia686a.c492 static ssize_t show_fan(struct device *dev, char *buf, int nr) { function
537 return show_fan(dev, buf, offset - 1); \
H A Dvt1211.c474 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 Dvt8231.c455 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, function
538 show_fan, NULL, offset - 1); \
H A Dw83627ehf.c738 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 Dw83627hf.c545 return show_fan(dev, buf, offset); \
H A Dw83781d.c378 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 Dw83791d.c506 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 Dw83792d.c1090 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 Dw83793.c371 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)

Completed in 211 milliseconds