Home
last modified time | relevance | path

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

12

/drivers/hwmon/
Dlm87.c238 #define show_in(offset) \ macro
239 static ssize_t show_in##offset##_input(struct device *dev, struct device_attribute *attr, char *buf…
245 static ssize_t show_in##offset##_min(struct device *dev, struct device_attribute *attr, char *buf) \
251 static ssize_t show_in##offset##_max(struct device *dev, struct device_attribute *attr, char *buf) \
258 show_in##offset##_input, NULL);
259 show_in(0);
260 show_in(1);
261 show_in(2);
262 show_in(3);
263 show_in(4);
[all …]
Dlm93.c1062 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function
1071 static SENSOR_DEVICE_ATTR(in1_input, S_IRUGO, show_in, NULL, 0);
1072 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, show_in, NULL, 1);
1073 static SENSOR_DEVICE_ATTR(in3_input, S_IRUGO, show_in, NULL, 2);
1074 static SENSOR_DEVICE_ATTR(in4_input, S_IRUGO, show_in, NULL, 3);
1075 static SENSOR_DEVICE_ATTR(in5_input, S_IRUGO, show_in, NULL, 4);
1076 static SENSOR_DEVICE_ATTR(in6_input, S_IRUGO, show_in, NULL, 5);
1077 static SENSOR_DEVICE_ATTR(in7_input, S_IRUGO, show_in, NULL, 6);
1078 static SENSOR_DEVICE_ATTR(in8_input, S_IRUGO, show_in, NULL, 7);
1079 static SENSOR_DEVICE_ATTR(in9_input, S_IRUGO, show_in, NULL, 8);
[all …]
Df71882fg.c156 static ssize_t show_in(struct device *dev, struct device_attribute *devattr,
257 SENSOR_ATTR_2(in0_input, S_IRUGO, show_in, NULL, 0, 0),
258 SENSOR_ATTR_2(in1_input, S_IRUGO, show_in, NULL, 0, 1),
259 SENSOR_ATTR_2(in2_input, S_IRUGO, show_in, NULL, 0, 2),
260 SENSOR_ATTR_2(in3_input, S_IRUGO, show_in, NULL, 0, 3),
261 SENSOR_ATTR_2(in4_input, S_IRUGO, show_in, NULL, 0, 4),
262 SENSOR_ATTR_2(in5_input, S_IRUGO, show_in, NULL, 0, 5),
263 SENSOR_ATTR_2(in6_input, S_IRUGO, show_in, NULL, 0, 6),
264 SENSOR_ATTR_2(in7_input, S_IRUGO, show_in, NULL, 0, 7),
265 SENSOR_ATTR_2(in8_input, S_IRUGO, show_in, NULL, 0, 8),
[all …]
Dw83791d.c400 SENSOR_ATTR(in0_input, S_IRUGO, show_in, NULL, 0),
401 SENSOR_ATTR(in1_input, S_IRUGO, show_in, NULL, 1),
402 SENSOR_ATTR(in2_input, S_IRUGO, show_in, NULL, 2),
403 SENSOR_ATTR(in3_input, S_IRUGO, show_in, NULL, 3),
404 SENSOR_ATTR(in4_input, S_IRUGO, show_in, NULL, 4),
405 SENSOR_ATTR(in5_input, S_IRUGO, show_in, NULL, 5),
406 SENSOR_ATTR(in6_input, S_IRUGO, show_in, NULL, 6),
407 SENSOR_ATTR(in7_input, S_IRUGO, show_in, NULL, 7),
408 SENSOR_ATTR(in8_input, S_IRUGO, show_in, NULL, 8),
409 SENSOR_ATTR(in9_input, S_IRUGO, show_in, NULL, 9),
Dads7828.c122 static ssize_t show_in(struct device *dev, struct device_attribute *da, in show_in() function
133 static SENSOR_DEVICE_ATTR(in##offset##_input, S_IRUGO, show_in,\
Dw83627ehf.c611 SENSOR_ATTR(in0_input, S_IRUGO, show_in, NULL, 0),
612 SENSOR_ATTR(in1_input, S_IRUGO, show_in, NULL, 1),
613 SENSOR_ATTR(in2_input, S_IRUGO, show_in, NULL, 2),
614 SENSOR_ATTR(in3_input, S_IRUGO, show_in, NULL, 3),
615 SENSOR_ATTR(in4_input, S_IRUGO, show_in, NULL, 4),
616 SENSOR_ATTR(in5_input, S_IRUGO, show_in, NULL, 5),
617 SENSOR_ATTR(in6_input, S_IRUGO, show_in, NULL, 6),
618 SENSOR_ATTR(in7_input, S_IRUGO, show_in, NULL, 7),
619 SENSOR_ATTR(in8_input, S_IRUGO, show_in, NULL, 8),
620 SENSOR_ATTR(in9_input, S_IRUGO, show_in, NULL, 9),
Dw83792d.c355 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function
934 static SENSOR_DEVICE_ATTR(in0_input, S_IRUGO, show_in, NULL, 0);
935 static SENSOR_DEVICE_ATTR(in1_input, S_IRUGO, show_in, NULL, 1);
936 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, show_in, NULL, 2);
937 static SENSOR_DEVICE_ATTR(in3_input, S_IRUGO, show_in, NULL, 3);
938 static SENSOR_DEVICE_ATTR(in4_input, S_IRUGO, show_in, NULL, 4);
939 static SENSOR_DEVICE_ATTR(in5_input, S_IRUGO, show_in, NULL, 5);
940 static SENSOR_DEVICE_ATTR(in6_input, S_IRUGO, show_in, NULL, 6);
941 static SENSOR_DEVICE_ATTR(in7_input, S_IRUGO, show_in, NULL, 7);
942 static SENSOR_DEVICE_ATTR(in8_input, S_IRUGO, show_in, NULL, 8);
Df75375s.c383 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function
508 static SENSOR_DEVICE_ATTR(in0_input, S_IRUGO, show_in, NULL, 0);
513 static SENSOR_DEVICE_ATTR(in1_input, S_IRUGO, show_in, NULL, 1);
518 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, show_in, NULL, 2);
523 static SENSOR_DEVICE_ATTR(in3_input, S_IRUGO, show_in, NULL, 3);
Dlm80.c170 #define show_in(suffix, value) \ macro
177 show_in(min, in_min) in show_in() function
178 show_in(max, in_max) in show_in()
179 show_in(input, in) in show_in()
Df71805f.c482 static ssize_t show_in(struct device *dev, struct device_attribute *devattr, in show_in() function
925 static SENSOR_DEVICE_ATTR(in1_input, S_IRUGO, show_in, NULL, 1);
930 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, show_in, NULL, 2);
935 static SENSOR_DEVICE_ATTR(in3_input, S_IRUGO, show_in, NULL, 3);
940 static SENSOR_DEVICE_ATTR(in4_input, S_IRUGO, show_in, NULL, 4);
945 static SENSOR_DEVICE_ATTR(in5_input, S_IRUGO, show_in, NULL, 5);
950 static SENSOR_DEVICE_ATTR(in6_input, S_IRUGO, show_in, NULL, 6);
955 static SENSOR_DEVICE_ATTR(in7_input, S_IRUGO, show_in, NULL, 7);
960 static SENSOR_DEVICE_ATTR(in8_input, S_IRUGO, show_in, NULL, 8);
Dvt1211.c339 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function
869 show_in, NULL, SHOW_IN_INPUT, ix)
882 show_in, set_in, SHOW_SET_IN_MIN, ix)
895 show_in, set_in, SHOW_SET_IN_MAX, ix)
908 show_in, NULL, SHOW_IN_ALARM, ix)
Dw83l786ng.c222 SENSOR_ATTR(in0_input, S_IRUGO, show_in, NULL, 0),
223 SENSOR_ATTR(in1_input, S_IRUGO, show_in, NULL, 1),
224 SENSOR_ATTR(in2_input, S_IRUGO, show_in, NULL, 2),
Dadm1025.c169 show_in(struct device *dev, struct device_attribute *attr, char *buf) in show_in() function
253 show_in, NULL, offset); \
Dadm9240.c225 static ssize_t show_in(struct device *dev, struct device_attribute *devattr, in show_in() function
288 show_in, NULL, nr); \
Dsmsc47m192.c142 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function
205 show_in, NULL, offset); \
Ddme1737.c740 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function
1413 show_in, NULL, SYS_IN_INPUT, ix); \
1415 show_in, set_in, SYS_IN_MIN, ix); \
1417 show_in, set_in, SYS_IN_MAX, ix); \
1419 show_in, NULL, SYS_IN_ALARM, ix)
Dw83793.c839 show_in(struct device *dev, struct device_attribute *attr, char *buf) in show_in() function
899 SENSOR_ATTR_2(in##index##_input, S_IRUGO, show_in, NULL, \
901 SENSOR_ATTR_2(in##index##_max, S_IRUGO | S_IWUSR, show_in, \
903 SENSOR_ATTR_2(in##index##_min, S_IRUGO | S_IWUSR, show_in, \
Dvia686a.c337 static ssize_t show_in(struct device *dev, struct device_attribute *da, in show_in() function
391 show_in, NULL, offset); \
Dsis5595.c208 static ssize_t show_in(struct device *dev, struct device_attribute *da, in show_in() function
267 show_in, NULL, offset); \
Dlm78.c190 static ssize_t show_in(struct device *dev, struct device_attribute *da, in show_in() function
246 show_in, NULL, offset); \
Dvt8231.c187 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function
305 show_in, NULL, offset); \
Dit87.c314 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function
379 show_in, NULL, offset);
Dlm85.c602 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function
659 show_in, NULL, offset); \
Dadm1026.c704 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function
760 static SENSOR_DEVICE_ATTR(in##offset##_input, S_IRUGO, show_in, \
/drivers/i2c/chips/
Dpcf8591.c86 static ssize_t show_in##channel##_input(struct device *dev, struct device_attribute *attr, char *bu…
91 show_in##channel##_input, NULL);

12