Home
last modified time | relevance | path

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

/linux-5.19.10/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 …]
Dpcf8591.c79 static ssize_t show_in##channel##_input(struct device *dev, \
86 show_in##channel##_input, NULL);
Dw83791d.c389 SENSOR_ATTR(in0_input, S_IRUGO, show_in, NULL, 0),
390 SENSOR_ATTR(in1_input, S_IRUGO, show_in, NULL, 1),
391 SENSOR_ATTR(in2_input, S_IRUGO, show_in, NULL, 2),
392 SENSOR_ATTR(in3_input, S_IRUGO, show_in, NULL, 3),
393 SENSOR_ATTR(in4_input, S_IRUGO, show_in, NULL, 4),
394 SENSOR_ATTR(in5_input, S_IRUGO, show_in, NULL, 5),
395 SENSOR_ATTR(in6_input, S_IRUGO, show_in, NULL, 6),
396 SENSOR_ATTR(in7_input, S_IRUGO, show_in, NULL, 7),
397 SENSOR_ATTR(in8_input, S_IRUGO, show_in, NULL, 8),
398 SENSOR_ATTR(in9_input, S_IRUGO, show_in, NULL, 9),
Dw83792d.c339 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function
961 static SENSOR_DEVICE_ATTR(in0_input, S_IRUGO, show_in, NULL, 0);
962 static SENSOR_DEVICE_ATTR(in1_input, S_IRUGO, show_in, NULL, 1);
963 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, show_in, NULL, 2);
964 static SENSOR_DEVICE_ATTR(in3_input, S_IRUGO, show_in, NULL, 3);
965 static SENSOR_DEVICE_ATTR(in4_input, S_IRUGO, show_in, NULL, 4);
966 static SENSOR_DEVICE_ATTR(in5_input, S_IRUGO, show_in, NULL, 5);
967 static SENSOR_DEVICE_ATTR(in6_input, S_IRUGO, show_in, NULL, 6);
968 static SENSOR_DEVICE_ATTR(in7_input, S_IRUGO, show_in, NULL, 7);
969 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.c507 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() function
657 static SENSOR_DEVICE_ATTR(in0_input, S_IRUGO, show_in, NULL, 0);
662 static SENSOR_DEVICE_ATTR(in1_input, S_IRUGO, show_in, NULL, 1);
667 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, show_in, NULL, 2);
672 static SENSOR_DEVICE_ATTR(in3_input, S_IRUGO, show_in, NULL, 3);
Df71882fg.c295 static ssize_t show_in(struct device *dev, struct device_attribute *devattr,
559 SENSOR_ATTR_2(in0_input, S_IRUGO, show_in, NULL, 0, 0),
560 SENSOR_ATTR_2(in1_input, S_IRUGO, show_in, NULL, 0, 1),
561 SENSOR_ATTR_2(in2_input, S_IRUGO, show_in, NULL, 0, 2),
562 SENSOR_ATTR_2(in3_input, S_IRUGO, show_in, NULL, 0, 3),
563 SENSOR_ATTR_2(in4_input, S_IRUGO, show_in, NULL, 0, 4),
564 SENSOR_ATTR_2(in5_input, S_IRUGO, show_in, NULL, 0, 5),
565 SENSOR_ATTR_2(in6_input, S_IRUGO, show_in, NULL, 0, 6),
566 SENSOR_ATTR_2(in7_input, S_IRUGO, show_in, NULL, 0, 7),
567 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),
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.c953 show_in(struct device *dev, struct device_attribute *attr, char *buf) in show_in() function
1015 SENSOR_ATTR_2(in##index##_input, S_IRUGO, show_in, NULL, \
1017 SENSOR_ATTR_2(in##index##_max, S_IRUGO | S_IWUSR, show_in, \
1019 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.c271 show_in, NULL, offset); \
Dw83781d.c283 show_in, NULL, offset); \