Searched refs:SENSOR_DEVICE_ATTR_2 (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/hwmon/ |
H A D | it87.c | 1920 static SENSOR_DEVICE_ATTR_2(pwm1_auto_point1_pwm, S_IRUGO | S_IWUSR, 1922 static SENSOR_DEVICE_ATTR_2(pwm1_auto_point2_pwm, S_IRUGO | S_IWUSR, 1926 static SENSOR_DEVICE_ATTR_2(pwm1_auto_point4_pwm, S_IRUGO, 1938 static SENSOR_DEVICE_ATTR_2(pwm1_auto_start, S_IRUGO | S_IWUSR, 1955 static SENSOR_DEVICE_ATTR_2(pwm2_auto_point4_pwm, S_IRUGO, 1967 static SENSOR_DEVICE_ATTR_2(pwm2_auto_start, S_IRUGO | S_IWUSR, 1984 static SENSOR_DEVICE_ATTR_2(pwm3_auto_point4_pwm, S_IRUGO, 1996 static SENSOR_DEVICE_ATTR_2(pwm3_auto_start, S_IRUGO | S_IWUSR, 2015 static SENSOR_DEVICE_ATTR_2(pwm4_auto_start, S_IRUGO | S_IWUSR, 2034 static SENSOR_DEVICE_ATTR_2(pwm5_auto_start, S_IRUGO | S_IWUSR, [all …]
|
H A D | w83792d.c | 1009 static SENSOR_DEVICE_ATTR_2(temp1_max, S_IRUGO | S_IWUSR, 1015 static SENSOR_DEVICE_ATTR_2(temp1_max_hyst, S_IRUGO | S_IWUSR, 1017 static SENSOR_DEVICE_ATTR_2(temp2_max_hyst, S_IRUGO | S_IWUSR, 1019 static SENSOR_DEVICE_ATTR_2(temp3_max_hyst, S_IRUGO | S_IWUSR, 1081 static SENSOR_DEVICE_ATTR_2(sf2_point1_fan1, S_IRUGO | S_IWUSR, 1083 static SENSOR_DEVICE_ATTR_2(sf2_point2_fan1, S_IRUGO | S_IWUSR, 1085 static SENSOR_DEVICE_ATTR_2(sf2_point3_fan1, S_IRUGO | S_IWUSR, 1087 static SENSOR_DEVICE_ATTR_2(sf2_point4_fan1, S_IRUGO | S_IWUSR, 1089 static SENSOR_DEVICE_ATTR_2(sf2_point1_fan2, S_IRUGO | S_IWUSR, 1091 static SENSOR_DEVICE_ATTR_2(sf2_point2_fan2, S_IRUGO | S_IWUSR, [all …]
|
H A D | dme1737.c | 1512 static SENSOR_DEVICE_ATTR_2(in##ix##_input, S_IRUGO, \ 1518 static SENSOR_DEVICE_ATTR_2(in##ix##_alarm, S_IRUGO, \ 1533 static SENSOR_DEVICE_ATTR_2(temp##ix##_input, S_IRUGO, \ 1571 static SENSOR_DEVICE_ATTR_2(fan##ix##_input, S_IRUGO, \ 1575 static SENSOR_DEVICE_ATTR_2(fan##ix##_alarm, S_IRUGO, \ 1588 static SENSOR_DEVICE_ATTR_2(fan##ix##_input, S_IRUGO, \ 1592 static SENSOR_DEVICE_ATTR_2(fan##ix##_alarm, S_IRUGO, \ 1603 static SENSOR_DEVICE_ATTR_2(pwm##ix, S_IRUGO, \ 1605 static SENSOR_DEVICE_ATTR_2(pwm##ix##_freq, S_IRUGO, \ 1627 static SENSOR_DEVICE_ATTR_2(pwm##ix, S_IRUGO, \ [all …]
|
H A D | f71805f.c | 1098 static SENSOR_DEVICE_ATTR_2(pwm1_auto_point1_temp, S_IRUGO | S_IWUSR, 1101 static SENSOR_DEVICE_ATTR_2(pwm1_auto_point1_fan, S_IRUGO | S_IWUSR, 1104 static SENSOR_DEVICE_ATTR_2(pwm1_auto_point2_temp, S_IRUGO | S_IWUSR, 1107 static SENSOR_DEVICE_ATTR_2(pwm1_auto_point2_fan, S_IRUGO | S_IWUSR, 1113 static SENSOR_DEVICE_ATTR_2(pwm1_auto_point3_fan, S_IRUGO | S_IWUSR, 1120 static SENSOR_DEVICE_ATTR_2(pwm2_auto_point1_fan, S_IRUGO | S_IWUSR, 1126 static SENSOR_DEVICE_ATTR_2(pwm2_auto_point2_fan, S_IRUGO | S_IWUSR, 1132 static SENSOR_DEVICE_ATTR_2(pwm2_auto_point3_fan, S_IRUGO | S_IWUSR, 1139 static SENSOR_DEVICE_ATTR_2(pwm3_auto_point1_fan, S_IRUGO | S_IWUSR, 1145 static SENSOR_DEVICE_ATTR_2(pwm3_auto_point2_fan, S_IRUGO | S_IWUSR, [all …]
|
H A D | max197.c | 218 static SENSOR_DEVICE_ATTR_2(in##chan##_min, S_IRUGO | S_IWUSR, \ 222 static SENSOR_DEVICE_ATTR_2(in##chan##_max, S_IRUGO | S_IWUSR, \
|
H A D | adt7411.c | 200 SENSOR_DEVICE_ATTR_2(__name, S_IRUGO | S_IWUSR, adt7411_show_bit, \
|
/openbmc/linux/include/linux/ |
H A D | hwmon-sysfs.h | 68 #define SENSOR_DEVICE_ATTR_2(_name,_mode,_show,_store,_nr,_index) \ macro 73 SENSOR_DEVICE_ATTR_2(_name, 0444, _func##_show, NULL, \ 77 SENSOR_DEVICE_ATTR_2(_name, 0644, _func##_show, _func##_store, \ 81 SENSOR_DEVICE_ATTR_2(_name, 0200, NULL, _func##_store, \
|
/openbmc/linux/drivers/misc/ |
H A D | ds1682.c | 136 static SENSOR_DEVICE_ATTR_2(elapsed_time, S_IRUGO | S_IWUSR, ds1682_show, 138 static SENSOR_DEVICE_ATTR_2(alarm_time, S_IRUGO | S_IWUSR, ds1682_show, 140 static SENSOR_DEVICE_ATTR_2(event_count, S_IRUGO | S_IWUSR, ds1682_show,
|
/openbmc/linux/Documentation/hwmon/ |
H A D | hwmon-kernel-api.rst | 341 SENSOR_DEVICE_ATTR and SENSOR_DEVICE_ATTR_2 can be used to define attributes 343 one additional argument, SENSOR_DEVICE_ATTR_2 requires two. 345 Simplified variants of SENSOR_DEVICE_ATTR and SENSOR_DEVICE_ATTR_2 are available 364 SENSOR_DEVICE_ATTR_2 and its variants define a struct sensor_device_attribute_2
|