/drivers/hwmon/ |
D | lm87.c | 238 #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 …]
|
D | lm93.c | 1062 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 …]
|
D | f71882fg.c | 156 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 …]
|
D | w83791d.c | 400 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),
|
D | ads7828.c | 122 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,\
|
D | w83627ehf.c | 611 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),
|
D | w83792d.c | 355 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);
|
D | f75375s.c | 383 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);
|
D | lm80.c | 170 #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()
|
D | f71805f.c | 482 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);
|
D | vt1211.c | 339 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)
|
D | w83l786ng.c | 222 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),
|
D | adm1025.c | 169 show_in(struct device *dev, struct device_attribute *attr, char *buf) in show_in() function 253 show_in, NULL, offset); \
|
D | adm9240.c | 225 static ssize_t show_in(struct device *dev, struct device_attribute *devattr, in show_in() function 288 show_in, NULL, nr); \
|
D | smsc47m192.c | 142 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function 205 show_in, NULL, offset); \
|
D | dme1737.c | 740 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)
|
D | w83793.c | 839 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, \
|
D | via686a.c | 337 static ssize_t show_in(struct device *dev, struct device_attribute *da, in show_in() function 391 show_in, NULL, offset); \
|
D | sis5595.c | 208 static ssize_t show_in(struct device *dev, struct device_attribute *da, in show_in() function 267 show_in, NULL, offset); \
|
D | lm78.c | 190 static ssize_t show_in(struct device *dev, struct device_attribute *da, in show_in() function 246 show_in, NULL, offset); \
|
D | vt8231.c | 187 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function 305 show_in, NULL, offset); \
|
D | it87.c | 314 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function 379 show_in, NULL, offset);
|
D | lm85.c | 602 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function 659 show_in, NULL, offset); \
|
D | adm1026.c | 704 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/ |
D | pcf8591.c | 86 static ssize_t show_in##channel##_input(struct device *dev, struct device_attribute *attr, char *bu… 91 show_in##channel##_input, NULL);
|