Home
last modified time | relevance | path

Searched refs:SENSOR_DEVICE_ATTR_RO (Results 1 – 25 of 77) sorted by relevance

1234

/linux-6.3-rc2/drivers/hwmon/
A Dpc87427.c786 static SENSOR_DEVICE_ATTR_RO(temp1_min, temp_min, 0);
787 static SENSOR_DEVICE_ATTR_RO(temp2_min, temp_min, 1);
788 static SENSOR_DEVICE_ATTR_RO(temp3_min, temp_min, 2);
789 static SENSOR_DEVICE_ATTR_RO(temp4_min, temp_min, 3);
790 static SENSOR_DEVICE_ATTR_RO(temp5_min, temp_min, 4);
791 static SENSOR_DEVICE_ATTR_RO(temp6_min, temp_min, 5);
793 static SENSOR_DEVICE_ATTR_RO(temp1_max, temp_max, 0);
794 static SENSOR_DEVICE_ATTR_RO(temp2_max, temp_max, 1);
795 static SENSOR_DEVICE_ATTR_RO(temp3_max, temp_max, 2);
796 static SENSOR_DEVICE_ATTR_RO(temp4_max, temp_max, 3);
[all …]
A Dmenf21bmc_hwmon.c137 static SENSOR_DEVICE_ATTR_RO(in0_input, in, 0);
138 static SENSOR_DEVICE_ATTR_RO(in0_min, min, 0);
139 static SENSOR_DEVICE_ATTR_RO(in0_max, max, 0);
142 static SENSOR_DEVICE_ATTR_RO(in1_min, min, 1);
143 static SENSOR_DEVICE_ATTR_RO(in1_max, max, 1);
146 static SENSOR_DEVICE_ATTR_RO(in2_min, min, 2);
147 static SENSOR_DEVICE_ATTR_RO(in2_max, max, 2);
150 static SENSOR_DEVICE_ATTR_RO(in3_min, min, 3);
151 static SENSOR_DEVICE_ATTR_RO(in3_max, max, 3);
154 static SENSOR_DEVICE_ATTR_RO(in4_min, min, 4);
[all …]
A Dda9052-hwmon.c322 static SENSOR_DEVICE_ATTR_RO(in0_label, label, DA9052_ADC_VDDOUT);
324 static SENSOR_DEVICE_ATTR_RO(in3_label, label, DA9052_ADC_VBAT);
326 static SENSOR_DEVICE_ATTR_RO(in4_label, label, DA9052_ADC_IN4);
328 static SENSOR_DEVICE_ATTR_RO(in5_label, label, DA9052_ADC_IN5);
330 static SENSOR_DEVICE_ATTR_RO(in6_label, label, DA9052_ADC_IN6);
332 static SENSOR_DEVICE_ATTR_RO(in9_label, label, DA9052_ADC_VBBAT);
335 static SENSOR_DEVICE_ATTR_RO(in70_label, label, DA9052_ADC_TSI_XP);
337 static SENSOR_DEVICE_ATTR_RO(in71_label, label, DA9052_ADC_TSI_XN);
339 static SENSOR_DEVICE_ATTR_RO(in72_label, label, DA9052_ADC_TSI_YP);
344 static SENSOR_DEVICE_ATTR_RO(curr1_label, label, DA9052_ADC_ICH);
[all …]
A Dltc2945.c368 static SENSOR_DEVICE_ATTR_RO(in1_input, ltc2945_value, LTC2945_VIN_H);
371 static SENSOR_DEVICE_ATTR_RO(in1_lowest, ltc2945_value, LTC2945_MIN_VIN_H);
376 static SENSOR_DEVICE_ATTR_RO(in2_input, ltc2945_value, LTC2945_ADIN_H);
386 static SENSOR_DEVICE_ATTR_RO(in1_min_alarm, ltc2945_bool, FAULT_VIN_UV);
387 static SENSOR_DEVICE_ATTR_RO(in1_max_alarm, ltc2945_bool, FAULT_VIN_OV);
388 static SENSOR_DEVICE_ATTR_RO(in2_min_alarm, ltc2945_bool, FAULT_ADIN_UV);
389 static SENSOR_DEVICE_ATTR_RO(in2_max_alarm, ltc2945_bool, FAULT_ADIN_OV);
393 static SENSOR_DEVICE_ATTR_RO(curr1_input, ltc2945_value, LTC2945_SENSE_H);
399 static SENSOR_DEVICE_ATTR_RO(curr1_highest, ltc2945_value,
416 static SENSOR_DEVICE_ATTR_RO(power1_input_lowest, ltc2945_value,
[all …]
A Dmax6697.c391 static SENSOR_DEVICE_ATTR_RO(temp1_input, temp_input, 0);
395 static SENSOR_DEVICE_ATTR_RO(temp2_input, temp_input, 1);
399 static SENSOR_DEVICE_ATTR_RO(temp3_input, temp_input, 2);
403 static SENSOR_DEVICE_ATTR_RO(temp4_input, temp_input, 3);
441 static SENSOR_DEVICE_ATTR_RO(temp2_fault, alarm, 1);
442 static SENSOR_DEVICE_ATTR_RO(temp3_fault, alarm, 2);
443 static SENSOR_DEVICE_ATTR_RO(temp4_fault, alarm, 3);
444 static SENSOR_DEVICE_ATTR_RO(temp5_fault, alarm, 4);
445 static SENSOR_DEVICE_ATTR_RO(temp6_fault, alarm, 5);
446 static SENSOR_DEVICE_ATTR_RO(temp7_fault, alarm, 6);
[all …]
A Dadt7462.c1481 static SENSOR_DEVICE_ATTR_RO(in1_alarm, alarm,
1483 static SENSOR_DEVICE_ATTR_RO(in2_alarm, alarm,
1485 static SENSOR_DEVICE_ATTR_RO(in3_alarm, alarm,
1487 static SENSOR_DEVICE_ATTR_RO(in4_alarm, alarm,
1489 static SENSOR_DEVICE_ATTR_RO(in5_alarm, alarm,
1491 static SENSOR_DEVICE_ATTR_RO(in6_alarm, alarm,
1493 static SENSOR_DEVICE_ATTR_RO(in7_alarm, alarm,
1495 static SENSOR_DEVICE_ATTR_RO(in8_alarm, alarm,
1497 static SENSOR_DEVICE_ATTR_RO(in9_alarm, alarm,
1499 static SENSOR_DEVICE_ATTR_RO(in10_alarm, alarm,
[all …]
A Dmc13783-adc.c163 static SENSOR_DEVICE_ATTR_RO(in2_input, mc13783_adc_bp, 2);
164 static SENSOR_DEVICE_ATTR_RO(in5_input, mc13783_adc_gp, 5);
165 static SENSOR_DEVICE_ATTR_RO(in6_input, mc13783_adc_gp, 6);
166 static SENSOR_DEVICE_ATTR_RO(in7_input, mc13783_adc_gp, 7);
167 static SENSOR_DEVICE_ATTR_RO(in8_input, mc13783_adc_gp, 8);
168 static SENSOR_DEVICE_ATTR_RO(in9_input, mc13783_adc_gp, 9);
169 static SENSOR_DEVICE_ATTR_RO(in10_input, mc13783_adc_gp, 10);
170 static SENSOR_DEVICE_ATTR_RO(in11_input, mc13783_adc_gp, 11);
171 static SENSOR_DEVICE_ATTR_RO(in12_input, mc13783_adc_gp, 12);
172 static SENSOR_DEVICE_ATTR_RO(in13_input, mc13783_adc_gp, 13);
[all …]
A Dina209.c371 static SENSOR_DEVICE_ATTR_RO(in0_input_highest, ina209_value,
373 static SENSOR_DEVICE_ATTR_RO(in0_input_lowest, ina209_value,
386 static SENSOR_DEVICE_ATTR_RO(in0_min_alarm, ina209_alarm, 1 << 11);
387 static SENSOR_DEVICE_ATTR_RO(in0_max_alarm, ina209_alarm, 1 << 12);
393 static SENSOR_DEVICE_ATTR_RO(in1_input_highest, ina209_value,
395 static SENSOR_DEVICE_ATTR_RO(in1_input_lowest, ina209_value,
408 static SENSOR_DEVICE_ATTR_RO(in1_min_alarm, ina209_alarm, 1 << 14);
409 static SENSOR_DEVICE_ATTR_RO(in1_max_alarm, ina209_alarm, 1 << 15);
415 static SENSOR_DEVICE_ATTR_RO(power1_input_highest, ina209_value,
422 static SENSOR_DEVICE_ATTR_RO(power1_max_alarm, ina209_alarm, 1 << 13);
[all …]
A Dadm1029.c248 static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0);
252 static SENSOR_DEVICE_ATTR_RO(temp1_max, temp, 3);
253 static SENSOR_DEVICE_ATTR_RO(temp2_max, temp, 4);
254 static SENSOR_DEVICE_ATTR_RO(temp3_max, temp, 5);
256 static SENSOR_DEVICE_ATTR_RO(temp1_min, temp, 6);
257 static SENSOR_DEVICE_ATTR_RO(temp2_min, temp, 7);
258 static SENSOR_DEVICE_ATTR_RO(temp3_min, temp, 8);
260 static SENSOR_DEVICE_ATTR_RO(fan1_input, fan, 0);
261 static SENSOR_DEVICE_ATTR_RO(fan2_input, fan, 1);
263 static SENSOR_DEVICE_ATTR_RO(fan1_min, fan, 2);
[all …]
A Dsmsc47m192.c240 static SENSOR_DEVICE_ATTR_RO(in0_input, in, 0);
243 static SENSOR_DEVICE_ATTR_RO(in1_input, in, 1);
246 static SENSOR_DEVICE_ATTR_RO(in2_input, in, 2);
249 static SENSOR_DEVICE_ATTR_RO(in3_input, in, 3);
252 static SENSOR_DEVICE_ATTR_RO(in4_input, in, 4);
255 static SENSOR_DEVICE_ATTR_RO(in5_input, in, 5);
258 static SENSOR_DEVICE_ATTR_RO(in6_input, in, 6);
261 static SENSOR_DEVICE_ATTR_RO(in7_input, in, 7);
386 static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0);
390 static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1);
[all …]
A Dltc2990.c172 static SENSOR_DEVICE_ATTR_RO(temp1_input, ltc2990_value, LTC2990_TEMP1);
173 static SENSOR_DEVICE_ATTR_RO(temp2_input, ltc2990_value, LTC2990_TEMP2);
174 static SENSOR_DEVICE_ATTR_RO(temp3_input, ltc2990_value, LTC2990_TEMP3);
175 static SENSOR_DEVICE_ATTR_RO(curr1_input, ltc2990_value, LTC2990_CURR1);
176 static SENSOR_DEVICE_ATTR_RO(curr2_input, ltc2990_value, LTC2990_CURR2);
177 static SENSOR_DEVICE_ATTR_RO(in0_input, ltc2990_value, LTC2990_IN0);
178 static SENSOR_DEVICE_ATTR_RO(in1_input, ltc2990_value, LTC2990_IN1);
179 static SENSOR_DEVICE_ATTR_RO(in2_input, ltc2990_value, LTC2990_IN2);
180 static SENSOR_DEVICE_ATTR_RO(in3_input, ltc2990_value, LTC2990_IN3);
181 static SENSOR_DEVICE_ATTR_RO(in4_input, ltc2990_value, LTC2990_IN4);
A Dda9055-hwmon.c205 static SENSOR_DEVICE_ATTR_RO(in0_input, da9055_auto_ch, DA9055_ADC_VSYS);
206 static SENSOR_DEVICE_ATTR_RO(in0_label, label, DA9055_ADC_VSYS);
207 static SENSOR_DEVICE_ATTR_RO(in1_input, da9055_auto_ch, DA9055_ADC_ADCIN1);
208 static SENSOR_DEVICE_ATTR_RO(in1_label, label, DA9055_ADC_ADCIN1);
209 static SENSOR_DEVICE_ATTR_RO(in2_input, da9055_auto_ch, DA9055_ADC_ADCIN2);
210 static SENSOR_DEVICE_ATTR_RO(in2_label, label, DA9055_ADC_ADCIN2);
211 static SENSOR_DEVICE_ATTR_RO(in3_input, da9055_auto_ch, DA9055_ADC_ADCIN3);
212 static SENSOR_DEVICE_ATTR_RO(in3_label, label, DA9055_ADC_ADCIN3);
214 static SENSOR_DEVICE_ATTR_RO(temp1_input, da9055_tjunc, DA9055_ADC_TJUNC);
215 static SENSOR_DEVICE_ATTR_RO(temp1_label, label, DA9055_ADC_TJUNC);
A Dltc4260.c105 static SENSOR_DEVICE_ATTR_RO(in1_input, ltc4260_value, LTC4260_SOURCE);
106 static SENSOR_DEVICE_ATTR_RO(in2_input, ltc4260_value, LTC4260_ADIN);
113 static SENSOR_DEVICE_ATTR_RO(in1_min_alarm, ltc4260_bool, FAULT_UV);
114 static SENSOR_DEVICE_ATTR_RO(in1_max_alarm, ltc4260_bool, FAULT_OV);
115 static SENSOR_DEVICE_ATTR_RO(in2_alarm, ltc4260_bool,
119 static SENSOR_DEVICE_ATTR_RO(curr1_input, ltc4260_value, LTC4260_SENSE);
122 static SENSOR_DEVICE_ATTR_RO(curr1_max_alarm, ltc4260_bool, FAULT_OC);
A Dads7871.c133 static SENSOR_DEVICE_ATTR_RO(in0_input, voltage, 0);
134 static SENSOR_DEVICE_ATTR_RO(in1_input, voltage, 1);
135 static SENSOR_DEVICE_ATTR_RO(in2_input, voltage, 2);
136 static SENSOR_DEVICE_ATTR_RO(in3_input, voltage, 3);
137 static SENSOR_DEVICE_ATTR_RO(in4_input, voltage, 4);
138 static SENSOR_DEVICE_ATTR_RO(in5_input, voltage, 5);
139 static SENSOR_DEVICE_ATTR_RO(in6_input, voltage, 6);
140 static SENSOR_DEVICE_ATTR_RO(in7_input, voltage, 7);
A Dadm1026.c532 static SENSOR_DEVICE_ATTR_RO(in0_input, in, 0);
535 static SENSOR_DEVICE_ATTR_RO(in1_input, in, 1);
538 static SENSOR_DEVICE_ATTR_RO(in2_input, in, 2);
541 static SENSOR_DEVICE_ATTR_RO(in3_input, in, 3);
544 static SENSOR_DEVICE_ATTR_RO(in4_input, in, 4);
547 static SENSOR_DEVICE_ATTR_RO(in5_input, in, 5);
550 static SENSOR_DEVICE_ATTR_RO(in6_input, in, 6);
553 static SENSOR_DEVICE_ATTR_RO(in7_input, in, 7);
556 static SENSOR_DEVICE_ATTR_RO(in8_input, in, 8);
559 static SENSOR_DEVICE_ATTR_RO(in9_input, in, 9);
[all …]
A Dads7828.c69 static SENSOR_DEVICE_ATTR_RO(in0_input, ads7828_in, 0);
70 static SENSOR_DEVICE_ATTR_RO(in1_input, ads7828_in, 1);
71 static SENSOR_DEVICE_ATTR_RO(in2_input, ads7828_in, 2);
72 static SENSOR_DEVICE_ATTR_RO(in3_input, ads7828_in, 3);
73 static SENSOR_DEVICE_ATTR_RO(in4_input, ads7828_in, 4);
74 static SENSOR_DEVICE_ATTR_RO(in5_input, ads7828_in, 5);
75 static SENSOR_DEVICE_ATTR_RO(in6_input, ads7828_in, 6);
76 static SENSOR_DEVICE_ATTR_RO(in7_input, ads7828_in, 7);
A Dltc4261.c156 static SENSOR_DEVICE_ATTR_RO(in1_input, ltc4261_value, LTC4261_ADIN_H);
157 static SENSOR_DEVICE_ATTR_RO(in2_input, ltc4261_value, LTC4261_ADIN2_H);
167 static SENSOR_DEVICE_ATTR_RO(in1_min_alarm, ltc4261_bool, FAULT_UV);
168 static SENSOR_DEVICE_ATTR_RO(in1_max_alarm, ltc4261_bool, FAULT_OV);
169 static SENSOR_DEVICE_ATTR_RO(in2_min_alarm, ltc4261_bool, FAULT_UV);
170 static SENSOR_DEVICE_ATTR_RO(in2_max_alarm, ltc4261_bool, FAULT_OV);
173 static SENSOR_DEVICE_ATTR_RO(curr1_input, ltc4261_value, LTC4261_SENSE_H);
176 static SENSOR_DEVICE_ATTR_RO(curr1_max_alarm, ltc4261_bool, FAULT_OC);
A Demc1403.c168 static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0x00);
173 static SENSOR_DEVICE_ATTR_RO(temp1_max_hyst, hyst, 0x05);
179 static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 0x01);
185 static SENSOR_DEVICE_ATTR_RO(temp2_max_hyst, hyst, 0x07);
186 static SENSOR_DEVICE_ATTR_RO(temp2_crit_hyst, hyst, 0x19);
191 static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 0x23);
197 static SENSOR_DEVICE_ATTR_RO(temp3_max_hyst, hyst, 0x15);
198 static SENSOR_DEVICE_ATTR_RO(temp3_crit_hyst, hyst, 0x1A);
203 static SENSOR_DEVICE_ATTR_RO(temp4_input, temp, 0x2A);
209 static SENSOR_DEVICE_ATTR_RO(temp4_max_hyst, hyst, 0x2C);
[all …]
A Dlm95234.c486 static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0);
487 static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1);
488 static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 2);
489 static SENSOR_DEVICE_ATTR_RO(temp4_input, temp, 3);
490 static SENSOR_DEVICE_ATTR_RO(temp5_input, temp, 4);
509 static SENSOR_DEVICE_ATTR_RO(temp2_max_hyst, tcrit2_hyst, 0);
510 static SENSOR_DEVICE_ATTR_RO(temp3_max_hyst, tcrit2_hyst, 1);
511 static SENSOR_DEVICE_ATTR_RO(temp4_max_hyst, tcrit1_hyst, 3);
512 static SENSOR_DEVICE_ATTR_RO(temp5_max_hyst, tcrit1_hyst, 4);
523 static SENSOR_DEVICE_ATTR_RO(temp2_crit_hyst, tcrit1_hyst, 1);
[all …]
A Dltc4215.c185 static SENSOR_DEVICE_ATTR_RO(curr1_input, ltc4215_current, 0);
186 static SENSOR_DEVICE_ATTR_RO(curr1_max_alarm, ltc4215_alarm, 1 << 2);
189 static SENSOR_DEVICE_ATTR_RO(power1_input, ltc4215_power, 0);
192 static SENSOR_DEVICE_ATTR_RO(in1_input, ltc4215_voltage, LTC4215_ADIN);
193 static SENSOR_DEVICE_ATTR_RO(in1_max_alarm, ltc4215_alarm, 1 << 0);
194 static SENSOR_DEVICE_ATTR_RO(in1_min_alarm, ltc4215_alarm, 1 << 1);
197 static SENSOR_DEVICE_ATTR_RO(in2_input, ltc4215_voltage, LTC4215_SOURCE);
198 static SENSOR_DEVICE_ATTR_RO(in2_min_alarm, ltc4215_alarm, 1 << 3);
A Dadm1025.c256 static SENSOR_DEVICE_ATTR_RO(in0_input, in, 0);
259 static SENSOR_DEVICE_ATTR_RO(in1_input, in, 1);
262 static SENSOR_DEVICE_ATTR_RO(in2_input, in, 2);
265 static SENSOR_DEVICE_ATTR_RO(in3_input, in, 3);
268 static SENSOR_DEVICE_ATTR_RO(in4_input, in, 4);
271 static SENSOR_DEVICE_ATTR_RO(in5_input, in, 5);
341 static SENSOR_DEVICE_ATTR_RO(in0_alarm, alarm, 0);
342 static SENSOR_DEVICE_ATTR_RO(in1_alarm, alarm, 1);
343 static SENSOR_DEVICE_ATTR_RO(in2_alarm, alarm, 2);
344 static SENSOR_DEVICE_ATTR_RO(in3_alarm, alarm, 3);
[all …]
A Dlm87.c338 static SENSOR_DEVICE_ATTR_RO(in0_input, in_input, 0);
659 static SENSOR_DEVICE_ATTR_RO(in0_alarm, alarm, 0);
660 static SENSOR_DEVICE_ATTR_RO(in1_alarm, alarm, 1);
661 static SENSOR_DEVICE_ATTR_RO(in2_alarm, alarm, 2);
662 static SENSOR_DEVICE_ATTR_RO(in3_alarm, alarm, 3);
663 static SENSOR_DEVICE_ATTR_RO(in4_alarm, alarm, 8);
664 static SENSOR_DEVICE_ATTR_RO(in5_alarm, alarm, 9);
665 static SENSOR_DEVICE_ATTR_RO(in6_alarm, alarm, 6);
666 static SENSOR_DEVICE_ATTR_RO(in7_alarm, alarm, 7);
670 static SENSOR_DEVICE_ATTR_RO(fan1_alarm, alarm, 6);
[all …]
A Dvt8231.c385 static SENSOR_DEVICE_ATTR_RO(in0_input, in, 0);
388 static SENSOR_DEVICE_ATTR_RO(in1_input, in, 1);
391 static SENSOR_DEVICE_ATTR_RO(in2_input, in, 2);
394 static SENSOR_DEVICE_ATTR_RO(in3_input, in, 3);
397 static SENSOR_DEVICE_ATTR_RO(in4_input, in, 4);
657 static SENSOR_DEVICE_ATTR_RO(fan1_input, fan, 0);
660 static SENSOR_DEVICE_ATTR_RO(fan2_input, fan, 1);
687 static SENSOR_DEVICE_ATTR_RO(in1_alarm, alarm, 0);
688 static SENSOR_DEVICE_ATTR_RO(in2_alarm, alarm, 1);
689 static SENSOR_DEVICE_ATTR_RO(in3_alarm, alarm, 3);
[all …]
A Dthmc50.c248 static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0);
251 static SENSOR_DEVICE_ATTR_RO(temp1_crit, temp_critical, 0);
252 static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1);
255 static SENSOR_DEVICE_ATTR_RO(temp2_crit, temp_critical, 1);
256 static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 2);
261 static SENSOR_DEVICE_ATTR_RO(temp1_alarm, alarm, 0);
262 static SENSOR_DEVICE_ATTR_RO(temp2_alarm, alarm, 5);
263 static SENSOR_DEVICE_ATTR_RO(temp3_alarm, alarm, 1);
264 static SENSOR_DEVICE_ATTR_RO(temp2_fault, alarm, 7);
265 static SENSOR_DEVICE_ATTR_RO(temp3_fault, alarm, 2);
[all …]
A Demc2103.c462 static SENSOR_DEVICE_ATTR_RO(temp1_input, temp, 0);
465 static SENSOR_DEVICE_ATTR_RO(temp1_fault, temp_fault, 0);
466 static SENSOR_DEVICE_ATTR_RO(temp1_min_alarm, temp_min_alarm, 0);
467 static SENSOR_DEVICE_ATTR_RO(temp1_max_alarm, temp_max_alarm, 0);
469 static SENSOR_DEVICE_ATTR_RO(temp2_input, temp, 1);
472 static SENSOR_DEVICE_ATTR_RO(temp2_fault, temp_fault, 1);
473 static SENSOR_DEVICE_ATTR_RO(temp2_min_alarm, temp_min_alarm, 1);
476 static SENSOR_DEVICE_ATTR_RO(temp3_input, temp, 2);
479 static SENSOR_DEVICE_ATTR_RO(temp3_fault, temp_fault, 2);
483 static SENSOR_DEVICE_ATTR_RO(temp4_input, temp, 3);
[all …]

Completed in 72 milliseconds

1234