Home
last modified time | relevance | path

Searched refs:sensor_device_attribute (Results 1 – 25 of 81) sorted by relevance

1234

/openbmc/linux/drivers/hwmon/
H A Dpc87360.c415 static struct sensor_device_attribute in_input[] = {
437 static struct sensor_device_attribute in_status[] = {
481 static struct sensor_device_attribute in_min[] = {
526 static struct sensor_device_attribute in_max[] = {
731 static struct sensor_device_attribute therm_min[] = {
767 static struct sensor_device_attribute therm_max[] = {
938 static struct sensor_device_attribute temp_min[] = {
973 static struct sensor_device_attribute temp_max[] = {
1157 static struct sensor_device_attribute fan_div[] = {
1210 static struct sensor_device_attribute fan_min[] = {
[all …]
H A Dw83791d.c353 struct sensor_device_attribute *sensor_attr = \
369 struct sensor_device_attribute *sensor_attr = \
401 static struct sensor_device_attribute sda_in_min[] = {
414 static struct sensor_device_attribute sda_in_max[] = {
431 struct sensor_device_attribute *sensor_attr = in show_beep()
442 struct sensor_device_attribute *sensor_attr = in store_beep()
477 struct sensor_device_attribute *sensor_attr = in show_alarm()
489 static struct sensor_device_attribute sda_in_beep[] = {
519 struct sensor_device_attribute *sensor_attr = \
665 static struct sensor_device_attribute sda_fan_min[] = {
[all …]
H A Dsch5636.c169 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_value_show()
185 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_label_show()
194 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_value_show()
208 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_fault_show()
222 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_alarm_show()
236 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_value_show()
253 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_fault_show()
267 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_alarm_show()
278 static struct sensor_device_attribute sch5636_attr[] = {
292 static struct sensor_device_attribute sch5636_temp_attr[] = {
[all …]
H A Dmax6639.c160 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_input_show()
173 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_fault_show()
184 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_max_show()
194 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_max_store()
216 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_crit_show()
226 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_crit_store()
249 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_emergency_show()
259 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in temp_emergency_store()
281 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in pwm_show()
291 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in pwm_store()
[all …]
H A Dsmsc47m192.c172 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_show()
181 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_show()
190 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_show()
199 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_store()
221 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_store()
269 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_show()
278 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_min_show()
287 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_max_show()
297 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_min_store()
320 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_max_store()
[all …]
H A Dvia686a.c414 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_show()
422 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_show()
430 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_show()
438 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_store()
457 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_store()
494 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_show()
501 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_over_show()
508 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_hyst_show()
516 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_over_store()
536 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_hyst_store()
[all …]
H A Dadt7462.c781 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_min_show()
794 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_min_store()
817 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_max_show()
830 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_max_store()
853 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_show()
867 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_label_show()
876 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in volt_max_show()
890 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in volt_max_store()
916 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in volt_min_show()
930 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in volt_min_store()
[all …]
H A Df71805f.c423 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0()
433 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0_max()
443 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in0_min()
453 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in0_max()
474 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in0_min()
495 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in()
505 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_max()
515 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_in_min()
525 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in_max()
546 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_in_min()
[all …]
H A Di5k_amb.c89 struct sensor_device_attribute s_attr;
130 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_alarm()
145 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_min()
165 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_mid()
185 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in store_amb_max()
204 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_min()
214 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_mid()
224 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_max()
234 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_amb_temp()
244 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_label()
H A Dvt8231.c250 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_show()
260 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_show()
270 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_show()
280 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_store()
300 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_store()
467 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_show()
476 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_max_show()
485 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_min_show()
495 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_max_store()
515 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in temp_min_store()
[all …]
H A Dmenf21bmc_hwmon.c102 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in label_show()
110 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in in_show()
122 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in min_show()
131 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in max_show()
H A Dw83l786ng.c258 static struct sensor_device_attribute sda_in_input[] = {
264 static struct sensor_device_attribute sda_in_min[] = {
270 static struct sensor_device_attribute sda_in_max[] = {
382 static struct sensor_device_attribute sda_fan_input[] = {
387 static struct sensor_device_attribute sda_fan_min[] = {
394 static struct sensor_device_attribute sda_fan_div[] = {
553 static struct sensor_device_attribute sda_pwm[] = {
558 static struct sensor_device_attribute sda_pwm_mode[] = {
565 static struct sensor_device_attribute sda_pwm_enable[] = {
611 static struct sensor_device_attribute sda_tolerance[] = {
H A Dsis5595.c270 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_show()
279 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_show()
288 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_show()
297 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_store()
317 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_store()
418 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_show()
428 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_min_show()
438 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_min_store()
458 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_div_show()
473 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_div_store()
H A Dw83792d.c342 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in()
353 struct sensor_device_attribute *sensor_attr \
369 struct sensor_device_attribute *sensor_attr \
393 struct sensor_device_attribute *sensor_attr \
408 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_fan_min()
432 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_fan_div()
448 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_fan_div()
490 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp1()
499 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_temp1()
573 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_alarm()
[all …]
H A Dadm1026.c470 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_show()
478 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_show()
486 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_store()
506 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_show()
514 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_store()
656 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in fan_show()
665 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in fan_min_show()
675 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in fan_min_store()
733 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in fan_div_show()
742 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in fan_div_store()
[all …]
H A Dsmsc47m1.c200 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_show()
219 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_min_show()
230 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_div_show()
246 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_show()
254 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_en_show()
270 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_min_store()
307 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_div_store()
372 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_store()
399 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in pwm_en_store()
H A Dlm92.c140 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_show()
150 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_store()
171 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_hyst_show()
191 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_hyst_store()
H A Dadm1029.c161 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_show()
170 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_show()
188 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_div_show()
202 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in fan_div_store()
H A Dlm78.c145 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_show()
153 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_show()
161 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_show()
169 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_store()
189 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_store()
296 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_show()
306 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_min_show()
316 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_min_store()
336 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_div_show()
350 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_div_store()
H A Dds620.c132 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_show()
147 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_store()
169 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in alarm_show()
H A Dlm73.c65 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_store()
84 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_show()
146 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in maxmin_alarm_show()
H A Dlm63.c334 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_fan()
364 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_pwm1()
382 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_pwm1()
460 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_local_temp8()
469 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_remote_temp8()
479 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_lut_temp()
488 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp8()
527 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_temp11()
562 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in set_temp11()
603 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in show_lut_temp_hyst()
[all …]
H A Dltc4260.c76 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc4260_value_show()
88 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc4260_bool_show()
/openbmc/linux/drivers/hwmon/pmbus/
H A Dinspur-ipsps.c62 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in ipsps_string_show()
84 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in ipsps_fw_version_show()
105 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in ipsps_mode_show()
137 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in ipsps_mode_store()
/openbmc/linux/include/linux/
H A Dhwmon-sysfs.h13 struct sensor_device_attribute{ struct
18 container_of(_dev_attr, struct sensor_device_attribute, dev_attr) argument
34 struct sensor_device_attribute sensor_dev_attr_##_name \

1234