/drivers/hwmon/ |
D | emc6w201.c | 193 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 …]
|
D | ads1015.c | 121 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),
|
D | sch5627.c | 304 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);
|
D | ads7828.c | 113 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,\
|
D | w83791d.c | 409 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),
|
D | lm93.c | 1109 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 …]
|
D | pcf8591.c | 92 static ssize_t show_in##channel##_input(struct device *dev, \ 99 show_in##channel##_input, NULL);
|
D | w83792d.c | 360 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);
|
D | f71805f.c | 498 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);
|
D | f75375s.c | 522 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);
|
D | lm80.c | 175 #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()
|
D | f71882fg.c | 278 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 …]
|
D | vt1211.c | 347 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) \
|
D | w83627ehf.c | 978 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),
|
D | w83l786ng.c | 228 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),
|
D | adm1025.c | 166 show_in(struct device *dev, struct device_attribute *attr, char *buf) in show_in() function 260 show_in, NULL, offset); \
|
D | smsc47m192.c | 141 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function 214 show_in, NULL, offset); \
|
D | via686a.c | 361 static ssize_t show_in(struct device *dev, struct device_attribute *da, in show_in() function 425 show_in, NULL, offset); \
|
D | sis5595.c | 224 static ssize_t show_in(struct device *dev, struct device_attribute *da, in show_in() function 293 show_in, NULL, offset); \
|
D | adm9240.c | 229 static ssize_t show_in(struct device *dev, struct device_attribute *devattr, in show_in() function 302 show_in, NULL, nr); \
|
D | dme1737.c | 808 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)
|
D | w83793.c | 985 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, \
|
D | w83795.c | 1490 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, \
|
D | lm78.c | 157 static ssize_t show_in(struct device *dev, struct device_attribute *da, in show_in() function 223 show_in, NULL, offset); \
|
D | vt8231.c | 195 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function 333 show_in, NULL, offset); \
|