Searched refs:SENSOR_DEVICE_ATTR_2_RO (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/drivers/hwmon/ |
D | ltc4222.c | 129 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,
|
D | emc1403.c | 169 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); 171 static SENSOR_DEVICE_ATTR_2_RO(temp1_crit_alarm, bit, 0x37, 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); 183 static SENSOR_DEVICE_ATTR_2_RO(temp2_crit_alarm, bit, 0x37, 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); [all …]
|
D | nct7802.c | 580 static SENSOR_DEVICE_ATTR_2_RO(temp1_input, temp, 0x01, REG_TEMP_LSB); 586 static SENSOR_DEVICE_ATTR_2_RO(temp2_input, temp, 0x02, REG_TEMP_LSB); 592 static SENSOR_DEVICE_ATTR_2_RO(temp3_input, temp, 0x03, REG_TEMP_LSB); 597 static SENSOR_DEVICE_ATTR_2_RO(temp4_input, temp, 0x04, 0); 602 static SENSOR_DEVICE_ATTR_2_RO(temp5_input, temp, 0x06, REG_TEMP_PECI_LSB); 607 static SENSOR_DEVICE_ATTR_2_RO(temp6_input, temp, 0x07, REG_TEMP_PECI_LSB); 609 static SENSOR_DEVICE_ATTR_2_RO(temp1_min_alarm, alarm, 0x18, 0); 610 static SENSOR_DEVICE_ATTR_2_RO(temp2_min_alarm, alarm, 0x18, 1); 611 static SENSOR_DEVICE_ATTR_2_RO(temp3_min_alarm, alarm, 0x18, 2); 612 static SENSOR_DEVICE_ATTR_2_RO(temp4_min_alarm, alarm, 0x18, 3); [all …]
|
D | emc6w201.c | 303 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); 322 static SENSOR_DEVICE_ATTR_2_RO(temp1_input, temp, 0, input); 325 static SENSOR_DEVICE_ATTR_2_RO(temp2_input, temp, 1, input); 328 static SENSOR_DEVICE_ATTR_2_RO(temp3_input, temp, 2, input); 331 static SENSOR_DEVICE_ATTR_2_RO(temp4_input, temp, 3, input); [all …]
|
D | max16065.c | 330 static SENSOR_DEVICE_ATTR_2_RO(in0_alarm, max16065_alarm, 0, 0); 331 static SENSOR_DEVICE_ATTR_2_RO(in1_alarm, max16065_alarm, 0, 1); 332 static SENSOR_DEVICE_ATTR_2_RO(in2_alarm, max16065_alarm, 0, 2); 333 static SENSOR_DEVICE_ATTR_2_RO(in3_alarm, max16065_alarm, 0, 3); 334 static SENSOR_DEVICE_ATTR_2_RO(in4_alarm, max16065_alarm, 0, 4); 335 static SENSOR_DEVICE_ATTR_2_RO(in5_alarm, max16065_alarm, 0, 5); 336 static SENSOR_DEVICE_ATTR_2_RO(in6_alarm, max16065_alarm, 0, 6); 337 static SENSOR_DEVICE_ATTR_2_RO(in7_alarm, max16065_alarm, 0, 7); 338 static SENSOR_DEVICE_ATTR_2_RO(in8_alarm, max16065_alarm, 1, 0); 339 static SENSOR_DEVICE_ATTR_2_RO(in9_alarm, max16065_alarm, 1, 1); [all …]
|
D | lineage-pem.c | 336 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,
|
D | adt7475.c | 1083 static SENSOR_DEVICE_ATTR_2_RO(in0_input, voltage, INPUT, 0); 1086 static SENSOR_DEVICE_ATTR_2_RO(in0_alarm, voltage, ALARM, 0); 1087 static SENSOR_DEVICE_ATTR_2_RO(in1_input, voltage, INPUT, 1); 1090 static SENSOR_DEVICE_ATTR_2_RO(in1_alarm, voltage, ALARM, 1); 1091 static SENSOR_DEVICE_ATTR_2_RO(in2_input, voltage, INPUT, 2); 1094 static SENSOR_DEVICE_ATTR_2_RO(in2_alarm, voltage, ALARM, 2); 1095 static SENSOR_DEVICE_ATTR_2_RO(in3_input, voltage, INPUT, 3); 1098 static SENSOR_DEVICE_ATTR_2_RO(in3_alarm, voltage, ALARM, 3); 1099 static SENSOR_DEVICE_ATTR_2_RO(in4_input, voltage, INPUT, 4); 1102 static SENSOR_DEVICE_ATTR_2_RO(in4_alarm, voltage, ALARM, 8); [all …]
|
D | adc128d818.c | 267 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);
|
D | lm80.c | 464 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);
|
D | amc6821.c | 719 static SENSOR_DEVICE_ATTR_2_RO(temp1_auto_point1_temp, temp_auto_point_temp,
|
/linux-6.6.21/include/linux/ |
D | hwmon-sysfs.h | 72 #define SENSOR_DEVICE_ATTR_2_RO(_name, _func, _nr, _index) \ macro
|