Home
last modified time | relevance | path

Searched refs:show_fan_alarm (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/hwmon/
Dsch5636.c277 static ssize_t show_fan_alarm(struct device *dev, struct device_attribute in show_fan_alarm() function
359 SENSOR_ATTR(fan1_alarm, 0444, show_fan_alarm, NULL, 0),
362 SENSOR_ATTR(fan2_alarm, 0444, show_fan_alarm, NULL, 1),
365 SENSOR_ATTR(fan3_alarm, 0444, show_fan_alarm, NULL, 2),
368 SENSOR_ATTR(fan4_alarm, 0444, show_fan_alarm, NULL, 3),
371 SENSOR_ATTR(fan5_alarm, 0444, show_fan_alarm, NULL, 4),
374 SENSOR_ATTR(fan6_alarm, 0444, show_fan_alarm, NULL, 5),
377 SENSOR_ATTR(fan7_alarm, 0444, show_fan_alarm, NULL, 6),
380 SENSOR_ATTR(fan8_alarm, 0444, show_fan_alarm, NULL, 7),
Dftsteutates.c472 static ssize_t show_fan_alarm(struct device *dev, in show_fan_alarm() function
664 show_fan_alarm, clear_fan_alarm, 0);
666 show_fan_alarm, clear_fan_alarm, 1);
668 show_fan_alarm, clear_fan_alarm, 2);
670 show_fan_alarm, clear_fan_alarm, 3);
672 show_fan_alarm, clear_fan_alarm, 4);
674 show_fan_alarm, clear_fan_alarm, 5);
676 show_fan_alarm, clear_fan_alarm, 6);
678 show_fan_alarm, clear_fan_alarm, 7);
Dpc87427.c405 static ssize_t show_fan_alarm(struct device *dev, struct device_attribute in show_fan_alarm() function
478 static SENSOR_DEVICE_ATTR(fan1_alarm, S_IRUGO, show_fan_alarm, NULL, 0);
479 static SENSOR_DEVICE_ATTR(fan2_alarm, S_IRUGO, show_fan_alarm, NULL, 1);
480 static SENSOR_DEVICE_ATTR(fan3_alarm, S_IRUGO, show_fan_alarm, NULL, 2);
481 static SENSOR_DEVICE_ATTR(fan4_alarm, S_IRUGO, show_fan_alarm, NULL, 3);
482 static SENSOR_DEVICE_ATTR(fan5_alarm, S_IRUGO, show_fan_alarm, NULL, 4);
483 static SENSOR_DEVICE_ATTR(fan6_alarm, S_IRUGO, show_fan_alarm, NULL, 5);
484 static SENSOR_DEVICE_ATTR(fan7_alarm, S_IRUGO, show_fan_alarm, NULL, 6);
485 static SENSOR_DEVICE_ATTR(fan8_alarm, S_IRUGO, show_fan_alarm, NULL, 7);
Dfschmd.c491 static ssize_t show_fan_alarm(struct device *dev, in show_fan_alarm() function
666 SENSOR_ATTR(fan1_alarm, 0444, show_fan_alarm, NULL, 0),
672 SENSOR_ATTR(fan2_alarm, 0444, show_fan_alarm, NULL, 1),
678 SENSOR_ATTR(fan3_alarm, 0444, show_fan_alarm, NULL, 2),
684 SENSOR_ATTR(fan4_alarm, 0444, show_fan_alarm, NULL, 3),
690 SENSOR_ATTR(fan5_alarm, 0444, show_fan_alarm, NULL, 4),
696 SENSOR_ATTR(fan6_alarm, 0444, show_fan_alarm, NULL, 5),
702 SENSOR_ATTR(fan7_alarm, 0444, show_fan_alarm, NULL, 6),
Dtc654.c258 static ssize_t show_fan_alarm(struct device *dev, struct device_attribute *da, in show_fan_alarm() function
432 static SENSOR_DEVICE_ATTR(fan1_alarm, S_IRUGO, show_fan_alarm, NULL, 0);
433 static SENSOR_DEVICE_ATTR(fan2_alarm, S_IRUGO, show_fan_alarm, NULL, 1);
Df71882fg.c330 static ssize_t show_fan_alarm(struct device *dev, struct device_attribute
599 SENSOR_ATTR_2(fan1_alarm, S_IRUGO, show_fan_alarm, NULL, 0, 0),
610 SENSOR_ATTR_2(fan2_alarm, S_IRUGO, show_fan_alarm, NULL, 0, 1),
621 SENSOR_ATTR_2(fan3_alarm, S_IRUGO, show_fan_alarm, NULL, 0, 2),
632 SENSOR_ATTR_2(fan4_alarm, S_IRUGO, show_fan_alarm, NULL, 0, 3),
643 SENSOR_ATTR_2(fan3_alarm, S_IRUGO, show_fan_alarm, NULL, 0, 2),
1465 static ssize_t show_fan_alarm(struct device *dev, struct device_attribute in show_fan_alarm() function