Home
last modified time | relevance | path

Searched refs:SENSOR_DEVICE_ATTR (Results 1 – 25 of 89) sorted by relevance

1234

/linux-3.4.99/drivers/hwmon/
Dadt7462.c1461 static SENSOR_DEVICE_ATTR(temp1_max, S_IWUSR | S_IRUGO, show_temp_max,
1463 static SENSOR_DEVICE_ATTR(temp2_max, S_IWUSR | S_IRUGO, show_temp_max,
1465 static SENSOR_DEVICE_ATTR(temp3_max, S_IWUSR | S_IRUGO, show_temp_max,
1467 static SENSOR_DEVICE_ATTR(temp4_max, S_IWUSR | S_IRUGO, show_temp_max,
1470 static SENSOR_DEVICE_ATTR(temp1_min, S_IWUSR | S_IRUGO, show_temp_min,
1472 static SENSOR_DEVICE_ATTR(temp2_min, S_IWUSR | S_IRUGO, show_temp_min,
1474 static SENSOR_DEVICE_ATTR(temp3_min, S_IWUSR | S_IRUGO, show_temp_min,
1476 static SENSOR_DEVICE_ATTR(temp4_min, S_IWUSR | S_IRUGO, show_temp_min,
1479 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
1480 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1);
[all …]
Dsch5627.c330 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
331 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1);
332 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2);
333 static SENSOR_DEVICE_ATTR(temp4_input, S_IRUGO, show_temp, NULL, 3);
334 static SENSOR_DEVICE_ATTR(temp5_input, S_IRUGO, show_temp, NULL, 4);
335 static SENSOR_DEVICE_ATTR(temp6_input, S_IRUGO, show_temp, NULL, 5);
336 static SENSOR_DEVICE_ATTR(temp7_input, S_IRUGO, show_temp, NULL, 6);
337 static SENSOR_DEVICE_ATTR(temp8_input, S_IRUGO, show_temp, NULL, 7);
338 static SENSOR_DEVICE_ATTR(temp1_fault, S_IRUGO, show_temp_fault, NULL, 0);
339 static SENSOR_DEVICE_ATTR(temp2_fault, S_IRUGO, show_temp_fault, NULL, 1);
[all …]
Dpc87427.c452 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan_input, NULL, 0);
453 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan_input, NULL, 1);
454 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan_input, NULL, 2);
455 static SENSOR_DEVICE_ATTR(fan4_input, S_IRUGO, show_fan_input, NULL, 3);
456 static SENSOR_DEVICE_ATTR(fan5_input, S_IRUGO, show_fan_input, NULL, 4);
457 static SENSOR_DEVICE_ATTR(fan6_input, S_IRUGO, show_fan_input, NULL, 5);
458 static SENSOR_DEVICE_ATTR(fan7_input, S_IRUGO, show_fan_input, NULL, 6);
459 static SENSOR_DEVICE_ATTR(fan8_input, S_IRUGO, show_fan_input, NULL, 7);
461 static SENSOR_DEVICE_ATTR(fan1_min, S_IWUSR | S_IRUGO,
463 static SENSOR_DEVICE_ATTR(fan2_min, S_IWUSR | S_IRUGO,
[all …]
Dtwl4030-madc-hwmon.c62 static SENSOR_DEVICE_ATTR(in0_input, S_IRUGO, madc_read, NULL, 0);
63 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, madc_read, NULL, 1);
64 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, madc_read, NULL, 2);
65 static SENSOR_DEVICE_ATTR(in3_input, S_IRUGO, madc_read, NULL, 3);
66 static SENSOR_DEVICE_ATTR(in4_input, S_IRUGO, madc_read, NULL, 4);
67 static SENSOR_DEVICE_ATTR(in5_input, S_IRUGO, madc_read, NULL, 5);
68 static SENSOR_DEVICE_ATTR(in6_input, S_IRUGO, madc_read, NULL, 6);
69 static SENSOR_DEVICE_ATTR(in7_input, S_IRUGO, madc_read, NULL, 7);
70 static SENSOR_DEVICE_ATTR(in8_input, S_IRUGO, madc_read, NULL, 8);
71 static SENSOR_DEVICE_ATTR(in9_input, S_IRUGO, madc_read, NULL, 9);
[all …]
Dadt7470.c966 static SENSOR_DEVICE_ATTR(temp1_max, S_IWUSR | S_IRUGO, show_temp_max,
968 static SENSOR_DEVICE_ATTR(temp2_max, S_IWUSR | S_IRUGO, show_temp_max,
970 static SENSOR_DEVICE_ATTR(temp3_max, S_IWUSR | S_IRUGO, show_temp_max,
972 static SENSOR_DEVICE_ATTR(temp4_max, S_IWUSR | S_IRUGO, show_temp_max,
974 static SENSOR_DEVICE_ATTR(temp5_max, S_IWUSR | S_IRUGO, show_temp_max,
976 static SENSOR_DEVICE_ATTR(temp6_max, S_IWUSR | S_IRUGO, show_temp_max,
978 static SENSOR_DEVICE_ATTR(temp7_max, S_IWUSR | S_IRUGO, show_temp_max,
980 static SENSOR_DEVICE_ATTR(temp8_max, S_IWUSR | S_IRUGO, show_temp_max,
982 static SENSOR_DEVICE_ATTR(temp9_max, S_IWUSR | S_IRUGO, show_temp_max,
984 static SENSOR_DEVICE_ATTR(temp10_max, S_IWUSR | S_IRUGO, show_temp_max,
[all …]
Dlm83.c215 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
216 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1);
217 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2);
218 static SENSOR_DEVICE_ATTR(temp4_input, S_IRUGO, show_temp, NULL, 3);
219 static SENSOR_DEVICE_ATTR(temp1_max, S_IWUSR | S_IRUGO, show_temp,
221 static SENSOR_DEVICE_ATTR(temp2_max, S_IWUSR | S_IRUGO, show_temp,
223 static SENSOR_DEVICE_ATTR(temp3_max, S_IWUSR | S_IRUGO, show_temp,
225 static SENSOR_DEVICE_ATTR(temp4_max, S_IWUSR | S_IRUGO, show_temp,
227 static SENSOR_DEVICE_ATTR(temp1_crit, S_IRUGO, show_temp, NULL, 8);
228 static SENSOR_DEVICE_ATTR(temp2_crit, S_IRUGO, show_temp, NULL, 8);
[all …]
Dmax1668.c253 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
254 static SENSOR_DEVICE_ATTR(temp1_max, S_IRUGO, show_temp_max,
256 static SENSOR_DEVICE_ATTR(temp1_min, S_IRUGO, show_temp_min,
258 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1);
259 static SENSOR_DEVICE_ATTR(temp2_max, S_IRUGO, show_temp_max,
261 static SENSOR_DEVICE_ATTR(temp2_min, S_IRUGO, show_temp_min,
263 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2);
264 static SENSOR_DEVICE_ATTR(temp3_max, S_IRUGO, show_temp_max,
266 static SENSOR_DEVICE_ATTR(temp3_min, S_IRUGO, show_temp_min,
268 static SENSOR_DEVICE_ATTR(temp4_input, S_IRUGO, show_temp, NULL, 3);
[all …]
Dlm80.c371 static SENSOR_DEVICE_ATTR(in0_min, S_IWUSR | S_IRUGO,
373 static SENSOR_DEVICE_ATTR(in1_min, S_IWUSR | S_IRUGO,
375 static SENSOR_DEVICE_ATTR(in2_min, S_IWUSR | S_IRUGO,
377 static SENSOR_DEVICE_ATTR(in3_min, S_IWUSR | S_IRUGO,
379 static SENSOR_DEVICE_ATTR(in4_min, S_IWUSR | S_IRUGO,
381 static SENSOR_DEVICE_ATTR(in5_min, S_IWUSR | S_IRUGO,
383 static SENSOR_DEVICE_ATTR(in6_min, S_IWUSR | S_IRUGO,
385 static SENSOR_DEVICE_ATTR(in0_max, S_IWUSR | S_IRUGO,
387 static SENSOR_DEVICE_ATTR(in1_max, S_IWUSR | S_IRUGO,
389 static SENSOR_DEVICE_ATTR(in2_max, S_IWUSR | S_IRUGO,
[all …]
Df71805f.c991 static SENSOR_DEVICE_ATTR(in0_input, S_IRUGO, show_in0, NULL, 0);
992 static SENSOR_DEVICE_ATTR(in0_max, S_IRUGO | S_IWUSR,
994 static SENSOR_DEVICE_ATTR(in0_min, S_IRUGO | S_IWUSR,
996 static SENSOR_DEVICE_ATTR(in1_input, S_IRUGO, show_in, NULL, 1);
997 static SENSOR_DEVICE_ATTR(in1_max, S_IRUGO | S_IWUSR,
999 static SENSOR_DEVICE_ATTR(in1_min, S_IRUGO | S_IWUSR,
1001 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, show_in, NULL, 2);
1002 static SENSOR_DEVICE_ATTR(in2_max, S_IRUGO | S_IWUSR,
1004 static SENSOR_DEVICE_ATTR(in2_min, S_IRUGO | S_IWUSR,
1006 static SENSOR_DEVICE_ATTR(in3_input, S_IRUGO, show_in, NULL, 3);
[all …]
Dultra45_env.c147 static SENSOR_DEVICE_ATTR(fan##index##_speed, S_IRUGO | S_IWUSR, \
149 static SENSOR_DEVICE_ATTR(fan##index##_fault, S_IRUGO, \
158 static SENSOR_DEVICE_ATTR(psu_fan_fault, S_IRUGO, show_fan_fault, NULL, 6);
171 static SENSOR_DEVICE_ATTR(adt7462_local_temp, S_IRUGO, show_temp, NULL, 0);
172 static SENSOR_DEVICE_ATTR(cpu0_temp, S_IRUGO, show_temp, NULL, 1);
173 static SENSOR_DEVICE_ATTR(cpu1_temp, S_IRUGO, show_temp, NULL, 2);
174 static SENSOR_DEVICE_ATTR(motherboard_temp, S_IRUGO, show_temp, NULL, 3);
175 static SENSOR_DEVICE_ATTR(lm95221_local_temp, S_IRUGO, show_temp, NULL, 4);
176 static SENSOR_DEVICE_ATTR(fire_temp, S_IRUGO, show_temp, NULL, 5);
177 static SENSOR_DEVICE_ATTR(lsi1064_local_temp, S_IRUGO, show_temp, NULL, 6);
[all …]
Dw83792d.c1039 static SENSOR_DEVICE_ATTR(in0_input, S_IRUGO, show_in, NULL, 0);
1040 static SENSOR_DEVICE_ATTR(in1_input, S_IRUGO, show_in, NULL, 1);
1041 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, show_in, NULL, 2);
1042 static SENSOR_DEVICE_ATTR(in3_input, S_IRUGO, show_in, NULL, 3);
1043 static SENSOR_DEVICE_ATTR(in4_input, S_IRUGO, show_in, NULL, 4);
1044 static SENSOR_DEVICE_ATTR(in5_input, S_IRUGO, show_in, NULL, 5);
1045 static SENSOR_DEVICE_ATTR(in6_input, S_IRUGO, show_in, NULL, 6);
1046 static SENSOR_DEVICE_ATTR(in7_input, S_IRUGO, show_in, NULL, 7);
1047 static SENSOR_DEVICE_ATTR(in8_input, S_IRUGO, show_in, NULL, 8);
1048 static SENSOR_DEVICE_ATTR(in0_min, S_IWUSR | S_IRUGO,
[all …]
Dlm63.c761 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0);
762 static SENSOR_DEVICE_ATTR(fan1_min, S_IWUSR | S_IRUGO, show_fan,
765 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm1, set_pwm1, 0);
768 static SENSOR_DEVICE_ATTR(pwm1_auto_point1_pwm, S_IWUSR | S_IRUGO,
770 static SENSOR_DEVICE_ATTR(pwm1_auto_point1_temp, S_IWUSR | S_IRUGO,
772 static SENSOR_DEVICE_ATTR(pwm1_auto_point1_temp_hyst, S_IRUGO,
774 static SENSOR_DEVICE_ATTR(pwm1_auto_point2_pwm, S_IWUSR | S_IRUGO,
776 static SENSOR_DEVICE_ATTR(pwm1_auto_point2_temp, S_IWUSR | S_IRUGO,
778 static SENSOR_DEVICE_ATTR(pwm1_auto_point2_temp_hyst, S_IRUGO,
780 static SENSOR_DEVICE_ATTR(pwm1_auto_point3_pwm, S_IWUSR | S_IRUGO,
[all …]
Dgl520sm.c259 static SENSOR_DEVICE_ATTR(in0_input, S_IRUGO, get_in_input, NULL, 0);
260 static SENSOR_DEVICE_ATTR(in1_input, S_IRUGO, get_in_input, NULL, 1);
261 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, get_in_input, NULL, 2);
262 static SENSOR_DEVICE_ATTR(in3_input, S_IRUGO, get_in_input, NULL, 3);
263 static SENSOR_DEVICE_ATTR(in4_input, S_IRUGO, get_in_input, NULL, 4);
264 static SENSOR_DEVICE_ATTR(in0_min, S_IRUGO | S_IWUSR,
266 static SENSOR_DEVICE_ATTR(in1_min, S_IRUGO | S_IWUSR,
268 static SENSOR_DEVICE_ATTR(in2_min, S_IRUGO | S_IWUSR,
270 static SENSOR_DEVICE_ATTR(in3_min, S_IRUGO | S_IWUSR,
272 static SENSOR_DEVICE_ATTR(in4_min, S_IRUGO | S_IWUSR,
[all …]
Dlm93.c1118 static SENSOR_DEVICE_ATTR(in1_input, S_IRUGO, show_in, NULL, 0);
1119 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, show_in, NULL, 1);
1120 static SENSOR_DEVICE_ATTR(in3_input, S_IRUGO, show_in, NULL, 2);
1121 static SENSOR_DEVICE_ATTR(in4_input, S_IRUGO, show_in, NULL, 3);
1122 static SENSOR_DEVICE_ATTR(in5_input, S_IRUGO, show_in, NULL, 4);
1123 static SENSOR_DEVICE_ATTR(in6_input, S_IRUGO, show_in, NULL, 5);
1124 static SENSOR_DEVICE_ATTR(in7_input, S_IRUGO, show_in, NULL, 6);
1125 static SENSOR_DEVICE_ATTR(in8_input, S_IRUGO, show_in, NULL, 7);
1126 static SENSOR_DEVICE_ATTR(in9_input, S_IRUGO, show_in, NULL, 8);
1127 static SENSOR_DEVICE_ATTR(in10_input, S_IRUGO, show_in, NULL, 9);
[all …]
Dmc13783-adc.c115 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, mc13783_adc_read_bp, NULL, 2);
116 static SENSOR_DEVICE_ATTR(in5_input, S_IRUGO, mc13783_adc_read_gp, NULL, 5);
117 static SENSOR_DEVICE_ATTR(in6_input, S_IRUGO, mc13783_adc_read_gp, NULL, 6);
118 static SENSOR_DEVICE_ATTR(in7_input, S_IRUGO, mc13783_adc_read_gp, NULL, 7);
119 static SENSOR_DEVICE_ATTR(in8_input, S_IRUGO, mc13783_adc_read_gp, NULL, 8);
120 static SENSOR_DEVICE_ATTR(in9_input, S_IRUGO, mc13783_adc_read_gp, NULL, 9);
121 static SENSOR_DEVICE_ATTR(in10_input, S_IRUGO, mc13783_adc_read_gp, NULL, 10);
122 static SENSOR_DEVICE_ATTR(in11_input, S_IRUGO, mc13783_adc_read_gp, NULL, 11);
123 static SENSOR_DEVICE_ATTR(in12_input, S_IRUGO, mc13783_adc_read_gp, NULL, 12);
124 static SENSOR_DEVICE_ATTR(in13_input, S_IRUGO, mc13783_adc_read_gp, NULL, 13);
[all …]
Dadm1029.c249 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
250 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1);
251 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2);
253 static SENSOR_DEVICE_ATTR(temp1_max, S_IRUGO, show_temp, NULL, 3);
254 static SENSOR_DEVICE_ATTR(temp2_max, S_IRUGO, show_temp, NULL, 4);
255 static SENSOR_DEVICE_ATTR(temp3_max, S_IRUGO, show_temp, NULL, 5);
257 static SENSOR_DEVICE_ATTR(temp1_min, S_IRUGO, show_temp, NULL, 6);
258 static SENSOR_DEVICE_ATTR(temp2_min, S_IRUGO, show_temp, NULL, 7);
259 static SENSOR_DEVICE_ATTR(temp3_min, S_IRUGO, show_temp, NULL, 8);
261 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0);
[all …]
Demc1403.c186 static SENSOR_DEVICE_ATTR(temp1_min, S_IRUGO | S_IWUSR,
188 static SENSOR_DEVICE_ATTR(temp1_max, S_IRUGO | S_IWUSR,
190 static SENSOR_DEVICE_ATTR(temp1_crit, S_IRUGO | S_IWUSR,
192 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0x00);
199 static SENSOR_DEVICE_ATTR(temp1_crit_hyst, S_IRUGO | S_IWUSR,
202 static SENSOR_DEVICE_ATTR(temp2_min, S_IRUGO | S_IWUSR,
204 static SENSOR_DEVICE_ATTR(temp2_max, S_IRUGO | S_IWUSR,
206 static SENSOR_DEVICE_ATTR(temp2_crit, S_IRUGO | S_IWUSR,
208 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 0x01);
215 static SENSOR_DEVICE_ATTR(temp2_crit_hyst, S_IRUGO | S_IWUSR,
[all …]
Dmax6639.c351 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp_input, NULL, 0);
352 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp_input, NULL, 1);
353 static SENSOR_DEVICE_ATTR(temp1_fault, S_IRUGO, show_temp_fault, NULL, 0);
354 static SENSOR_DEVICE_ATTR(temp2_fault, S_IRUGO, show_temp_fault, NULL, 1);
355 static SENSOR_DEVICE_ATTR(temp1_max, S_IWUSR | S_IRUGO, show_temp_max,
357 static SENSOR_DEVICE_ATTR(temp2_max, S_IWUSR | S_IRUGO, show_temp_max,
359 static SENSOR_DEVICE_ATTR(temp1_crit, S_IWUSR | S_IRUGO, show_temp_crit,
361 static SENSOR_DEVICE_ATTR(temp2_crit, S_IWUSR | S_IRUGO, show_temp_crit,
363 static SENSOR_DEVICE_ATTR(temp1_emergency, S_IWUSR | S_IRUGO,
365 static SENSOR_DEVICE_ATTR(temp2_emergency, S_IWUSR | S_IRUGO,
[all …]
Demc2103.c471 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
472 static SENSOR_DEVICE_ATTR(temp1_min, S_IRUGO | S_IWUSR, show_temp_min,
474 static SENSOR_DEVICE_ATTR(temp1_max, S_IRUGO | S_IWUSR, show_temp_max,
476 static SENSOR_DEVICE_ATTR(temp1_fault, S_IRUGO, show_temp_fault, NULL, 0);
477 static SENSOR_DEVICE_ATTR(temp1_min_alarm, S_IRUGO, show_temp_min_alarm,
479 static SENSOR_DEVICE_ATTR(temp1_max_alarm, S_IRUGO, show_temp_max_alarm,
482 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1);
483 static SENSOR_DEVICE_ATTR(temp2_min, S_IRUGO | S_IWUSR, show_temp_min,
485 static SENSOR_DEVICE_ATTR(temp2_max, S_IRUGO | S_IWUSR, show_temp_max,
487 static SENSOR_DEVICE_ATTR(temp2_fault, S_IRUGO, show_temp_fault, NULL, 1);
[all …]
Df75375s.c672 static SENSOR_DEVICE_ATTR(in0_input, S_IRUGO, show_in, NULL, 0);
673 static SENSOR_DEVICE_ATTR(in0_max, S_IRUGO|S_IWUSR,
675 static SENSOR_DEVICE_ATTR(in0_min, S_IRUGO|S_IWUSR,
677 static SENSOR_DEVICE_ATTR(in1_input, S_IRUGO, show_in, NULL, 1);
678 static SENSOR_DEVICE_ATTR(in1_max, S_IRUGO|S_IWUSR,
680 static SENSOR_DEVICE_ATTR(in1_min, S_IRUGO|S_IWUSR,
682 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, show_in, NULL, 2);
683 static SENSOR_DEVICE_ATTR(in2_max, S_IRUGO|S_IWUSR,
685 static SENSOR_DEVICE_ATTR(in2_min, S_IRUGO|S_IWUSR,
687 static SENSOR_DEVICE_ATTR(in3_input, S_IRUGO, show_in, NULL, 3);
[all …]
Dw83781d.c296 static SENSOR_DEVICE_ATTR(in##offset##_input, S_IRUGO, \
298 static SENSOR_DEVICE_ATTR(in##offset##_min, S_IRUGO | S_IWUSR, \
300 static SENSOR_DEVICE_ATTR(in##offset##_max, S_IRUGO | S_IWUSR, \
350 static SENSOR_DEVICE_ATTR(fan1_input, S_IRUGO, show_fan, NULL, 0);
351 static SENSOR_DEVICE_ATTR(fan1_min, S_IRUGO | S_IWUSR,
353 static SENSOR_DEVICE_ATTR(fan2_input, S_IRUGO, show_fan, NULL, 1);
354 static SENSOR_DEVICE_ATTR(fan2_min, S_IRUGO | S_IWUSR,
356 static SENSOR_DEVICE_ATTR(fan3_input, S_IRUGO, show_fan, NULL, 2);
357 static SENSOR_DEVICE_ATTR(fan3_min, S_IRUGO | S_IWUSR,
408 static SENSOR_DEVICE_ATTR(temp##offset##_input, S_IRUGO, \
[all …]
Damc6821.c704 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO,
706 static SENSOR_DEVICE_ATTR(temp1_min, S_IRUGO | S_IWUSR, get_temp,
708 static SENSOR_DEVICE_ATTR(temp1_max, S_IRUGO | S_IWUSR, get_temp,
710 static SENSOR_DEVICE_ATTR(temp1_crit, S_IRUGO | S_IWUSR, get_temp,
712 static SENSOR_DEVICE_ATTR(temp1_min_alarm, S_IRUGO,
714 static SENSOR_DEVICE_ATTR(temp1_max_alarm, S_IRUGO,
716 static SENSOR_DEVICE_ATTR(temp1_crit_alarm, S_IRUGO,
718 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO,
720 static SENSOR_DEVICE_ATTR(temp2_min, S_IRUGO | S_IWUSR, get_temp,
722 static SENSOR_DEVICE_ATTR(temp2_max, S_IRUGO | S_IWUSR, get_temp,
[all …]
Dads7871.c148 static SENSOR_DEVICE_ATTR(in0_input, S_IRUGO, show_voltage, NULL, 0);
149 static SENSOR_DEVICE_ATTR(in1_input, S_IRUGO, show_voltage, NULL, 1);
150 static SENSOR_DEVICE_ATTR(in2_input, S_IRUGO, show_voltage, NULL, 2);
151 static SENSOR_DEVICE_ATTR(in3_input, S_IRUGO, show_voltage, NULL, 3);
152 static SENSOR_DEVICE_ATTR(in4_input, S_IRUGO, show_voltage, NULL, 4);
153 static SENSOR_DEVICE_ATTR(in5_input, S_IRUGO, show_voltage, NULL, 5);
154 static SENSOR_DEVICE_ATTR(in6_input, S_IRUGO, show_voltage, NULL, 6);
155 static SENSOR_DEVICE_ATTR(in7_input, S_IRUGO, show_voltage, NULL, 7);
Dw83627hf.c473 static SENSOR_DEVICE_ATTR(in##offset##_input, S_IRUGO, \
475 static SENSOR_DEVICE_ATTR(in##offset##_min, S_IRUGO|S_IWUSR, \
477 static SENSOR_DEVICE_ATTR(in##offset##_max, S_IRUGO|S_IWUSR, \
629 static SENSOR_DEVICE_ATTR(fan##offset##_input, S_IRUGO, \
631 static SENSOR_DEVICE_ATTR(fan##offset##_min, S_IRUGO | S_IWUSR, \
718 static SENSOR_DEVICE_ATTR(temp##offset##_input, S_IRUGO, \
720 static SENSOR_DEVICE_ATTR(temp##offset##_max, S_IRUGO|S_IWUSR, \
722 static SENSOR_DEVICE_ATTR(temp##offset##_max_hyst, S_IRUGO|S_IWUSR, \
774 static SENSOR_DEVICE_ATTR(in0_alarm, S_IRUGO, show_alarm, NULL, 0);
775 static SENSOR_DEVICE_ATTR(in1_alarm, S_IRUGO, show_alarm, NULL, 1);
[all …]
Dadm1031.c332 static SENSOR_DEVICE_ATTR(auto_fan1_channel, S_IRUGO | S_IWUSR,
334 static SENSOR_DEVICE_ATTR(auto_fan2_channel, S_IRUGO | S_IWUSR,
407 static SENSOR_DEVICE_ATTR(auto_temp##offset##_off, S_IRUGO, \
409 static SENSOR_DEVICE_ATTR(auto_temp##offset##_min, S_IRUGO | S_IWUSR, \
411 static SENSOR_DEVICE_ATTR(auto_temp##offset##_max, S_IRUGO | S_IWUSR, \
455 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 0);
456 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 1);
457 static SENSOR_DEVICE_ATTR(auto_fan1_min_pwm, S_IRUGO | S_IWUSR,
459 static SENSOR_DEVICE_ATTR(auto_fan2_min_pwm, S_IRUGO | S_IWUSR,
612 static SENSOR_DEVICE_ATTR(fan##offset##_input, S_IRUGO, \
[all …]

1234