Home
last modified time | relevance | path

Searched refs:show_in (Results 1 – 25 of 30) sorted by relevance

12

/drivers/hwmon/
Demc6w201.c193 static ssize_t show_in(struct device *dev, struct device_attribute *devattr, in show_in() function
314 static SENSOR_DEVICE_ATTR_2(in0_input, S_IRUGO, show_in, NULL, 0, input);
315 static SENSOR_DEVICE_ATTR_2(in0_min, S_IRUGO | S_IWUSR, show_in, set_in,
317 static SENSOR_DEVICE_ATTR_2(in0_max, S_IRUGO | S_IWUSR, show_in, set_in,
319 static SENSOR_DEVICE_ATTR_2(in1_input, S_IRUGO, show_in, NULL, 1, input);
320 static SENSOR_DEVICE_ATTR_2(in1_min, S_IRUGO | S_IWUSR, show_in, set_in,
322 static SENSOR_DEVICE_ATTR_2(in1_max, S_IRUGO | S_IWUSR, show_in, set_in,
324 static SENSOR_DEVICE_ATTR_2(in2_input, S_IRUGO, show_in, NULL, 2, input);
325 static SENSOR_DEVICE_ATTR_2(in2_min, S_IRUGO | S_IWUSR, show_in, set_in,
327 static SENSOR_DEVICE_ATTR_2(in2_max, S_IRUGO | S_IWUSR, show_in, set_in,
[all …]
Dads1015.c121 static ssize_t show_in(struct device *dev, struct device_attribute *da, in show_in() function
137 SENSOR_ATTR(in0_input, S_IRUGO, show_in, NULL, 0),
138 SENSOR_ATTR(in1_input, S_IRUGO, show_in, NULL, 1),
139 SENSOR_ATTR(in2_input, S_IRUGO, show_in, NULL, 2),
140 SENSOR_ATTR(in3_input, S_IRUGO, show_in, NULL, 3),
141 SENSOR_ATTR(in4_input, S_IRUGO, show_in, NULL, 4),
142 SENSOR_ATTR(in5_input, S_IRUGO, show_in, NULL, 5),
143 SENSOR_ATTR(in6_input, S_IRUGO, show_in, NULL, 6),
144 SENSOR_ATTR(in7_input, S_IRUGO, show_in, NULL, 7),
Dsch5627.c304 static ssize_t show_in(struct device *dev, struct device_attribute in show_in() function
376 static SENSOR_DEVICE_ATTR(in0_input, S_IRUGO, show_in, NULL, 0);
377 static SENSOR_DEVICE_ATTR(in1_input, S_IRUGO, show_in, NULL, 1);
378 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, show_in, NULL, 2);
379 static SENSOR_DEVICE_ATTR(in3_input, S_IRUGO, show_in, NULL, 3);
380 static SENSOR_DEVICE_ATTR(in4_input, S_IRUGO, show_in, NULL, 4);
Dads7828.c113 static ssize_t show_in(struct device *dev, struct device_attribute *da, in show_in() function
124 static SENSOR_DEVICE_ATTR(in##offset##_input, S_IRUGO, show_in,\
Dw83791d.c409 SENSOR_ATTR(in0_input, S_IRUGO, show_in, NULL, 0),
410 SENSOR_ATTR(in1_input, S_IRUGO, show_in, NULL, 1),
411 SENSOR_ATTR(in2_input, S_IRUGO, show_in, NULL, 2),
412 SENSOR_ATTR(in3_input, S_IRUGO, show_in, NULL, 3),
413 SENSOR_ATTR(in4_input, S_IRUGO, show_in, NULL, 4),
414 SENSOR_ATTR(in5_input, S_IRUGO, show_in, NULL, 5),
415 SENSOR_ATTR(in6_input, S_IRUGO, show_in, NULL, 6),
416 SENSOR_ATTR(in7_input, S_IRUGO, show_in, NULL, 7),
417 SENSOR_ATTR(in8_input, S_IRUGO, show_in, NULL, 8),
418 SENSOR_ATTR(in9_input, S_IRUGO, show_in, NULL, 9),
Dlm93.c1109 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function
1118 static SENSOR_DEVICE_ATTR(in1_input, S_IRUGO, show_in, NULL, 0);
1119 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, show_in, NULL, 1);
1120 static SENSOR_DEVICE_ATTR(in3_input, S_IRUGO, show_in, NULL, 2);
1121 static SENSOR_DEVICE_ATTR(in4_input, S_IRUGO, show_in, NULL, 3);
1122 static SENSOR_DEVICE_ATTR(in5_input, S_IRUGO, show_in, NULL, 4);
1123 static SENSOR_DEVICE_ATTR(in6_input, S_IRUGO, show_in, NULL, 5);
1124 static SENSOR_DEVICE_ATTR(in7_input, S_IRUGO, show_in, NULL, 6);
1125 static SENSOR_DEVICE_ATTR(in8_input, S_IRUGO, show_in, NULL, 7);
1126 static SENSOR_DEVICE_ATTR(in9_input, S_IRUGO, show_in, NULL, 8);
[all …]
Dpcf8591.c92 static ssize_t show_in##channel##_input(struct device *dev, \
99 show_in##channel##_input, NULL);
Dw83792d.c360 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function
1039 static SENSOR_DEVICE_ATTR(in0_input, S_IRUGO, show_in, NULL, 0);
1040 static SENSOR_DEVICE_ATTR(in1_input, S_IRUGO, show_in, NULL, 1);
1041 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, show_in, NULL, 2);
1042 static SENSOR_DEVICE_ATTR(in3_input, S_IRUGO, show_in, NULL, 3);
1043 static SENSOR_DEVICE_ATTR(in4_input, S_IRUGO, show_in, NULL, 4);
1044 static SENSOR_DEVICE_ATTR(in5_input, S_IRUGO, show_in, NULL, 5);
1045 static SENSOR_DEVICE_ATTR(in6_input, S_IRUGO, show_in, NULL, 6);
1046 static SENSOR_DEVICE_ATTR(in7_input, S_IRUGO, show_in, NULL, 7);
1047 static SENSOR_DEVICE_ATTR(in8_input, S_IRUGO, show_in, NULL, 8);
Df71805f.c498 static ssize_t show_in(struct device *dev, struct device_attribute *devattr, in show_in() function
996 static SENSOR_DEVICE_ATTR(in1_input, S_IRUGO, show_in, NULL, 1);
1001 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, show_in, NULL, 2);
1006 static SENSOR_DEVICE_ATTR(in3_input, S_IRUGO, show_in, NULL, 3);
1011 static SENSOR_DEVICE_ATTR(in4_input, S_IRUGO, show_in, NULL, 4);
1016 static SENSOR_DEVICE_ATTR(in5_input, S_IRUGO, show_in, NULL, 5);
1021 static SENSOR_DEVICE_ATTR(in6_input, S_IRUGO, show_in, NULL, 6);
1026 static SENSOR_DEVICE_ATTR(in7_input, S_IRUGO, show_in, NULL, 7);
1031 static SENSOR_DEVICE_ATTR(in8_input, S_IRUGO, show_in, NULL, 8);
Df75375s.c522 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function
672 static SENSOR_DEVICE_ATTR(in0_input, S_IRUGO, show_in, NULL, 0);
677 static SENSOR_DEVICE_ATTR(in1_input, S_IRUGO, show_in, NULL, 1);
682 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, show_in, NULL, 2);
687 static SENSOR_DEVICE_ATTR(in3_input, S_IRUGO, show_in, NULL, 3);
Dlm80.c175 #define show_in(suffix, value) \ macro
185 show_in(min, in_min) in show_in() function
186 show_in(max, in_max) in show_in()
187 show_in(input, in) in show_in()
Df71882fg.c278 static ssize_t show_in(struct device *dev, struct device_attribute *devattr,
526 SENSOR_ATTR_2(in0_input, S_IRUGO, show_in, NULL, 0, 0),
527 SENSOR_ATTR_2(in1_input, S_IRUGO, show_in, NULL, 0, 1),
528 SENSOR_ATTR_2(in2_input, S_IRUGO, show_in, NULL, 0, 2),
529 SENSOR_ATTR_2(in3_input, S_IRUGO, show_in, NULL, 0, 3),
530 SENSOR_ATTR_2(in4_input, S_IRUGO, show_in, NULL, 0, 4),
531 SENSOR_ATTR_2(in5_input, S_IRUGO, show_in, NULL, 0, 5),
532 SENSOR_ATTR_2(in6_input, S_IRUGO, show_in, NULL, 0, 6),
533 SENSOR_ATTR_2(in7_input, S_IRUGO, show_in, NULL, 0, 7),
534 SENSOR_ATTR_2(in8_input, S_IRUGO, show_in, NULL, 0, 8),
[all …]
Dvt1211.c347 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function
914 show_in, NULL, SHOW_IN_INPUT, ix), \
916 show_in, set_in, SHOW_SET_IN_MIN, ix), \
918 show_in, set_in, SHOW_SET_IN_MAX, ix), \
920 show_in, NULL, SHOW_IN_ALARM, ix) \
Dw83627ehf.c978 SENSOR_ATTR(in0_input, S_IRUGO, show_in, NULL, 0),
979 SENSOR_ATTR(in1_input, S_IRUGO, show_in, NULL, 1),
980 SENSOR_ATTR(in2_input, S_IRUGO, show_in, NULL, 2),
981 SENSOR_ATTR(in3_input, S_IRUGO, show_in, NULL, 3),
982 SENSOR_ATTR(in4_input, S_IRUGO, show_in, NULL, 4),
983 SENSOR_ATTR(in5_input, S_IRUGO, show_in, NULL, 5),
984 SENSOR_ATTR(in6_input, S_IRUGO, show_in, NULL, 6),
985 SENSOR_ATTR(in7_input, S_IRUGO, show_in, NULL, 7),
986 SENSOR_ATTR(in8_input, S_IRUGO, show_in, NULL, 8),
987 SENSOR_ATTR(in9_input, S_IRUGO, show_in, NULL, 9),
Dw83l786ng.c228 SENSOR_ATTR(in0_input, S_IRUGO, show_in, NULL, 0),
229 SENSOR_ATTR(in1_input, S_IRUGO, show_in, NULL, 1),
230 SENSOR_ATTR(in2_input, S_IRUGO, show_in, NULL, 2),
Dadm1025.c166 show_in(struct device *dev, struct device_attribute *attr, char *buf) in show_in() function
260 show_in, NULL, offset); \
Dsmsc47m192.c141 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function
214 show_in, NULL, offset); \
Dvia686a.c361 static ssize_t show_in(struct device *dev, struct device_attribute *da, in show_in() function
425 show_in, NULL, offset); \
Dsis5595.c224 static ssize_t show_in(struct device *dev, struct device_attribute *da, in show_in() function
293 show_in, NULL, offset); \
Dadm9240.c229 static ssize_t show_in(struct device *dev, struct device_attribute *devattr, in show_in() function
302 show_in, NULL, nr); \
Ddme1737.c808 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function
1518 show_in, NULL, SYS_IN_INPUT, ix); \
1520 show_in, set_in, SYS_IN_MIN, ix); \
1522 show_in, set_in, SYS_IN_MAX, ix); \
1524 show_in, NULL, SYS_IN_ALARM, ix)
Dw83793.c985 show_in(struct device *dev, struct device_attribute *attr, char *buf) in show_in() function
1047 SENSOR_ATTR_2(in##index##_input, S_IRUGO, show_in, NULL, \
1049 SENSOR_ATTR_2(in##index##_max, S_IRUGO | S_IWUSR, show_in, \
1051 SENSOR_ATTR_2(in##index##_min, S_IRUGO | S_IWUSR, show_in, \
Dw83795.c1490 show_in(struct device *dev, struct device_attribute *attr, char *buf) in show_in() function
1625 SENSOR_ATTR_2(in##index##_input, S_IRUGO, show_in, NULL, \
1627 SENSOR_ATTR_2(in##index##_max, S_IRUGO | S_IWUSR, show_in, \
1629 SENSOR_ATTR_2(in##index##_min, S_IRUGO | S_IWUSR, show_in, \
Dlm78.c157 static ssize_t show_in(struct device *dev, struct device_attribute *da, in show_in() function
223 show_in, NULL, offset); \
Dvt8231.c195 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function
333 show_in, NULL, offset); \

12