Home
last modified time | relevance | path

Searched refs:show_fan (Results 1 - 25 of 32) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/hwmon/
H A Df75375s.c643 #define show_fan(thing) \ macro
652 show_fan(fan);
653 show_fan(fan_min);
654 show_fan(fan_max);
655 show_fan(fan_target);
687 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0);
693 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1);
H A Dvt1211.c490 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() function
1008 show_fan, NULL, SHOW_FAN_INPUT, ix-1), \
1010 show_fan, set_fan, SHOW_SET_FAN_MIN, ix-1), \
1012 show_fan, set_fan, SHOW_SET_FAN_DIV, ix-1), \
1014 show_fan, NULL, SHOW_FAN_ALARM, ix-1)
H A Dit87.c1111 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() function
1626 static SENSOR_DEVICE_ATTR_2(fan1_input, S_IRUGO, show_fan, NULL, 0, 0);
1627 static SENSOR_DEVICE_ATTR_2(fan1_min, S_IRUGO | S_IWUSR, show_fan, set_fan,
1632 static SENSOR_DEVICE_ATTR_2(fan2_input, S_IRUGO, show_fan, NULL, 1, 0);
1633 static SENSOR_DEVICE_ATTR_2(fan2_min, S_IRUGO | S_IWUSR, show_fan, set_fan,
1638 static SENSOR_DEVICE_ATTR_2(fan3_input, S_IRUGO, show_fan, NULL, 2, 0);
1639 static SENSOR_DEVICE_ATTR_2(fan3_min, S_IRUGO | S_IWUSR, show_fan, set_fan,
1644 static SENSOR_DEVICE_ATTR_2(fan4_input, S_IRUGO, show_fan, NULL, 3, 0);
1645 static SENSOR_DEVICE_ATTR_2(fan4_min, S_IRUGO | S_IWUSR, show_fan, set_fan,
1648 static SENSOR_DEVICE_ATTR_2(fan5_input, S_IRUGO, show_fan, NUL
[all...]
H A Dw83792d.c1123 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 1);
1124 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 2);
1125 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 3);
1126 static SENSOR_DEVICE_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 4);
1127 static SENSOR_DEVICE_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 5);
1128 static SENSOR_DEVICE_ATTR(fan6_input, S_IRUGO, show_fan, NULL, 6);
1129 static SENSOR_DEVICE_ATTR(fan7_input, S_IRUGO, show_fan, NULL, 7);
H A Ddme1737.c1080 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() function
1572 show_fan, NULL, SYS_FAN_INPUT, ix-1); \
1574 show_fan, set_fan, SYS_FAN_MIN, ix-1); \
1576 show_fan, NULL, SYS_FAN_ALARM, ix-1); \
1578 show_fan, set_fan, SYS_FAN_TYPE, ix-1)
1589 show_fan, NULL, SYS_FAN_INPUT, ix-1); \
1591 show_fan, set_fan, SYS_FAN_MIN, ix-1); \
1593 show_fan, NULL, SYS_FAN_ALARM, ix-1); \
1595 show_fan, set_fan, SYS_FAN_MAX, ix-1)
H A Df71882fg.c307 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr,
582 SENSOR_ATTR_2(fan1_input, S_IRUGO, show_fan, NULL, 0, 0),
593 SENSOR_ATTR_2(fan2_input, S_IRUGO, show_fan, NULL, 0, 1),
604 SENSOR_ATTR_2(fan3_input, S_IRUGO, show_fan, NULL, 0, 2),
615 SENSOR_ATTR_2(fan4_input, S_IRUGO, show_fan, NULL, 0, 3),
629 SENSOR_ATTR_2(fan3_input, S_IRUGO, show_fan, NULL, 0, 2),
970 SENSOR_ATTR_2(fan4_input, S_IRUGO, show_fan, NULL, 0, 3),
1371 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() function
H A Dw83791d.c658 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0),
659 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1),
660 SENSOR_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2),
661 SENSOR_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3),
662 SENSOR_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 4),
H A Dlm63.c331 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() function
740 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0);
741 static SENSOR_DEVICE_ATTR(fan1_min, S_IWUSR | S_IRUGO, show_fan,
H A Dw83l786ng.c384 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0),
385 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1),
H A Df71805f.c563 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() function
1040 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0);
1045 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1);
1050 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2);
H A Dnct6683.c711 show_fan(struct device *dev, struct device_attribute *attr, char *buf) in show_fan() function
760 SENSOR_TEMPLATE(fan_input, "fan%d_input", S_IRUGO, show_fan, NULL, 0);
H A Dasb100.c286 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() function
390 show_fan, NULL, offset - 1); \
H A Dw83793.c463 show_fan(struct device *dev, struct device_attribute *attr, char *buf) in show_fan() function
1032 SENSOR_ATTR_2(fan##index##_input, S_IRUGO, show_fan, \
1035 show_fan, store_fan_min, FAN_MIN, index - 1)
/kernel/linux/linux-6.6/drivers/hwmon/
H A Df75375s.c643 #define show_fan(thing) \ macro
652 show_fan(fan);
653 show_fan(fan_min);
654 show_fan(fan_max);
655 show_fan(fan_target);
687 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0);
693 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1);
H A Dvt1211.c484 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() function
1002 show_fan, NULL, SHOW_FAN_INPUT, ix-1), \
1004 show_fan, set_fan, SHOW_SET_FAN_MIN, ix-1), \
1006 show_fan, set_fan, SHOW_SET_FAN_DIV, ix-1), \
1008 show_fan, NULL, SHOW_FAN_ALARM, ix-1)
H A Dit87.c1307 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() function
1883 static SENSOR_DEVICE_ATTR_2(fan1_input, S_IRUGO, show_fan, NULL, 0, 0);
1884 static SENSOR_DEVICE_ATTR_2(fan1_min, S_IRUGO | S_IWUSR, show_fan, set_fan,
1889 static SENSOR_DEVICE_ATTR_2(fan2_input, S_IRUGO, show_fan, NULL, 1, 0);
1890 static SENSOR_DEVICE_ATTR_2(fan2_min, S_IRUGO | S_IWUSR, show_fan, set_fan,
1895 static SENSOR_DEVICE_ATTR_2(fan3_input, S_IRUGO, show_fan, NULL, 2, 0);
1896 static SENSOR_DEVICE_ATTR_2(fan3_min, S_IRUGO | S_IWUSR, show_fan, set_fan,
1901 static SENSOR_DEVICE_ATTR_2(fan4_input, S_IRUGO, show_fan, NULL, 3, 0);
1902 static SENSOR_DEVICE_ATTR_2(fan4_min, S_IRUGO | S_IWUSR, show_fan, set_fan,
1905 static SENSOR_DEVICE_ATTR_2(fan5_input, S_IRUGO, show_fan, NUL
[all...]
H A Dw83792d.c1123 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 1);
1124 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 2);
1125 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 3);
1126 static SENSOR_DEVICE_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 4);
1127 static SENSOR_DEVICE_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 5);
1128 static SENSOR_DEVICE_ATTR(fan6_input, S_IRUGO, show_fan, NULL, 6);
1129 static SENSOR_DEVICE_ATTR(fan7_input, S_IRUGO, show_fan, NULL, 7);
H A Ddme1737.c1080 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() function
1572 show_fan, NULL, SYS_FAN_INPUT, ix-1); \
1574 show_fan, set_fan, SYS_FAN_MIN, ix-1); \
1576 show_fan, NULL, SYS_FAN_ALARM, ix-1); \
1578 show_fan, set_fan, SYS_FAN_TYPE, ix-1)
1589 show_fan, NULL, SYS_FAN_INPUT, ix-1); \
1591 show_fan, set_fan, SYS_FAN_MIN, ix-1); \
1593 show_fan, NULL, SYS_FAN_ALARM, ix-1); \
1595 show_fan, set_fan, SYS_FAN_MAX, ix-1)
H A Df71882fg.c1031 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() function
1272 SENSOR_ATTR_2(fan1_input, S_IRUGO, show_fan, NULL, 0, 0),
1283 SENSOR_ATTR_2(fan2_input, S_IRUGO, show_fan, NULL, 0, 1),
1294 SENSOR_ATTR_2(fan3_input, S_IRUGO, show_fan, NULL, 0, 2),
1305 SENSOR_ATTR_2(fan4_input, S_IRUGO, show_fan, NULL, 0, 3),
1351 SENSOR_ATTR_2(fan3_input, S_IRUGO, show_fan, NULL, 0, 2),
1931 SENSOR_ATTR_2(fan4_input, S_IRUGO, show_fan, NULL, 0, 3),
H A Dw83791d.c658 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0),
659 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1),
660 SENSOR_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2),
661 SENSOR_ATTR(fan4_input, S_IRUGO, show_fan, NULL, 3),
662 SENSOR_ATTR(fan5_input, S_IRUGO, show_fan, NULL, 4),
H A Dlm63.c331 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() function
740 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0);
741 static SENSOR_DEVICE_ATTR(fan1_min, S_IWUSR | S_IRUGO, show_fan,
H A Dw83l786ng.c383 SENSOR_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0),
384 SENSOR_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1),
H A Df71805f.c563 static ssize_t show_fan(struct device *dev, struct device_attribute *devattr, in show_fan() function
1040 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0);
1045 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1);
1050 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2);
H A Dnct6683.c712 show_fan(struct device *dev, struct device_attribute *attr, char *buf) in show_fan() function
761 SENSOR_TEMPLATE(fan_input, "fan%d_input", S_IRUGO, show_fan, NULL, 0);
H A Dasb100.c286 static ssize_t show_fan(struct device *dev, struct device_attribute *attr, in show_fan() function
390 show_fan, NULL, offset - 1); \

Completed in 57 milliseconds

12