Home
last modified time | relevance | path

Searched refs:sensor_attr (Results 1 – 12 of 12) sorted by relevance

/drivers/hwmon/
Dw83795.c704 struct sensor_device_attribute_2 *sensor_attr = in show_alarm_beep() local
706 int nr = sensor_attr->nr; in show_alarm_beep()
707 int index = sensor_attr->index >> 3; in show_alarm_beep()
708 int bit = sensor_attr->index & 0x07; in show_alarm_beep()
725 struct sensor_device_attribute_2 *sensor_attr = in store_beep() local
727 int index = sensor_attr->index >> 3; in store_beep()
728 int shift = sensor_attr->index & 0x07; in store_beep()
777 struct sensor_device_attribute_2 *sensor_attr = in show_fan() local
779 int nr = sensor_attr->nr; in show_fan()
780 int index = sensor_attr->index; in show_fan()
[all …]
Dsmsc47m192.c172 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_show() local
173 int nr = sensor_attr->index; in in_show()
181 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_show() local
182 int nr = sensor_attr->index; in in_min_show()
190 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_show() local
191 int nr = sensor_attr->index; in in_max_show()
199 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_store() local
200 int nr = sensor_attr->index; in in_min_store()
221 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_store() local
222 int nr = sensor_attr->index; in in_max_store()
[all …]
Dw83792d.c342 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local
343 int nr = sensor_attr->index; in show_in()
353 struct sensor_device_attribute *sensor_attr \
355 int nr = sensor_attr->index; \
369 struct sensor_device_attribute *sensor_attr \
371 int nr = sensor_attr->index; \
393 struct sensor_device_attribute *sensor_attr \
395 int nr = sensor_attr->index - 1; \
408 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_fan_min() local
409 int nr = sensor_attr->index - 1; in store_fan_min()
[all …]
Dw83793.c322 struct sensor_device_attribute_2 *sensor_attr = in show_vid() local
324 int index = sensor_attr->index; in show_vid()
354 struct sensor_device_attribute_2 *sensor_attr = in show_alarm_beep() local
356 int nr = sensor_attr->nr; in show_alarm_beep()
357 int index = sensor_attr->index >> 3; in show_alarm_beep()
358 int bit = sensor_attr->index & 0x07; in show_alarm_beep()
376 struct sensor_device_attribute_2 *sensor_attr = in store_beep() local
378 int index = sensor_attr->index >> 3; in store_beep()
379 int shift = sensor_attr->index & 0x07; in store_beep()
465 struct sensor_device_attribute_2 *sensor_attr = in show_fan() local
[all …]
Dvt8231.c185 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_show() local
186 int nr = sensor_attr->index; in in_show()
195 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_show() local
196 int nr = sensor_attr->index; in in_min_show()
205 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_show() local
206 int nr = sensor_attr->index; in in_max_show()
215 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_store() local
216 int nr = sensor_attr->index; in in_min_store()
235 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_store() local
236 int nr = sensor_attr->index; in in_max_store()
[all …]
Dadm1026.c470 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_show() local
471 int nr = sensor_attr->index; in in_show()
478 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_show() local
479 int nr = sensor_attr->index; in in_min_show()
486 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_store() local
487 int nr = sensor_attr->index; in in_min_store()
506 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_show() local
507 int nr = sensor_attr->index; in in_max_show()
514 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_store() local
515 int nr = sensor_attr->index; in in_max_store()
[all …]
Dw83791d.c353 struct sensor_device_attribute *sensor_attr = \
356 int nr = sensor_attr->index; \
369 struct sensor_device_attribute *sensor_attr = \
373 int nr = sensor_attr->index; \
431 struct sensor_device_attribute *sensor_attr = in show_beep() local
434 int bitnr = sensor_attr->index; in show_beep()
442 struct sensor_device_attribute *sensor_attr = in store_beep() local
446 int bitnr = sensor_attr->index; in store_beep()
477 struct sensor_device_attribute *sensor_attr = in show_alarm() local
480 int bitnr = sensor_attr->index; in show_alarm()
[all …]
Dit87.c1024 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp_type() local
1025 int nr = sensor_attr->index; in show_temp_type()
1043 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_temp_type() local
1044 int nr = sensor_attr->index; in set_temp_type()
1130 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_fan_div() local
1132 int nr = sensor_attr->index; in show_fan_div()
1140 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_pwm_enable() local
1142 int nr = sensor_attr->index; in show_pwm_enable()
1150 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_pwm() local
1152 int nr = sensor_attr->index; in show_pwm()
[all …]
Dw83627ehf.c875 struct sensor_device_attribute *sensor_attr = \
877 int nr = sensor_attr->index; \
889 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_tol_temp() local
890 int nr = sensor_attr->index; in show_tol_temp()
912 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_tolerance() local
913 int nr = sensor_attr->index; in store_tolerance()
962 struct sensor_device_attribute *sensor_attr = \
964 int nr = sensor_attr->index; \
972 struct sensor_device_attribute *sensor_attr = \
974 int nr = sensor_attr->index; \
[all …]
Dw83l786ng.c408 struct sensor_device_attribute_2 *sensor_attr = in show_temp() local
410 int nr = sensor_attr->nr; in show_temp()
411 int index = sensor_attr->index; in show_temp()
420 struct sensor_device_attribute_2 *sensor_attr = in store_temp() local
422 int nr = sensor_attr->nr; in store_temp()
423 int index = sensor_attr->index; in store_temp()
Daspeed-pwm-tacho.c579 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in pwm_store() local
580 int index = sensor_attr->index; in pwm_store()
604 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in pwm_show() local
605 int index = sensor_attr->index; in pwm_show()
614 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in rpm_show() local
615 int index = sensor_attr->index; in rpm_show()
/drivers/platform/x86/
Dthinkpad_acpi.c6400 struct sensor_device_attribute *sensor_attr = in thermal_temp_input_show() local
6402 int idx = sensor_attr->index; in thermal_temp_input_show()