/linux-6.1.9/drivers/hwmon/ |
D | max16065.c | 274 static SENSOR_DEVICE_ATTR_2_RW(in0_lcrit, max16065_limit, 2, 0); 275 static SENSOR_DEVICE_ATTR_2_RW(in1_lcrit, max16065_limit, 2, 1); 276 static SENSOR_DEVICE_ATTR_2_RW(in2_lcrit, max16065_limit, 2, 2); 277 static SENSOR_DEVICE_ATTR_2_RW(in3_lcrit, max16065_limit, 2, 3); 278 static SENSOR_DEVICE_ATTR_2_RW(in4_lcrit, max16065_limit, 2, 4); 279 static SENSOR_DEVICE_ATTR_2_RW(in5_lcrit, max16065_limit, 2, 5); 280 static SENSOR_DEVICE_ATTR_2_RW(in6_lcrit, max16065_limit, 2, 6); 281 static SENSOR_DEVICE_ATTR_2_RW(in7_lcrit, max16065_limit, 2, 7); 282 static SENSOR_DEVICE_ATTR_2_RW(in8_lcrit, max16065_limit, 2, 8); 283 static SENSOR_DEVICE_ATTR_2_RW(in9_lcrit, max16065_limit, 2, 9); [all …]
|
D | emc6w201.c | 304 static SENSOR_DEVICE_ATTR_2_RW(in0_min, in, 0, min); 305 static SENSOR_DEVICE_ATTR_2_RW(in0_max, in, 0, max); 307 static SENSOR_DEVICE_ATTR_2_RW(in1_min, in, 1, min); 308 static SENSOR_DEVICE_ATTR_2_RW(in1_max, in, 1, max); 310 static SENSOR_DEVICE_ATTR_2_RW(in2_min, in, 2, min); 311 static SENSOR_DEVICE_ATTR_2_RW(in2_max, in, 2, max); 313 static SENSOR_DEVICE_ATTR_2_RW(in3_min, in, 3, min); 314 static SENSOR_DEVICE_ATTR_2_RW(in3_max, in, 3, max); 316 static SENSOR_DEVICE_ATTR_2_RW(in4_min, in, 4, min); 317 static SENSOR_DEVICE_ATTR_2_RW(in4_max, in, 4, max); [all …]
|
D | nct7802.c | 581 static SENSOR_DEVICE_ATTR_2_RW(temp1_min, temp, 0x31, 0); 582 static SENSOR_DEVICE_ATTR_2_RW(temp1_max, temp, 0x30, 0); 583 static SENSOR_DEVICE_ATTR_2_RW(temp1_crit, temp, 0x3a, 0); 587 static SENSOR_DEVICE_ATTR_2_RW(temp2_min, temp, 0x33, 0); 588 static SENSOR_DEVICE_ATTR_2_RW(temp2_max, temp, 0x32, 0); 589 static SENSOR_DEVICE_ATTR_2_RW(temp2_crit, temp, 0x3b, 0); 593 static SENSOR_DEVICE_ATTR_2_RW(temp3_min, temp, 0x35, 0); 594 static SENSOR_DEVICE_ATTR_2_RW(temp3_max, temp, 0x34, 0); 595 static SENSOR_DEVICE_ATTR_2_RW(temp3_crit, temp, 0x3c, 0); 598 static SENSOR_DEVICE_ATTR_2_RW(temp4_min, temp, 0x37, 0); [all …]
|
D | adt7475.c | 1085 static SENSOR_DEVICE_ATTR_2_RW(in0_max, voltage, MAX, 0); 1086 static SENSOR_DEVICE_ATTR_2_RW(in0_min, voltage, MIN, 0); 1089 static SENSOR_DEVICE_ATTR_2_RW(in1_max, voltage, MAX, 1); 1090 static SENSOR_DEVICE_ATTR_2_RW(in1_min, voltage, MIN, 1); 1093 static SENSOR_DEVICE_ATTR_2_RW(in2_max, voltage, MAX, 2); 1094 static SENSOR_DEVICE_ATTR_2_RW(in2_min, voltage, MIN, 2); 1097 static SENSOR_DEVICE_ATTR_2_RW(in3_max, voltage, MAX, 3); 1098 static SENSOR_DEVICE_ATTR_2_RW(in3_min, voltage, MIN, 3); 1101 static SENSOR_DEVICE_ATTR_2_RW(in4_max, voltage, MAX, 4); 1102 static SENSOR_DEVICE_ATTR_2_RW(in4_min, voltage, MIN, 4); [all …]
|
D | adc128d818.c | 268 static SENSOR_DEVICE_ATTR_2_RW(in0_min, adc128_in, 0, 1); 269 static SENSOR_DEVICE_ATTR_2_RW(in0_max, adc128_in, 0, 2); 272 static SENSOR_DEVICE_ATTR_2_RW(in1_min, adc128_in, 1, 1); 273 static SENSOR_DEVICE_ATTR_2_RW(in1_max, adc128_in, 1, 2); 276 static SENSOR_DEVICE_ATTR_2_RW(in2_min, adc128_in, 2, 1); 277 static SENSOR_DEVICE_ATTR_2_RW(in2_max, adc128_in, 2, 2); 280 static SENSOR_DEVICE_ATTR_2_RW(in3_min, adc128_in, 3, 1); 281 static SENSOR_DEVICE_ATTR_2_RW(in3_max, adc128_in, 3, 2); 284 static SENSOR_DEVICE_ATTR_2_RW(in4_min, adc128_in, 4, 1); 285 static SENSOR_DEVICE_ATTR_2_RW(in4_max, adc128_in, 4, 2); [all …]
|
D | lm80.c | 450 static SENSOR_DEVICE_ATTR_2_RW(in0_min, in, i_min, 0); 451 static SENSOR_DEVICE_ATTR_2_RW(in1_min, in, i_min, 1); 452 static SENSOR_DEVICE_ATTR_2_RW(in2_min, in, i_min, 2); 453 static SENSOR_DEVICE_ATTR_2_RW(in3_min, in, i_min, 3); 454 static SENSOR_DEVICE_ATTR_2_RW(in4_min, in, i_min, 4); 455 static SENSOR_DEVICE_ATTR_2_RW(in5_min, in, i_min, 5); 456 static SENSOR_DEVICE_ATTR_2_RW(in6_min, in, i_min, 6); 457 static SENSOR_DEVICE_ATTR_2_RW(in0_max, in, i_max, 0); 458 static SENSOR_DEVICE_ATTR_2_RW(in1_max, in, i_max, 1); 459 static SENSOR_DEVICE_ATTR_2_RW(in2_max, in, i_max, 2); [all …]
|
D | max6697.c | 392 static SENSOR_DEVICE_ATTR_2_RW(temp1_max, temp, 0, MAX6697_TEMP_MAX); 393 static SENSOR_DEVICE_ATTR_2_RW(temp1_crit, temp, 0, MAX6697_TEMP_CRIT); 396 static SENSOR_DEVICE_ATTR_2_RW(temp2_max, temp, 1, MAX6697_TEMP_MAX); 397 static SENSOR_DEVICE_ATTR_2_RW(temp2_crit, temp, 1, MAX6697_TEMP_CRIT); 400 static SENSOR_DEVICE_ATTR_2_RW(temp3_max, temp, 2, MAX6697_TEMP_MAX); 401 static SENSOR_DEVICE_ATTR_2_RW(temp3_crit, temp, 2, MAX6697_TEMP_CRIT); 404 static SENSOR_DEVICE_ATTR_2_RW(temp4_max, temp, 3, MAX6697_TEMP_MAX); 405 static SENSOR_DEVICE_ATTR_2_RW(temp4_crit, temp, 3, MAX6697_TEMP_CRIT); 408 static SENSOR_DEVICE_ATTR_2_RW(temp5_max, temp, 4, MAX6697_TEMP_MAX); 409 static SENSOR_DEVICE_ATTR_2_RW(temp5_crit, temp, 4, MAX6697_TEMP_CRIT); [all …]
|
D | lm93.c | 1484 static SENSOR_DEVICE_ATTR_2_RW(temp1_auto_offset1, temp_auto_offset, 0, 0); 1485 static SENSOR_DEVICE_ATTR_2_RW(temp1_auto_offset2, temp_auto_offset, 1, 0); 1486 static SENSOR_DEVICE_ATTR_2_RW(temp1_auto_offset3, temp_auto_offset, 2, 0); 1487 static SENSOR_DEVICE_ATTR_2_RW(temp1_auto_offset4, temp_auto_offset, 3, 0); 1488 static SENSOR_DEVICE_ATTR_2_RW(temp1_auto_offset5, temp_auto_offset, 4, 0); 1489 static SENSOR_DEVICE_ATTR_2_RW(temp1_auto_offset6, temp_auto_offset, 5, 0); 1490 static SENSOR_DEVICE_ATTR_2_RW(temp1_auto_offset7, temp_auto_offset, 6, 0); 1491 static SENSOR_DEVICE_ATTR_2_RW(temp1_auto_offset8, temp_auto_offset, 7, 0); 1492 static SENSOR_DEVICE_ATTR_2_RW(temp1_auto_offset9, temp_auto_offset, 8, 0); 1493 static SENSOR_DEVICE_ATTR_2_RW(temp1_auto_offset10, temp_auto_offset, 9, 0); [all …]
|
D | max6642.c | 246 static SENSOR_DEVICE_ATTR_2_RW(temp1_max, temp_max, 0, 248 static SENSOR_DEVICE_ATTR_2_RW(temp2_max, temp_max, 1,
|
D | amc6821.c | 721 static SENSOR_DEVICE_ATTR_2_RW(temp1_auto_point2_temp, temp_auto_point_temp, 723 static SENSOR_DEVICE_ATTR_2_RW(temp1_auto_point3_temp, temp_auto_point_temp, 726 static SENSOR_DEVICE_ATTR_2_RW(temp2_auto_point1_temp, temp_auto_point_temp, 728 static SENSOR_DEVICE_ATTR_2_RW(temp2_auto_point2_temp, temp_auto_point_temp, 730 static SENSOR_DEVICE_ATTR_2_RW(temp2_auto_point3_temp, temp_auto_point_temp,
|
D | emc1403.c | 212 static SENSOR_DEVICE_ATTR_2_RW(power_state, bit, 0x03, 0x40);
|
/linux-6.1.9/drivers/platform/x86/ |
D | asus-wmi.c | 2644 static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point1_temp, fan_curve, 2646 static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point2_temp, fan_curve, 2648 static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point3_temp, fan_curve, 2650 static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point4_temp, fan_curve, 2652 static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point5_temp, fan_curve, 2654 static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point6_temp, fan_curve, 2656 static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point7_temp, fan_curve, 2658 static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point8_temp, fan_curve, 2661 static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point1_pwm, fan_curve, 2663 static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point2_pwm, fan_curve, [all …]
|
/linux-6.1.9/include/linux/ |
D | hwmon-sysfs.h | 75 #define SENSOR_DEVICE_ATTR_2_RW(_name, _func, _nr, _index) \ macro
|