Home
last modified time | relevance | path

Searched refs:SENSOR_DEVICE_ATTR_RW (Results 1 – 25 of 54) sorted by relevance

123

/openbmc/linux/drivers/hwmon/
H A Dadt7462.c1425 static SENSOR_DEVICE_ATTR_RW(in1_max, volt_max, 0);
1426 static SENSOR_DEVICE_ATTR_RW(in2_max, volt_max, 1);
1427 static SENSOR_DEVICE_ATTR_RW(in3_max, volt_max, 2);
1428 static SENSOR_DEVICE_ATTR_RW(in4_max, volt_max, 3);
1429 static SENSOR_DEVICE_ATTR_RW(in5_max, volt_max, 4);
1430 static SENSOR_DEVICE_ATTR_RW(in6_max, volt_max, 5);
1431 static SENSOR_DEVICE_ATTR_RW(in7_max, volt_max, 6);
1545 static SENSOR_DEVICE_ATTR_RW(pwm1, pwm, 0);
1546 static SENSOR_DEVICE_ATTR_RW(pwm2, pwm, 1);
1547 static SENSOR_DEVICE_ATTR_RW(pwm3, pwm, 2);
[all …]
H A Dlm85.c831 static SENSOR_DEVICE_ATTR_RW(pwm1, pwm, 0);
834 static SENSOR_DEVICE_ATTR_RW(pwm2, pwm, 1);
837 static SENSOR_DEVICE_ATTR_RW(pwm3, pwm, 2);
909 static SENSOR_DEVICE_ATTR_RW(in0_min, in_min, 0);
910 static SENSOR_DEVICE_ATTR_RW(in0_max, in_max, 0);
912 static SENSOR_DEVICE_ATTR_RW(in1_min, in_min, 1);
913 static SENSOR_DEVICE_ATTR_RW(in1_max, in_max, 1);
915 static SENSOR_DEVICE_ATTR_RW(in2_min, in_min, 2);
916 static SENSOR_DEVICE_ATTR_RW(in2_max, in_max, 2);
918 static SENSOR_DEVICE_ATTR_RW(in3_min, in_min, 3);
[all …]
H A Dsmsc47m192.c241 static SENSOR_DEVICE_ATTR_RW(in0_min, in_min, 0);
242 static SENSOR_DEVICE_ATTR_RW(in0_max, in_max, 0);
244 static SENSOR_DEVICE_ATTR_RW(in1_min, in_min, 1);
245 static SENSOR_DEVICE_ATTR_RW(in1_max, in_max, 1);
247 static SENSOR_DEVICE_ATTR_RW(in2_min, in_min, 2);
248 static SENSOR_DEVICE_ATTR_RW(in2_max, in_max, 2);
250 static SENSOR_DEVICE_ATTR_RW(in3_min, in_min, 3);
251 static SENSOR_DEVICE_ATTR_RW(in3_max, in_max, 3);
253 static SENSOR_DEVICE_ATTR_RW(in4_min, in_min, 4);
254 static SENSOR_DEVICE_ATTR_RW(in4_max, in_max, 4);
[all …]
H A Dadm1026.c533 static SENSOR_DEVICE_ATTR_RW(in0_min, in_min, 0);
534 static SENSOR_DEVICE_ATTR_RW(in0_max, in_max, 0);
536 static SENSOR_DEVICE_ATTR_RW(in1_min, in_min, 1);
537 static SENSOR_DEVICE_ATTR_RW(in1_max, in_max, 1);
539 static SENSOR_DEVICE_ATTR_RW(in2_min, in_min, 2);
540 static SENSOR_DEVICE_ATTR_RW(in2_max, in_max, 2);
542 static SENSOR_DEVICE_ATTR_RW(in3_min, in_min, 3);
543 static SENSOR_DEVICE_ATTR_RW(in3_max, in_max, 3);
545 static SENSOR_DEVICE_ATTR_RW(in4_min, in_min, 4);
546 static SENSOR_DEVICE_ATTR_RW(in4_max, in_max, 4);
[all …]
H A Dlm93.c1175 static SENSOR_DEVICE_ATTR_RW(in1_min, in_min, 0);
1176 static SENSOR_DEVICE_ATTR_RW(in2_min, in_min, 1);
1177 static SENSOR_DEVICE_ATTR_RW(in3_min, in_min, 2);
1178 static SENSOR_DEVICE_ATTR_RW(in4_min, in_min, 3);
1179 static SENSOR_DEVICE_ATTR_RW(in5_min, in_min, 4);
1180 static SENSOR_DEVICE_ATTR_RW(in6_min, in_min, 5);
1181 static SENSOR_DEVICE_ATTR_RW(in7_min, in_min, 6);
1182 static SENSOR_DEVICE_ATTR_RW(in8_min, in_min, 7);
1183 static SENSOR_DEVICE_ATTR_RW(in9_min, in_min, 8);
1793 static SENSOR_DEVICE_ATTR_RW(pwm1, pwm, 0);
[all …]
H A Dw83627hf.c989 static SENSOR_DEVICE_ATTR_RW(in0_beep, beep, 0);
990 static SENSOR_DEVICE_ATTR_RW(in1_beep, beep, 1);
991 static SENSOR_DEVICE_ATTR_RW(in2_beep, beep, 2);
992 static SENSOR_DEVICE_ATTR_RW(in3_beep, beep, 3);
993 static SENSOR_DEVICE_ATTR_RW(in4_beep, beep, 8);
994 static SENSOR_DEVICE_ATTR_RW(in5_beep, beep, 9);
995 static SENSOR_DEVICE_ATTR_RW(in6_beep, beep, 10);
996 static SENSOR_DEVICE_ATTR_RW(in7_beep, beep, 16);
1470 static SENSOR_DEVICE_ATTR_RW(pwm1, pwm, 0);
1471 static SENSOR_DEVICE_ATTR_RW(pwm2, pwm, 1);
[all …]
H A Dgl520sm.c317 static SENSOR_DEVICE_ATTR_RW(in0_min, in_min, 0);
318 static SENSOR_DEVICE_ATTR_RW(in1_min, in_min, 1);
319 static SENSOR_DEVICE_ATTR_RW(in2_min, in_min, 2);
320 static SENSOR_DEVICE_ATTR_RW(in3_min, in_min, 3);
321 static SENSOR_DEVICE_ATTR_RW(in4_min, in_min, 4);
322 static SENSOR_DEVICE_ATTR_RW(in0_max, in_max, 0);
323 static SENSOR_DEVICE_ATTR_RW(in1_max, in_max, 1);
324 static SENSOR_DEVICE_ATTR_RW(in2_max, in_max, 2);
325 static SENSOR_DEVICE_ATTR_RW(in3_max, in_max, 3);
326 static SENSOR_DEVICE_ATTR_RW(in4_max, in_max, 4);
[all …]
H A Demc1403.c165 static SENSOR_DEVICE_ATTR_RW(temp1_min, temp, 0x06);
166 static SENSOR_DEVICE_ATTR_RW(temp1_max, temp, 0x05);
167 static SENSOR_DEVICE_ATTR_RW(temp1_crit, temp, 0x20);
176 static SENSOR_DEVICE_ATTR_RW(temp2_min, temp, 0x08);
177 static SENSOR_DEVICE_ATTR_RW(temp2_max, temp, 0x07);
178 static SENSOR_DEVICE_ATTR_RW(temp2_crit, temp, 0x19);
188 static SENSOR_DEVICE_ATTR_RW(temp3_min, temp, 0x16);
189 static SENSOR_DEVICE_ATTR_RW(temp3_max, temp, 0x15);
190 static SENSOR_DEVICE_ATTR_RW(temp3_crit, temp, 0x1A);
200 static SENSOR_DEVICE_ATTR_RW(temp4_min, temp, 0x2D);
[all …]
H A Dadm1025.c257 static SENSOR_DEVICE_ATTR_RW(in0_min, in_min, 0);
258 static SENSOR_DEVICE_ATTR_RW(in0_max, in_max, 0);
260 static SENSOR_DEVICE_ATTR_RW(in1_min, in_min, 1);
261 static SENSOR_DEVICE_ATTR_RW(in1_max, in_max, 1);
263 static SENSOR_DEVICE_ATTR_RW(in2_min, in_min, 2);
264 static SENSOR_DEVICE_ATTR_RW(in2_max, in_max, 2);
266 static SENSOR_DEVICE_ATTR_RW(in3_min, in_min, 3);
267 static SENSOR_DEVICE_ATTR_RW(in3_max, in_max, 3);
269 static SENSOR_DEVICE_ATTR_RW(in4_min, in_min, 4);
270 static SENSOR_DEVICE_ATTR_RW(in4_max, in_max, 4);
[all …]
H A Dlm87.c339 static SENSOR_DEVICE_ATTR_RW(in0_min, in_min, 0);
340 static SENSOR_DEVICE_ATTR_RW(in0_max, in_max, 0);
342 static SENSOR_DEVICE_ATTR_RW(in1_min, in_min, 1);
343 static SENSOR_DEVICE_ATTR_RW(in1_max, in_max, 1);
345 static SENSOR_DEVICE_ATTR_RW(in2_min, in_min, 2);
346 static SENSOR_DEVICE_ATTR_RW(in2_max, in_max, 2);
348 static SENSOR_DEVICE_ATTR_RW(in3_min, in_min, 3);
349 static SENSOR_DEVICE_ATTR_RW(in3_max, in_max, 3);
351 static SENSOR_DEVICE_ATTR_RW(in4_min, in_min, 4);
352 static SENSOR_DEVICE_ATTR_RW(in4_max, in_max, 4);
[all …]
H A Dadm1031.c502 static SENSOR_DEVICE_ATTR_RW(pwm1, pwm, 0);
503 static SENSOR_DEVICE_ATTR_RW(pwm2, pwm, 1);
658 static SENSOR_DEVICE_ATTR_RW(fan1_min, fan_min, 0);
659 static SENSOR_DEVICE_ATTR_RW(fan1_div, fan_div, 0);
661 static SENSOR_DEVICE_ATTR_RW(fan2_min, fan_min, 1);
662 static SENSOR_DEVICE_ATTR_RW(fan2_div, fan_div, 1);
796 static SENSOR_DEVICE_ATTR_RW(temp1_min, temp_min, 0);
797 static SENSOR_DEVICE_ATTR_RW(temp1_max, temp_max, 0);
801 static SENSOR_DEVICE_ATTR_RW(temp2_min, temp_min, 1);
802 static SENSOR_DEVICE_ATTR_RW(temp2_max, temp_max, 1);
[all …]
H A Dvia686a.c475 static SENSOR_DEVICE_ATTR_RW(in0_min, in_min, 0);
476 static SENSOR_DEVICE_ATTR_RW(in0_max, in_max, 0);
478 static SENSOR_DEVICE_ATTR_RW(in1_min, in_min, 1);
479 static SENSOR_DEVICE_ATTR_RW(in1_max, in_max, 1);
481 static SENSOR_DEVICE_ATTR_RW(in2_min, in_min, 2);
482 static SENSOR_DEVICE_ATTR_RW(in2_max, in_max, 2);
484 static SENSOR_DEVICE_ATTR_RW(in3_min, in_min, 3);
485 static SENSOR_DEVICE_ATTR_RW(in3_max, in_max, 3);
487 static SENSOR_DEVICE_ATTR_RW(in4_min, in_min, 4);
488 static SENSOR_DEVICE_ATTR_RW(in4_max, in_max, 4);
[all …]
H A Dvt8231.c386 static SENSOR_DEVICE_ATTR_RW(in0_min, in_min, 0);
387 static SENSOR_DEVICE_ATTR_RW(in0_max, in_max, 0);
389 static SENSOR_DEVICE_ATTR_RW(in1_min, in_min, 1);
390 static SENSOR_DEVICE_ATTR_RW(in1_max, in_max, 1);
392 static SENSOR_DEVICE_ATTR_RW(in2_min, in_min, 2);
393 static SENSOR_DEVICE_ATTR_RW(in2_max, in_max, 2);
395 static SENSOR_DEVICE_ATTR_RW(in3_min, in_min, 3);
396 static SENSOR_DEVICE_ATTR_RW(in3_max, in_max, 3);
398 static SENSOR_DEVICE_ATTR_RW(in4_min, in_min, 4);
399 static SENSOR_DEVICE_ATTR_RW(in4_max, in_max, 4);
[all …]
H A Dlm95234.c503 static SENSOR_DEVICE_ATTR_RW(temp1_max, tcrit1, 0);
504 static SENSOR_DEVICE_ATTR_RW(temp2_max, tcrit2, 0);
505 static SENSOR_DEVICE_ATTR_RW(temp3_max, tcrit2, 1);
506 static SENSOR_DEVICE_ATTR_RW(temp4_max, tcrit1, 3);
507 static SENSOR_DEVICE_ATTR_RW(temp5_max, tcrit1, 4);
521 static SENSOR_DEVICE_ATTR_RW(temp2_crit, tcrit1, 1);
522 static SENSOR_DEVICE_ATTR_RW(temp3_crit, tcrit1, 2);
530 static SENSOR_DEVICE_ATTR_RW(temp2_offset, offset, 0);
531 static SENSOR_DEVICE_ATTR_RW(temp3_offset, offset, 1);
532 static SENSOR_DEVICE_ATTR_RW(temp4_offset, offset, 2);
[all …]
H A Dina209.c377 static SENSOR_DEVICE_ATTR_RW(in0_max, ina209_value,
379 static SENSOR_DEVICE_ATTR_RW(in0_min, ina209_value,
381 static SENSOR_DEVICE_ATTR_RW(in0_crit_max, ina209_value,
383 static SENSOR_DEVICE_ATTR_RW(in0_crit_min, ina209_value,
399 static SENSOR_DEVICE_ATTR_RW(in1_max, ina209_value,
401 static SENSOR_DEVICE_ATTR_RW(in1_min, ina209_value,
403 static SENSOR_DEVICE_ATTR_RW(in1_crit_max, ina209_value,
405 static SENSOR_DEVICE_ATTR_RW(in1_crit_min, ina209_value,
418 static SENSOR_DEVICE_ATTR_RW(power1_max, ina209_value, INA209_POWER_WARN);
419 static SENSOR_DEVICE_ATTR_RW(power1_crit, ina209_value,
[all …]
H A Dlm78.c207 static SENSOR_DEVICE_ATTR_RW(in0_min, in_min, 0);
208 static SENSOR_DEVICE_ATTR_RW(in0_max, in_max, 0);
210 static SENSOR_DEVICE_ATTR_RW(in1_min, in_min, 1);
211 static SENSOR_DEVICE_ATTR_RW(in1_max, in_max, 1);
213 static SENSOR_DEVICE_ATTR_RW(in2_min, in_min, 2);
214 static SENSOR_DEVICE_ATTR_RW(in2_max, in_max, 2);
216 static SENSOR_DEVICE_ATTR_RW(in3_min, in_min, 3);
217 static SENSOR_DEVICE_ATTR_RW(in3_max, in_max, 3);
219 static SENSOR_DEVICE_ATTR_RW(in4_min, in_min, 4);
220 static SENSOR_DEVICE_ATTR_RW(in4_max, in_max, 4);
[all …]
H A Daxi-fan-control.c417 static SENSOR_DEVICE_ATTR_RW(pwm1_auto_point1_temp_hyst, axi_fan_control, ADI_REG_TEMP_00_H);
419 static SENSOR_DEVICE_ATTR_RW(pwm1_auto_point1_temp, axi_fan_control, ADI_REG_TEMP_25_L);
421 static SENSOR_DEVICE_ATTR_RW(pwm1_auto_point2_temp_hyst, axi_fan_control, ADI_REG_TEMP_25_H);
423 static SENSOR_DEVICE_ATTR_RW(pwm1_auto_point2_temp, axi_fan_control, ADI_REG_TEMP_50_L);
425 static SENSOR_DEVICE_ATTR_RW(pwm1_auto_point3_temp_hyst, axi_fan_control, ADI_REG_TEMP_50_H);
427 static SENSOR_DEVICE_ATTR_RW(pwm1_auto_point3_temp, axi_fan_control, ADI_REG_TEMP_75_L);
429 static SENSOR_DEVICE_ATTR_RW(pwm1_auto_point4_temp_hyst, axi_fan_control, ADI_REG_TEMP_75_H);
431 static SENSOR_DEVICE_ATTR_RW(pwm1_auto_point4_temp, axi_fan_control, ADI_REG_TEMP_100_L);
H A Dnct7802.c579 static SENSOR_DEVICE_ATTR_RW(temp1_type, temp_type, 0);
585 static SENSOR_DEVICE_ATTR_RW(temp2_type, temp_type, 1);
591 static SENSOR_DEVICE_ATTR_RW(temp3_type, temp_type, 2);
844 static SENSOR_DEVICE_ATTR_RW(pwm1, pwm, REG_PWM(0));
845 static SENSOR_DEVICE_ATTR_RW(pwm2, pwm, REG_PWM(1));
846 static SENSOR_DEVICE_ATTR_RW(pwm3, pwm, REG_PWM(2));
849 static SENSOR_DEVICE_ATTR_RW(pwm1_enable, pwm_enable, 0);
850 static SENSOR_DEVICE_ATTR_RW(pwm2_enable, pwm_enable, 1);
851 static SENSOR_DEVICE_ATTR_RW(pwm3_enable, pwm_enable, 2);
916 static SENSOR_DEVICE_ATTR_RW(pwm1_auto_point1_pwm, pwm, 0x85);
[all …]
H A Dltc2945.c369 static SENSOR_DEVICE_ATTR_RW(in1_min, ltc2945_value, LTC2945_MIN_VIN_THRES_H);
370 static SENSOR_DEVICE_ATTR_RW(in1_max, ltc2945_value, LTC2945_MAX_VIN_THRES_H);
377 static SENSOR_DEVICE_ATTR_RW(in2_min, ltc2945_value, LTC2945_MIN_ADIN_THRES_H);
378 static SENSOR_DEVICE_ATTR_RW(in2_max, ltc2945_value, LTC2945_MAX_ADIN_THRES_H);
394 static SENSOR_DEVICE_ATTR_RW(curr1_min, ltc2945_value,
396 static SENSOR_DEVICE_ATTR_RW(curr1_max, ltc2945_value,
412 static SENSOR_DEVICE_ATTR_RW(power1_min, ltc2945_value,
414 static SENSOR_DEVICE_ATTR_RW(power1_max, ltc2945_value,
H A Dsis5595.c334 static SENSOR_DEVICE_ATTR_RW(in0_min, in_min, 0);
335 static SENSOR_DEVICE_ATTR_RW(in0_max, in_max, 0);
337 static SENSOR_DEVICE_ATTR_RW(in1_min, in_min, 1);
338 static SENSOR_DEVICE_ATTR_RW(in1_max, in_max, 1);
340 static SENSOR_DEVICE_ATTR_RW(in2_min, in_min, 2);
341 static SENSOR_DEVICE_ATTR_RW(in2_max, in_max, 2);
343 static SENSOR_DEVICE_ATTR_RW(in3_min, in_min, 3);
344 static SENSOR_DEVICE_ATTR_RW(in3_max, in_max, 3);
346 static SENSOR_DEVICE_ATTR_RW(in4_min, in_min, 4);
347 static SENSOR_DEVICE_ATTR_RW(in4_max, in_max, 4);
[all …]
H A Dsmsc47m1.c423 static SENSOR_DEVICE_ATTR_RW(fan1_min, fan_min, 0);
424 static SENSOR_DEVICE_ATTR_RW(fan1_div, fan_div, 0);
426 static SENSOR_DEVICE_ATTR_RW(pwm1, pwm, 0);
427 static SENSOR_DEVICE_ATTR_RW(pwm1_enable, pwm_en, 0);
429 static SENSOR_DEVICE_ATTR_RW(fan2_min, fan_min, 1);
430 static SENSOR_DEVICE_ATTR_RW(fan2_div, fan_div, 1);
432 static SENSOR_DEVICE_ATTR_RW(pwm2, pwm, 1);
433 static SENSOR_DEVICE_ATTR_RW(pwm2_enable, pwm_en, 1);
435 static SENSOR_DEVICE_ATTR_RW(fan3_min, fan_min, 2);
436 static SENSOR_DEVICE_ATTR_RW(fan3_div, fan_div, 2);
[all …]
H A Dthmc50.c249 static SENSOR_DEVICE_ATTR_RW(temp1_min, temp_min, 0);
250 static SENSOR_DEVICE_ATTR_RW(temp1_max, temp_max, 0);
253 static SENSOR_DEVICE_ATTR_RW(temp2_min, temp_min, 1);
254 static SENSOR_DEVICE_ATTR_RW(temp2_max, temp_max, 1);
257 static SENSOR_DEVICE_ATTR_RW(temp3_min, temp_min, 2);
258 static SENSOR_DEVICE_ATTR_RW(temp3_max, temp_max, 2);
267 static SENSOR_DEVICE_ATTR_RW(pwm1, analog_out, 0);
H A Dadt7470.c1040 static SENSOR_DEVICE_ATTR_RW(force_pwm_max, force_pwm_max, 0);
1042 static SENSOR_DEVICE_ATTR_RW(pwm1_auto_point1_pwm, pwm_min, 0);
1043 static SENSOR_DEVICE_ATTR_RW(pwm2_auto_point1_pwm, pwm_min, 1);
1044 static SENSOR_DEVICE_ATTR_RW(pwm3_auto_point1_pwm, pwm_min, 2);
1045 static SENSOR_DEVICE_ATTR_RW(pwm4_auto_point1_pwm, pwm_min, 3);
1047 static SENSOR_DEVICE_ATTR_RW(pwm1_auto_point2_pwm, pwm_max, 0);
1048 static SENSOR_DEVICE_ATTR_RW(pwm2_auto_point2_pwm, pwm_max, 1);
1049 static SENSOR_DEVICE_ATTR_RW(pwm3_auto_point2_pwm, pwm_max, 2);
1050 static SENSOR_DEVICE_ATTR_RW(pwm4_auto_point2_pwm, pwm_max, 3);
1052 static SENSOR_DEVICE_ATTR_RW(pwm1_auto_point1_temp, pwm_tmin, 0);
[all …]
H A Damc6821.c692 static SENSOR_DEVICE_ATTR_RW(temp1_min, temp, IDX_TEMP1_MIN);
693 static SENSOR_DEVICE_ATTR_RW(temp1_max, temp, IDX_TEMP1_MAX);
694 static SENSOR_DEVICE_ATTR_RW(temp1_crit, temp, IDX_TEMP1_CRIT);
699 static SENSOR_DEVICE_ATTR_RW(temp2_min, temp, IDX_TEMP2_MIN);
700 static SENSOR_DEVICE_ATTR_RW(temp2_max, temp, IDX_TEMP2_MAX);
701 static SENSOR_DEVICE_ATTR_RW(temp2_crit, temp, IDX_TEMP2_CRIT);
707 static SENSOR_DEVICE_ATTR_RW(fan1_min, fan, IDX_FAN1_MIN);
708 static SENSOR_DEVICE_ATTR_RW(fan1_max, fan, IDX_FAN1_MAX);
710 static SENSOR_DEVICE_ATTR_RW(fan1_div, fan1_div, 0);
712 static SENSOR_DEVICE_ATTR_RW(pwm1, pwm1, 0);
[all …]
H A Dgl518sm.c426 static SENSOR_DEVICE_ATTR_RW(fan1_min, fan_min, 0);
427 static SENSOR_DEVICE_ATTR_RW(fan2_min, fan_min, 1);
428 static SENSOR_DEVICE_ATTR_RW(fan1_div, fan_div, 0);
429 static SENSOR_DEVICE_ATTR_RW(fan2_div, fan_div, 1);
499 static SENSOR_DEVICE_ATTR_RW(in0_beep, beep, 0);
500 static SENSOR_DEVICE_ATTR_RW(in1_beep, beep, 1);
501 static SENSOR_DEVICE_ATTR_RW(in2_beep, beep, 2);
502 static SENSOR_DEVICE_ATTR_RW(in3_beep, beep, 3);
503 static SENSOR_DEVICE_ATTR_RW(temp1_beep, beep, 4);
504 static SENSOR_DEVICE_ATTR_RW(fan1_beep, beep, 5);
[all …]

123