Home
last modified time | relevance | path

Searched refs:SENSOR_DEVICE_ATTR_2_RO (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/hwmon/
H A Dltc4222.c129 static SENSOR_DEVICE_ATTR_2_RO(in1_min_alarm, ltc4222_bool, LTC4222_FAULT1,
131 static SENSOR_DEVICE_ATTR_2_RO(in1_max_alarm, ltc4222_bool, LTC4222_FAULT1,
133 static SENSOR_DEVICE_ATTR_2_RO(in2_alarm, ltc4222_bool, LTC4222_FAULT1,
136 static SENSOR_DEVICE_ATTR_2_RO(in3_min_alarm, ltc4222_bool, LTC4222_FAULT2,
138 static SENSOR_DEVICE_ATTR_2_RO(in3_max_alarm, ltc4222_bool, LTC4222_FAULT2,
140 static SENSOR_DEVICE_ATTR_2_RO(in4_alarm, ltc4222_bool, LTC4222_FAULT2,
148 static SENSOR_DEVICE_ATTR_2_RO(curr1_max_alarm, ltc4222_bool, LTC4222_FAULT1,
150 static SENSOR_DEVICE_ATTR_2_RO(curr2_max_alarm, ltc4222_bool, LTC4222_FAULT2,
H A Demc1403.c169 static SENSOR_DEVICE_ATTR_2_RO(temp1_min_alarm, bit, 0x36, 0x01);
170 static SENSOR_DEVICE_ATTR_2_RO(temp1_max_alarm, bit, 0x35, 0x01);
180 static SENSOR_DEVICE_ATTR_2_RO(temp2_fault, bit, 0x1b, 0x02);
181 static SENSOR_DEVICE_ATTR_2_RO(temp2_min_alarm, bit, 0x36, 0x02);
182 static SENSOR_DEVICE_ATTR_2_RO(temp2_max_alarm, bit, 0x35, 0x02);
192 static SENSOR_DEVICE_ATTR_2_RO(temp3_fault, bit, 0x1b, 0x04);
193 static SENSOR_DEVICE_ATTR_2_RO(temp3_min_alarm, bit, 0x36, 0x04);
194 static SENSOR_DEVICE_ATTR_2_RO(temp3_max_alarm, bit, 0x35, 0x04);
204 static SENSOR_DEVICE_ATTR_2_RO(temp4_fault, bit, 0x1b, 0x08);
205 static SENSOR_DEVICE_ATTR_2_RO(temp4_min_alarm, bit, 0x36, 0x08);
[all …]
H A Dnct7802.c597 static SENSOR_DEVICE_ATTR_2_RO(temp4_input, temp, 0x04, 0);
739 static SENSOR_DEVICE_ATTR_2_RO(in0_input, in, 0, 0);
742 static SENSOR_DEVICE_ATTR_2_RO(in0_alarm, in_alarm, 0, 3);
745 static SENSOR_DEVICE_ATTR_2_RO(in1_input, in, 1, 0);
747 static SENSOR_DEVICE_ATTR_2_RO(in2_input, in, 2, 0);
750 static SENSOR_DEVICE_ATTR_2_RO(in2_alarm, in_alarm, 2, 0);
753 static SENSOR_DEVICE_ATTR_2_RO(in3_input, in, 3, 0);
756 static SENSOR_DEVICE_ATTR_2_RO(in3_alarm, in_alarm, 3, 1);
759 static SENSOR_DEVICE_ATTR_2_RO(in4_input, in, 4, 0);
762 static SENSOR_DEVICE_ATTR_2_RO(in4_alarm, in_alarm, 4, 2);
[all …]
H A Demc6w201.c303 static SENSOR_DEVICE_ATTR_2_RO(in0_input, in, 0, input);
306 static SENSOR_DEVICE_ATTR_2_RO(in1_input, in, 1, input);
309 static SENSOR_DEVICE_ATTR_2_RO(in2_input, in, 2, input);
312 static SENSOR_DEVICE_ATTR_2_RO(in3_input, in, 3, input);
315 static SENSOR_DEVICE_ATTR_2_RO(in4_input, in, 4, input);
318 static SENSOR_DEVICE_ATTR_2_RO(in5_input, in, 5, input);
341 static SENSOR_DEVICE_ATTR_2_RO(fan1_input, fan, 0, input);
343 static SENSOR_DEVICE_ATTR_2_RO(fan2_input, fan, 1, input);
345 static SENSOR_DEVICE_ATTR_2_RO(fan3_input, fan, 2, input);
347 static SENSOR_DEVICE_ATTR_2_RO(fan4_input, fan, 3, input);
[all …]
H A Dlineage-pem.c336 static SENSOR_DEVICE_ATTR_2_RO(in1_alarm, pem_bool, PEM_DATA_ALARM_1,
338 static SENSOR_DEVICE_ATTR_2_RO(in1_crit_alarm, pem_bool, PEM_DATA_ALARM_1,
341 static SENSOR_DEVICE_ATTR_2_RO(in2_alarm, pem_bool, PEM_DATA_ALARM_1,
346 static SENSOR_DEVICE_ATTR_2_RO(curr1_alarm, pem_bool, PEM_DATA_ALARM_1,
351 static SENSOR_DEVICE_ATTR_2_RO(power1_alarm, pem_bool, PEM_DATA_ALARM_1,
358 static SENSOR_DEVICE_ATTR_2_RO(fan1_alarm, pem_bool, PEM_DATA_ALARM_2,
365 static SENSOR_DEVICE_ATTR_2_RO(temp1_alarm, pem_bool, PEM_DATA_ALARM_1,
367 static SENSOR_DEVICE_ATTR_2_RO(temp1_crit_alarm, pem_bool, PEM_DATA_ALARM_1,
369 static SENSOR_DEVICE_ATTR_2_RO(temp1_fault, pem_bool, PEM_DATA_ALARM_2,
H A Dmax16065.c338 static SENSOR_DEVICE_ATTR_2_RO(in0_alarm, max16065_alarm, 0, 0);
339 static SENSOR_DEVICE_ATTR_2_RO(in1_alarm, max16065_alarm, 0, 1);
340 static SENSOR_DEVICE_ATTR_2_RO(in2_alarm, max16065_alarm, 0, 2);
341 static SENSOR_DEVICE_ATTR_2_RO(in3_alarm, max16065_alarm, 0, 3);
342 static SENSOR_DEVICE_ATTR_2_RO(in4_alarm, max16065_alarm, 0, 4);
343 static SENSOR_DEVICE_ATTR_2_RO(in5_alarm, max16065_alarm, 0, 5);
344 static SENSOR_DEVICE_ATTR_2_RO(in6_alarm, max16065_alarm, 0, 6);
345 static SENSOR_DEVICE_ATTR_2_RO(in7_alarm, max16065_alarm, 0, 7);
346 static SENSOR_DEVICE_ATTR_2_RO(in8_alarm, max16065_alarm, 1, 0);
347 static SENSOR_DEVICE_ATTR_2_RO(in9_alarm, max16065_alarm, 1, 1);
[all …]
H A Dadt7475.c1107 static SENSOR_DEVICE_ATTR_2_RO(temp1_input, temp, INPUT, 0);
1108 static SENSOR_DEVICE_ATTR_2_RO(temp1_alarm, temp, ALARM, 0);
1109 static SENSOR_DEVICE_ATTR_2_RO(temp1_fault, temp, FAULT, 0);
1139 static SENSOR_DEVICE_ATTR_2_RO(fan1_input, tach, INPUT, 0);
1141 static SENSOR_DEVICE_ATTR_2_RO(fan1_alarm, tach, ALARM, 0);
1142 static SENSOR_DEVICE_ATTR_2_RO(fan2_input, tach, INPUT, 1);
1144 static SENSOR_DEVICE_ATTR_2_RO(fan2_alarm, tach, ALARM, 1);
1145 static SENSOR_DEVICE_ATTR_2_RO(fan3_input, tach, INPUT, 2);
1147 static SENSOR_DEVICE_ATTR_2_RO(fan3_alarm, tach, ALARM, 2);
1148 static SENSOR_DEVICE_ATTR_2_RO(fan4_input, tach, INPUT, 3);
[all …]
H A Dadc128d818.c267 static SENSOR_DEVICE_ATTR_2_RO(in0_input, adc128_in, 0, 0);
271 static SENSOR_DEVICE_ATTR_2_RO(in1_input, adc128_in, 1, 0);
275 static SENSOR_DEVICE_ATTR_2_RO(in2_input, adc128_in, 2, 0);
279 static SENSOR_DEVICE_ATTR_2_RO(in3_input, adc128_in, 3, 0);
283 static SENSOR_DEVICE_ATTR_2_RO(in4_input, adc128_in, 4, 0);
287 static SENSOR_DEVICE_ATTR_2_RO(in5_input, adc128_in, 5, 0);
291 static SENSOR_DEVICE_ATTR_2_RO(in6_input, adc128_in, 6, 0);
295 static SENSOR_DEVICE_ATTR_2_RO(in7_input, adc128_in, 7, 0);
H A Dlm80.c464 static SENSOR_DEVICE_ATTR_2_RO(in0_input, in, i_input, 0);
465 static SENSOR_DEVICE_ATTR_2_RO(in1_input, in, i_input, 1);
466 static SENSOR_DEVICE_ATTR_2_RO(in2_input, in, i_input, 2);
467 static SENSOR_DEVICE_ATTR_2_RO(in3_input, in, i_input, 3);
468 static SENSOR_DEVICE_ATTR_2_RO(in4_input, in, i_input, 4);
469 static SENSOR_DEVICE_ATTR_2_RO(in5_input, in, i_input, 5);
470 static SENSOR_DEVICE_ATTR_2_RO(in6_input, in, i_input, 6);
473 static SENSOR_DEVICE_ATTR_2_RO(fan1_input, fan, f_input, 0);
474 static SENSOR_DEVICE_ATTR_2_RO(fan2_input, fan, f_input, 1);
H A Damc6821.c719 static SENSOR_DEVICE_ATTR_2_RO(temp1_auto_point1_temp, temp_auto_point_temp,
/openbmc/linux/include/linux/
H A Dhwmon-sysfs.h72 #define SENSOR_DEVICE_ATTR_2_RO(_name, _func, _nr, _index) \ macro