Home
last modified time | relevance | path

Searched refs:SENSOR_ATTR_2 (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/hwmon/
H A Df71882fg.c1273 SENSOR_ATTR_2(fan1_full_speed, S_IRUGO|S_IWUSR,
1280 SENSOR_ATTR_2(pwm1_interpolate, S_IRUGO|S_IWUSR,
1284 SENSOR_ATTR_2(fan2_full_speed, S_IRUGO|S_IWUSR,
1291 SENSOR_ATTR_2(pwm2_interpolate, S_IRUGO|S_IWUSR,
1295 SENSOR_ATTR_2(fan3_full_speed, S_IRUGO|S_IWUSR,
1302 SENSOR_ATTR_2(pwm3_interpolate, S_IRUGO|S_IWUSR,
1306 SENSOR_ATTR_2(fan4_full_speed, S_IRUGO|S_IWUSR,
1313 SENSOR_ATTR_2(pwm4_interpolate, S_IRUGO|S_IWUSR,
1353 SENSOR_ATTR_2(pwm3, S_IRUGO|S_IWUSR,
1632 SENSOR_ATTR_2(pwm1_auto_point2_temp_hyst, S_IRUGO,
[all …]
H A Dabituguru3.c914 SENSOR_ATTR_2(in%d_min, 0444, show_value, NULL, 1, 0),
915 SENSOR_ATTR_2(in%d_max, 0444, show_value, NULL, 2, 0),
916 SENSOR_ATTR_2(in%d_min_alarm, 0444, show_alarm, NULL,
918 SENSOR_ATTR_2(in%d_max_alarm, 0444, show_alarm, NULL,
920 SENSOR_ATTR_2(in%d_beep, 0444, show_mask, NULL,
922 SENSOR_ATTR_2(in%d_shutdown, 0444, show_mask, NULL,
934 SENSOR_ATTR_2(temp%d_beep, 0444, show_mask, NULL,
936 SENSOR_ATTR_2(temp%d_shutdown, 0444, show_mask, NULL,
945 SENSOR_ATTR_2(fan%d_beep, 0444, show_mask, NULL,
947 SENSOR_ATTR_2(fan%d_shutdown, 0444, show_mask, NULL,
[all …]
H A Dw83795.c1618 SENSOR_ATTR_2(in##index##_beep, S_IWUSR | S_IRUGO, \
1641 SENSOR_ATTR_2(pwm##index##_mode, S_IRUGO, \
1659 SENSOR_ATTR_2(temp##index##_type, S_IRUGO , \
1671 SENSOR_ATTR_2(temp##index##_alarm, S_IRUGO, \
1693 SENSOR_ATTR_2(temp##index##_alarm, S_IRUGO, \
1816 SENSOR_ATTR_2(temp1_source_sel, S_IWUSR | S_IRUGO,
1818 SENSOR_ATTR_2(temp2_source_sel, S_IWUSR | S_IRUGO,
1820 SENSOR_ATTR_2(temp3_source_sel, S_IWUSR | S_IRUGO,
1822 SENSOR_ATTR_2(temp4_source_sel, S_IWUSR | S_IRUGO,
1824 SENSOR_ATTR_2(temp5_source_sel, S_IWUSR | S_IRUGO,
[all …]
H A Dw83793.c1023 SENSOR_ATTR_2(in##index##_beep, S_IWUSR | S_IRUGO, \
1030 SENSOR_ATTR_2(fan##index##_beep, S_IWUSR | S_IRUGO, \
1032 SENSOR_ATTR_2(fan##index##_input, S_IRUGO, show_fan, \
1034 SENSOR_ATTR_2(fan##index##_min, S_IWUSR | S_IRUGO, \
1038 SENSOR_ATTR_2(pwm##index, S_IWUSR | S_IRUGO, show_pwm, \
1040 SENSOR_ATTR_2(pwm##index##_nonstop, S_IWUSR | S_IRUGO, \
1042 SENSOR_ATTR_2(pwm##index##_start, S_IWUSR | S_IRUGO, \
1048 SENSOR_ATTR_2(temp##index##_type, S_IRUGO | S_IWUSR, \
1060 SENSOR_ATTR_2(temp##index##_alarm, S_IRUGO, \
1062 SENSOR_ATTR_2(temp##index##_beep, S_IWUSR | S_IRUGO, \
[all …]
H A Dabituguru.c1192 SENSOR_ATTR_2(in%d_min, 0644, show_bank1_setting,
1196 SENSOR_ATTR_2(in%d_max, 0644, show_bank1_setting,
1200 SENSOR_ATTR_2(in%d_beep, 0644, show_bank1_mask,
1202 SENSOR_ATTR_2(in%d_shutdown, 0644, show_bank1_mask,
1212 SENSOR_ATTR_2(temp%d_max, 0644, show_bank1_setting,
1214 SENSOR_ATTR_2(temp%d_crit, 0644, show_bank1_setting,
1216 SENSOR_ATTR_2(temp%d_beep, 0644, show_bank1_mask,
1228 SENSOR_ATTR_2(fan%d_min, 0644, show_bank2_setting,
1230 SENSOR_ATTR_2(fan%d_beep, 0644, show_bank2_mask,
1239 SENSOR_ATTR_2(pwm%d_enable, 0644, show_pwm_enable,
[all …]
H A Dvt1211.c906 { SENSOR_ATTR_2(in##ix##_input, S_IRUGO, \
908 SENSOR_ATTR_2(in##ix##_min, S_IRUGO | S_IWUSR, \
910 SENSOR_ATTR_2(in##ix##_max, S_IRUGO | S_IWUSR, \
912 SENSOR_ATTR_2(in##ix##_alarm, S_IRUGO, \
952 { SENSOR_ATTR_2(temp##ix##_input, S_IRUGO, \
958 SENSOR_ATTR_2(temp##ix##_alarm, S_IRUGO, \
1001 SENSOR_ATTR_2(fan##ix##_input, S_IRUGO, \
1003 SENSOR_ATTR_2(fan##ix##_min, S_IRUGO | S_IWUSR, \
1007 SENSOR_ATTR_2(fan##ix##_alarm, S_IRUGO, \
1011 SENSOR_ATTR_2(pwm##ix, S_IRUGO, \
[all …]
H A Dw83l786ng.c442 SENSOR_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0),
443 SENSOR_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 1, 0),
447 SENSOR_ATTR_2(temp1_max, S_IRUGO | S_IWUSR,
449 SENSOR_ATTR_2(temp2_max, S_IRUGO | S_IWUSR,
454 SENSOR_ATTR_2(temp1_max_hyst, S_IRUGO | S_IWUSR,
456 SENSOR_ATTR_2(temp2_max_hyst, S_IRUGO | S_IWUSR,
H A Dw83791d.c987 SENSOR_ATTR_2(temp1_input, S_IRUGO, show_temp1, NULL, 0, 0),
988 SENSOR_ATTR_2(temp2_input, S_IRUGO, show_temp23, NULL, 0, 0),
989 SENSOR_ATTR_2(temp3_input, S_IRUGO, show_temp23, NULL, 1, 0),
993 SENSOR_ATTR_2(temp1_max, S_IRUGO | S_IWUSR,
995 SENSOR_ATTR_2(temp2_max, S_IRUGO | S_IWUSR,
997 SENSOR_ATTR_2(temp3_max, S_IRUGO | S_IWUSR,
1002 SENSOR_ATTR_2(temp1_max_hyst, S_IRUGO | S_IWUSR,
1004 SENSOR_ATTR_2(temp2_max_hyst, S_IRUGO | S_IWUSR,
1006 SENSOR_ATTR_2(temp3_max_hyst, S_IRUGO | S_IWUSR,
/openbmc/linux/include/linux/
H A Dhwmon-sysfs.h54 #define SENSOR_ATTR_2(_name, _mode, _show, _store, _nr, _index) \ macro
60 SENSOR_ATTR_2(_name, 0444, _func##_show, NULL, _nr, _index)
63 SENSOR_ATTR_2(_name, 0644, _func##_show, _func##_store, _nr, _index)
66 SENSOR_ATTR_2(_name, 0200, NULL, _func##_store, _nr, _index)
70 = SENSOR_ATTR_2(_name, _mode, _show, _store, _nr, _index)