Home
last modified time | relevance | path

Searched refs:SENSOR_DEVICE_ATTR_2_RW (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/hwmon/
H A Dmax16065.c310 static SENSOR_DEVICE_ATTR_2_RW(in0_min, max16065_limit, 0, 0);
311 static SENSOR_DEVICE_ATTR_2_RW(in1_min, max16065_limit, 0, 1);
312 static SENSOR_DEVICE_ATTR_2_RW(in2_min, max16065_limit, 0, 2);
313 static SENSOR_DEVICE_ATTR_2_RW(in3_min, max16065_limit, 0, 3);
314 static SENSOR_DEVICE_ATTR_2_RW(in4_min, max16065_limit, 0, 4);
315 static SENSOR_DEVICE_ATTR_2_RW(in5_min, max16065_limit, 0, 5);
316 static SENSOR_DEVICE_ATTR_2_RW(in6_min, max16065_limit, 0, 6);
317 static SENSOR_DEVICE_ATTR_2_RW(in7_min, max16065_limit, 0, 7);
318 static SENSOR_DEVICE_ATTR_2_RW(in8_min, max16065_limit, 0, 8);
319 static SENSOR_DEVICE_ATTR_2_RW(in9_min, max16065_limit, 0, 9);
[all …]
H A Demc6w201.c304 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 …]
H A Dnct7802.c740 static SENSOR_DEVICE_ATTR_2_RW(in0_min, in, 0, 1);
741 static SENSOR_DEVICE_ATTR_2_RW(in0_max, in, 0, 2);
743 static SENSOR_DEVICE_ATTR_2_RW(in0_beep, beep, 0x5a, 3);
748 static SENSOR_DEVICE_ATTR_2_RW(in2_min, in, 2, 1);
749 static SENSOR_DEVICE_ATTR_2_RW(in2_max, in, 2, 2);
751 static SENSOR_DEVICE_ATTR_2_RW(in2_beep, beep, 0x5a, 0);
754 static SENSOR_DEVICE_ATTR_2_RW(in3_min, in, 3, 1);
755 static SENSOR_DEVICE_ATTR_2_RW(in3_max, in, 3, 2);
757 static SENSOR_DEVICE_ATTR_2_RW(in3_beep, beep, 0x5a, 1);
760 static SENSOR_DEVICE_ATTR_2_RW(in4_min, in, 4, 1);
[all …]
H A Dadt7475.c1110 static SENSOR_DEVICE_ATTR_2_RW(temp1_max, temp, MAX, 0);
1111 static SENSOR_DEVICE_ATTR_2_RW(temp1_min, temp, MIN, 0);
1120 static SENSOR_DEVICE_ATTR_2_RW(temp2_max, temp, MAX, 1);
1121 static SENSOR_DEVICE_ATTR_2_RW(temp2_min, temp, MIN, 1);
1140 static SENSOR_DEVICE_ATTR_2_RW(fan1_min, tach, MIN, 0);
1143 static SENSOR_DEVICE_ATTR_2_RW(fan2_min, tach, MIN, 1);
1146 static SENSOR_DEVICE_ATTR_2_RW(fan3_min, tach, MIN, 2);
1149 static SENSOR_DEVICE_ATTR_2_RW(fan4_min, tach, MIN, 3);
1151 static SENSOR_DEVICE_ATTR_2_RW(pwm1, pwm, INPUT, 0);
1158 static SENSOR_DEVICE_ATTR_2_RW(pwm2, pwm, INPUT, 1);
[all …]
H A Dadc128d818.c268 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 …]
H A Dlm80.c450 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 …]
H A Dmax6697.c392 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);
408 static SENSOR_DEVICE_ATTR_2_RW(temp5_max, temp, 4, MAX6697_TEMP_MAX);
412 static SENSOR_DEVICE_ATTR_2_RW(temp6_max, temp, 5, MAX6697_TEMP_MAX);
416 static SENSOR_DEVICE_ATTR_2_RW(temp7_max, temp, 6, MAX6697_TEMP_MAX);
[all …]
H A Dlm93.c1484 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);
1496 static SENSOR_DEVICE_ATTR_2_RW(temp2_auto_offset1, temp_auto_offset, 0, 1);
[all …]
H A Dmax6642.c246 static SENSOR_DEVICE_ATTR_2_RW(temp1_max, temp_max, 0,
248 static SENSOR_DEVICE_ATTR_2_RW(temp2_max, temp_max, 1,
H A Damc6821.c721 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,
H A Demc1403.c212 static SENSOR_DEVICE_ATTR_2_RW(power_state, bit, 0x03, 0x40);
/openbmc/linux/drivers/platform/x86/
H A Dasus-wmi.c3169 static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point1_pwm, fan_curve,
3171 static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point2_pwm, fan_curve,
3173 static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point3_pwm, fan_curve,
3175 static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point4_pwm, fan_curve,
3177 static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point5_pwm, fan_curve,
3179 static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point6_pwm, fan_curve,
3181 static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point7_pwm, fan_curve,
3183 static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_point8_pwm, fan_curve,
3205 static SENSOR_DEVICE_ATTR_2_RW(pwm2_auto_point1_pwm, fan_curve,
3207 static SENSOR_DEVICE_ATTR_2_RW(pwm2_auto_point2_pwm, fan_curve,
[all …]
/openbmc/linux/include/linux/
H A Dhwmon-sysfs.h76 #define SENSOR_DEVICE_ATTR_2_RW(_name, _func, _nr, _index) \ macro