Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/hwmon/
Df71882fg.c401 SENSOR_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0),
402 SENSOR_ATTR_2(temp1_max, S_IRUGO|S_IWUSR, show_temp_max,
404 SENSOR_ATTR_2(temp1_max_hyst, S_IRUGO|S_IWUSR, show_temp_max_hyst,
406 SENSOR_ATTR_2(temp1_max_alarm, S_IRUGO, show_temp_alarm, NULL, 0, 0),
407 SENSOR_ATTR_2(temp1_crit, S_IRUGO|S_IWUSR, show_temp_crit,
409 SENSOR_ATTR_2(temp1_crit_hyst, S_IRUGO, show_temp_crit_hyst, NULL,
411 SENSOR_ATTR_2(temp1_crit_alarm, S_IRUGO, show_temp_alarm, NULL, 0, 4),
412 SENSOR_ATTR_2(temp1_fault, S_IRUGO, show_temp_fault, NULL, 0, 0),
413 SENSOR_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 0, 1),
414 SENSOR_ATTR_2(temp2_max, S_IRUGO|S_IWUSR, show_temp_max,
[all …]
Dabituguru3.c913 SENSOR_ATTR_2(in%d_input, 0444, show_value, NULL, 0, 0),
914 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,
924 SENSOR_ATTR_2(in%d_min_alarm_enable, 0444, show_mask, NULL,
926 SENSOR_ATTR_2(in%d_max_alarm_enable, 0444, show_mask, NULL,
928 SENSOR_ATTR_2(in%d_label, 0444, show_label, NULL, 0, 0)
[all …]
Dw83795.c1610 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, \
1616 SENSOR_ATTR_2(in##index##_alarm, S_IRUGO, show_alarm_beep, \
1618 SENSOR_ATTR_2(in##index##_beep, S_IWUSR | S_IRUGO, \
1627 SENSOR_ATTR_2(fan##index##_input, S_IRUGO, show_fan, \
1629 SENSOR_ATTR_2(fan##index##_min, S_IWUSR | S_IRUGO, \
1631 SENSOR_ATTR_2(fan##index##_alarm, S_IRUGO, show_alarm_beep, \
1633 SENSOR_ATTR_2(fan##index##_beep, S_IWUSR | S_IRUGO, \
1637 SENSOR_ATTR_2(pwm##index, S_IWUSR | S_IRUGO, show_pwm, \
[all …]
Dw83793.c1017 SENSOR_ATTR_2(in##index##_input, S_IRUGO, show_in, NULL, \
1019 SENSOR_ATTR_2(in##index##_max, S_IRUGO | S_IWUSR, show_in, \
1021 SENSOR_ATTR_2(in##index##_min, S_IRUGO | S_IWUSR, show_in, \
1023 SENSOR_ATTR_2(in##index##_alarm, S_IRUGO, show_alarm_beep, \
1025 SENSOR_ATTR_2(in##index##_beep, S_IWUSR | S_IRUGO, \
1030 SENSOR_ATTR_2(fan##index##_alarm, S_IRUGO, show_alarm_beep, \
1032 SENSOR_ATTR_2(fan##index##_beep, S_IWUSR | S_IRUGO, \
1034 SENSOR_ATTR_2(fan##index##_input, S_IRUGO, show_fan, \
1036 SENSOR_ATTR_2(fan##index##_min, S_IWUSR | S_IRUGO, \
1040 SENSOR_ATTR_2(pwm##index, S_IWUSR | S_IRUGO, show_pwm, \
[all …]
Dabituguru.c1191 SENSOR_ATTR_2(in%d_input, 0444, show_bank1_value, NULL, 0, 0),
1192 SENSOR_ATTR_2(in%d_min, 0644, show_bank1_setting,
1194 SENSOR_ATTR_2(in%d_min_alarm, 0444, show_bank1_alarm, NULL,
1196 SENSOR_ATTR_2(in%d_max, 0644, show_bank1_setting,
1198 SENSOR_ATTR_2(in%d_max_alarm, 0444, show_bank1_alarm, NULL,
1200 SENSOR_ATTR_2(in%d_beep, 0644, show_bank1_mask,
1202 SENSOR_ATTR_2(in%d_shutdown, 0644, show_bank1_mask,
1204 SENSOR_ATTR_2(in%d_min_alarm_enable, 0644, show_bank1_mask,
1206 SENSOR_ATTR_2(in%d_max_alarm_enable, 0644, show_bank1_mask,
1209 SENSOR_ATTR_2(temp%d_input, 0444, show_bank1_value, NULL, 0, 0),
[all …]
Dvt1211.c912 { SENSOR_ATTR_2(in##ix##_input, S_IRUGO, \
914 SENSOR_ATTR_2(in##ix##_min, S_IRUGO | S_IWUSR, \
916 SENSOR_ATTR_2(in##ix##_max, S_IRUGO | S_IWUSR, \
918 SENSOR_ATTR_2(in##ix##_alarm, S_IRUGO, \
958 { SENSOR_ATTR_2(temp##ix##_input, S_IRUGO, \
960 SENSOR_ATTR_2(temp##ix##_max, S_IRUGO | S_IWUSR, \
962 SENSOR_ATTR_2(temp##ix##_max_hyst, S_IRUGO | S_IWUSR, \
964 SENSOR_ATTR_2(temp##ix##_alarm, S_IRUGO, \
1007 SENSOR_ATTR_2(fan##ix##_input, S_IRUGO, \
1009 SENSOR_ATTR_2(fan##ix##_min, S_IRUGO | S_IWUSR, \
[all …]
Dw83l786ng.c443 SENSOR_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0),
444 SENSOR_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 1, 0),
448 SENSOR_ATTR_2(temp1_max, S_IRUGO | S_IWUSR,
450 SENSOR_ATTR_2(temp2_max, S_IRUGO | S_IWUSR,
455 SENSOR_ATTR_2(temp1_max_hyst, S_IRUGO | S_IWUSR,
457 SENSOR_ATTR_2(temp2_max_hyst, S_IRUGO | S_IWUSR,
Dw83791d.c991 SENSOR_ATTR_2(temp1_input, S_IRUGO, show_temp1, NULL, 0, 0),
992 SENSOR_ATTR_2(temp2_input, S_IRUGO, show_temp23, NULL, 0, 0),
993 SENSOR_ATTR_2(temp3_input, S_IRUGO, show_temp23, NULL, 1, 0),
997 SENSOR_ATTR_2(temp1_max, S_IRUGO | S_IWUSR,
999 SENSOR_ATTR_2(temp2_max, S_IRUGO | S_IWUSR,
1001 SENSOR_ATTR_2(temp3_max, S_IRUGO | S_IWUSR,
1006 SENSOR_ATTR_2(temp1_max_hyst, S_IRUGO | S_IWUSR,
1008 SENSOR_ATTR_2(temp2_max_hyst, S_IRUGO | S_IWUSR,
1010 SENSOR_ATTR_2(temp3_max_hyst, S_IRUGO | S_IWUSR,
Dw83627ehf.c1793 SENSOR_ATTR_2(intrusion0_alarm, S_IWUSR | S_IRUGO, show_caseopen,
1795 SENSOR_ATTR_2(intrusion1_alarm, S_IWUSR | S_IRUGO, show_caseopen,
/Linux-v5.4/include/linux/
Dhwmon-sysfs.h53 #define SENSOR_ATTR_2(_name, _mode, _show, _store, _nr, _index) \ macro
59 SENSOR_ATTR_2(_name, 0444, _func##_show, NULL, _nr, _index)
62 SENSOR_ATTR_2(_name, 0644, _func##_show, _func##_store, _nr, _index)
65 SENSOR_ATTR_2(_name, 0200, NULL, _func##_store, _nr, _index)
69 = SENSOR_ATTR_2(_name, _mode, _show, _store, _nr, _index)