Home
last modified time | relevance | path

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

/drivers/hwmon/
Dit87.c855 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function
888 static SENSOR_DEVICE_ATTR_2(in0_input, S_IRUGO, show_in, NULL, 0, 0);
889 static SENSOR_DEVICE_ATTR_2(in0_min, S_IRUGO | S_IWUSR, show_in, set_in,
891 static SENSOR_DEVICE_ATTR_2(in0_max, S_IRUGO | S_IWUSR, show_in, set_in,
894 static SENSOR_DEVICE_ATTR_2(in1_input, S_IRUGO, show_in, NULL, 1, 0);
895 static SENSOR_DEVICE_ATTR_2(in1_min, S_IRUGO | S_IWUSR, show_in, set_in,
897 static SENSOR_DEVICE_ATTR_2(in1_max, S_IRUGO | S_IWUSR, show_in, set_in,
900 static SENSOR_DEVICE_ATTR_2(in2_input, S_IRUGO, show_in, NULL, 2, 0);
901 static SENSOR_DEVICE_ATTR_2(in2_min, S_IRUGO | S_IWUSR, show_in, set_in,
903 static SENSOR_DEVICE_ATTR_2(in2_max, S_IRUGO | S_IWUSR, show_in, set_in,
[all …]
Dw83791d.c393 SENSOR_ATTR(in0_input, S_IRUGO, show_in, NULL, 0),
394 SENSOR_ATTR(in1_input, S_IRUGO, show_in, NULL, 1),
395 SENSOR_ATTR(in2_input, S_IRUGO, show_in, NULL, 2),
396 SENSOR_ATTR(in3_input, S_IRUGO, show_in, NULL, 3),
397 SENSOR_ATTR(in4_input, S_IRUGO, show_in, NULL, 4),
398 SENSOR_ATTR(in5_input, S_IRUGO, show_in, NULL, 5),
399 SENSOR_ATTR(in6_input, S_IRUGO, show_in, NULL, 6),
400 SENSOR_ATTR(in7_input, S_IRUGO, show_in, NULL, 7),
401 SENSOR_ATTR(in8_input, S_IRUGO, show_in, NULL, 8),
402 SENSOR_ATTR(in9_input, S_IRUGO, show_in, NULL, 9),
Dpcf8591.c79 static ssize_t show_in##channel##_input(struct device *dev, \
86 show_in##channel##_input, NULL);
Dw83792d.c343 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function
968 static SENSOR_DEVICE_ATTR(in0_input, S_IRUGO, show_in, NULL, 0);
969 static SENSOR_DEVICE_ATTR(in1_input, S_IRUGO, show_in, NULL, 1);
970 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, show_in, NULL, 2);
971 static SENSOR_DEVICE_ATTR(in3_input, S_IRUGO, show_in, NULL, 3);
972 static SENSOR_DEVICE_ATTR(in4_input, S_IRUGO, show_in, NULL, 4);
973 static SENSOR_DEVICE_ATTR(in5_input, S_IRUGO, show_in, NULL, 5);
974 static SENSOR_DEVICE_ATTR(in6_input, S_IRUGO, show_in, NULL, 6);
975 static SENSOR_DEVICE_ATTR(in7_input, S_IRUGO, show_in, NULL, 7);
976 static SENSOR_DEVICE_ATTR(in8_input, S_IRUGO, show_in, NULL, 8);
Df71805f.c491 static ssize_t show_in(struct device *dev, struct device_attribute *devattr, in show_in() function
989 static SENSOR_DEVICE_ATTR(in1_input, S_IRUGO, show_in, NULL, 1);
994 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, show_in, NULL, 2);
999 static SENSOR_DEVICE_ATTR(in3_input, S_IRUGO, show_in, NULL, 3);
1004 static SENSOR_DEVICE_ATTR(in4_input, S_IRUGO, show_in, NULL, 4);
1009 static SENSOR_DEVICE_ATTR(in5_input, S_IRUGO, show_in, NULL, 5);
1014 static SENSOR_DEVICE_ATTR(in6_input, S_IRUGO, show_in, NULL, 6);
1019 static SENSOR_DEVICE_ATTR(in7_input, S_IRUGO, show_in, NULL, 7);
1024 static SENSOR_DEVICE_ATTR(in8_input, S_IRUGO, show_in, NULL, 8);
Df75375s.c508 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function
658 static SENSOR_DEVICE_ATTR(in0_input, S_IRUGO, show_in, NULL, 0);
663 static SENSOR_DEVICE_ATTR(in1_input, S_IRUGO, show_in, NULL, 1);
668 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, show_in, NULL, 2);
673 static SENSOR_DEVICE_ATTR(in3_input, S_IRUGO, show_in, NULL, 3);
Df71882fg.c294 static ssize_t show_in(struct device *dev, struct device_attribute *devattr,
558 SENSOR_ATTR_2(in0_input, S_IRUGO, show_in, NULL, 0, 0),
559 SENSOR_ATTR_2(in1_input, S_IRUGO, show_in, NULL, 0, 1),
560 SENSOR_ATTR_2(in2_input, S_IRUGO, show_in, NULL, 0, 2),
561 SENSOR_ATTR_2(in3_input, S_IRUGO, show_in, NULL, 0, 3),
562 SENSOR_ATTR_2(in4_input, S_IRUGO, show_in, NULL, 0, 4),
563 SENSOR_ATTR_2(in5_input, S_IRUGO, show_in, NULL, 0, 5),
564 SENSOR_ATTR_2(in6_input, S_IRUGO, show_in, NULL, 0, 6),
565 SENSOR_ATTR_2(in7_input, S_IRUGO, show_in, NULL, 0, 7),
566 SENSOR_ATTR_2(in8_input, S_IRUGO, show_in, NULL, 0, 8),
[all …]
Dvt1211.c340 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function
913 show_in, NULL, SHOW_IN_INPUT, ix), \
915 show_in, set_in, SHOW_SET_IN_MIN, ix), \
917 show_in, set_in, SHOW_SET_IN_MAX, ix), \
919 show_in, NULL, SHOW_IN_ALARM, ix) \
Dw83l786ng.c260 SENSOR_ATTR(in0_input, S_IRUGO, show_in, NULL, 0),
261 SENSOR_ATTR(in1_input, S_IRUGO, show_in, NULL, 1),
262 SENSOR_ATTR(in2_input, S_IRUGO, show_in, NULL, 2),
Dw83627ehf.c980 SENSOR_ATTR(in0_input, S_IRUGO, show_in, NULL, 0),
981 SENSOR_ATTR(in1_input, S_IRUGO, show_in, NULL, 1),
982 SENSOR_ATTR(in2_input, S_IRUGO, show_in, NULL, 2),
983 SENSOR_ATTR(in3_input, S_IRUGO, show_in, NULL, 3),
984 SENSOR_ATTR(in4_input, S_IRUGO, show_in, NULL, 4),
985 SENSOR_ATTR(in5_input, S_IRUGO, show_in, NULL, 5),
986 SENSOR_ATTR(in6_input, S_IRUGO, show_in, NULL, 6),
987 SENSOR_ATTR(in7_input, S_IRUGO, show_in, NULL, 7),
988 SENSOR_ATTR(in8_input, S_IRUGO, show_in, NULL, 8),
989 SENSOR_ATTR(in9_input, S_IRUGO, show_in, NULL, 9),
Ddme1737.c799 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function
1513 show_in, NULL, SYS_IN_INPUT, ix); \
1515 show_in, set_in, SYS_IN_MIN, ix); \
1517 show_in, set_in, SYS_IN_MAX, ix); \
1519 show_in, NULL, SYS_IN_ALARM, ix)
Dw83793.c955 show_in(struct device *dev, struct device_attribute *attr, char *buf) in show_in() function
1017 SENSOR_ATTR_2(in##index##_input, S_IRUGO, show_in, NULL, \
1019 SENSOR_ATTR_2(in##index##_max, S_IRUGO | S_IWUSR, show_in, \
1021 SENSOR_ATTR_2(in##index##_min, S_IRUGO | S_IWUSR, show_in, \
Dw83795.c1475 show_in(struct device *dev, struct device_attribute *attr, char *buf) in show_in() function
1610 SENSOR_ATTR_2(in##index##_input, S_IRUGO, show_in, NULL, \
1612 SENSOR_ATTR_2(in##index##_max, S_IRUGO | S_IWUSR, show_in, \
1614 SENSOR_ATTR_2(in##index##_min, S_IRUGO | S_IWUSR, show_in, \
Dasb100.c272 show_in, NULL, offset); \
Dw83781d.c283 show_in, NULL, offset); \