Home
last modified time | relevance | path

Searched refs:show_fan (Results 1 – 25 of 33) sorted by relevance

12

/drivers/hwmon/
Demc6w201.c267 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() function
375 static SENSOR_DEVICE_ATTR_2(fan1_input, S_IRUGO, show_fan, NULL, 0, input);
376 static SENSOR_DEVICE_ATTR_2(fan1_min, S_IRUGO | S_IWUSR, show_fan, set_fan,
378 static SENSOR_DEVICE_ATTR_2(fan2_input, S_IRUGO, show_fan, NULL, 1, input);
379 static SENSOR_DEVICE_ATTR_2(fan2_min, S_IRUGO | S_IWUSR, show_fan, set_fan,
381 static SENSOR_DEVICE_ATTR_2(fan3_input, S_IRUGO, show_fan, NULL, 2, input);
382 static SENSOR_DEVICE_ATTR_2(fan3_min, S_IRUGO | S_IWUSR, show_fan, set_fan,
384 static SENSOR_DEVICE_ATTR_2(fan4_input, S_IRUGO, show_fan, NULL, 3, input);
385 static SENSOR_DEVICE_ATTR_2(fan4_min, S_IRUGO | S_IWUSR, show_fan, set_fan,
387 static SENSOR_DEVICE_ATTR_2(fan5_input, S_IRUGO, show_fan, NULL, 4, input);
[all …]
Dsmsc47b397.c193 static ssize_t show_fan(struct device *dev, struct device_attribute in show_fan() 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);
Dadm1029.c171 show_fan(struct device *dev, struct device_attribute *devattr, char *buf) in show_fan() function
259 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0);
260 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1);
262 static SENSOR_DEVICE_ATTR(fan1_min, S_IRUGO, show_fan, NULL, 2);
263 static SENSOR_DEVICE_ATTR(fan2_min, S_IRUGO, show_fan, NULL, 3);
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);
Dsch5627.c262 static ssize_t show_fan(struct device *dev, struct device_attribute in show_fan() 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);
Dg760a.c131 static ssize_t show_fan(struct device *dev, struct device_attribute *da, in show_fan() function
182 static DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL);
Dit87.c745 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() function
1156 static SENSOR_DEVICE_ATTR_2(fan1_input, S_IRUGO, show_fan, NULL, 0, 0);
1157 static SENSOR_DEVICE_ATTR_2(fan1_min, S_IRUGO | S_IWUSR, show_fan, set_fan,
1162 static SENSOR_DEVICE_ATTR_2(fan2_input, S_IRUGO, show_fan, NULL, 1, 0);
1163 static SENSOR_DEVICE_ATTR_2(fan2_min, S_IRUGO | S_IWUSR, show_fan, set_fan,
1168 static SENSOR_DEVICE_ATTR_2(fan3_input, S_IRUGO, show_fan, NULL, 2, 0);
1169 static SENSOR_DEVICE_ATTR_2(fan3_min, S_IRUGO | S_IWUSR, show_fan, set_fan,
1174 static SENSOR_DEVICE_ATTR_2(fan4_input, S_IRUGO, show_fan, NULL, 3, 0);
1175 static SENSOR_DEVICE_ATTR_2(fan4_min, S_IRUGO | S_IWUSR, show_fan, set_fan,
1178 static SENSOR_DEVICE_ATTR_2(fan5_input, S_IRUGO, show_fan, NULL, 4, 0);
[all …]
Dadt7462.c1085 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() function
1623 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0);
1624 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1);
1625 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2);
1626 static SENSOR_DEVICE_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3);
1627 static SENSOR_DEVICE_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 4);
1628 static SENSOR_DEVICE_ATTR(fan6_input, S_IRUGO, show_fan, NULL, 5);
1629 static SENSOR_DEVICE_ATTR(fan7_input, S_IRUGO, show_fan, NULL, 6);
1630 static SENSOR_DEVICE_ATTR(fan8_input, S_IRUGO, show_fan, NULL, 7);
Dvt1211.c497 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() function
1012 show_fan, NULL, SHOW_FAN_INPUT, ix-1), \
1014 show_fan, set_fan, SHOW_SET_FAN_MIN, ix-1), \
1016 show_fan, set_fan, SHOW_SET_FAN_DIV, ix-1), \
1018 show_fan, NULL, SHOW_FAN_ALARM, ix-1)
Dw83792d.c1144 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 1);
1145 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 2);
1146 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 3);
1147 static SENSOR_DEVICE_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 4);
1148 static SENSOR_DEVICE_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 5);
1149 static SENSOR_DEVICE_ATTR(fan6_input, S_IRUGO, show_fan, NULL, 6);
1150 static SENSOR_DEVICE_ATTR(fan7_input, S_IRUGO, show_fan, NULL, 7);
Ddme1737.c1089 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() function
1578 show_fan, NULL, SYS_FAN_INPUT, ix-1); \
1580 show_fan, set_fan, SYS_FAN_MIN, ix-1); \
1582 show_fan, NULL, SYS_FAN_ALARM, ix-1); \
1584 show_fan, set_fan, SYS_FAN_TYPE, ix-1)
1595 show_fan, NULL, SYS_FAN_INPUT, ix-1); \
1597 show_fan, set_fan, SYS_FAN_MIN, ix-1); \
1599 show_fan, NULL, SYS_FAN_ALARM, ix-1); \
1601 show_fan, set_fan, SYS_FAN_MAX, ix-1)
Dlm80.c210 #define show_fan(suffix, value) \ macro
221 show_fan(min, fan_min)
222 show_fan(input, fan)
Dadt7470.c654 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() 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);
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, in show_fan() function
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),
Demc2103.c290 show_fan(struct device *dev, struct device_attribute *da, char *buf) in show_fan() function
519 static DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL);
Dlm63.c351 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() 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,
Dw83l786ng.c352 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0),
353 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1),
Dadm9240.c317 static ssize_t show_fan(struct device *dev, in show_fan() function
432 show_fan, NULL, nr - 1); \
Df71805f.c570 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() 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);
Dsis5595.c370 static ssize_t show_fan(struct device *dev, struct device_attribute *da, in show_fan() function
484 show_fan, NULL, offset - 1); \
Dvia686a.c507 static ssize_t show_fan(struct device *dev, struct device_attribute *da, in show_fan() function
573 show_fan, NULL, offset - 1); \
Dw83627ehf.c1039 show_fan(struct device *dev, struct device_attribute *attr, char *buf) in show_fan() function
1162 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0),
1163 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1),
1164 SENSOR_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2),
1165 SENSOR_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3),
1166 SENSOR_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 4),
Dasb100.c300 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() function
404 show_fan, NULL, offset - 1); \
Dlm78.c302 static ssize_t show_fan(struct device *dev, struct device_attribute *da, in show_fan() function
417 show_fan, NULL, offset - 1); \

12