Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c1022 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp_type() local
1023 int nr = sensor_attr->index; in show_temp_type()
1041 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_temp_type() local
1042 int nr = sensor_attr->index; in set_temp_type()
1128 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_fan_div() local
1130 int nr = sensor_attr->index; in show_fan_div()
1138 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_pwm_enable() local
1140 int nr = sensor_attr->index; in show_pwm_enable()
1148 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_pwm() local
1150 int nr = sensor_attr->index; in show_pwm()
[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()
Dw83627ehf.c877 struct sensor_device_attribute *sensor_attr = \
879 int nr = sensor_attr->index; \
891 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_tol_temp() local
892 int nr = sensor_attr->index; in show_tol_temp()
914 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_tolerance() local
915 int nr = sensor_attr->index; in store_tolerance()
964 struct sensor_device_attribute *sensor_attr = \
966 int nr = sensor_attr->index; \
974 struct sensor_device_attribute *sensor_attr = \
976 int nr = sensor_attr->index; \
[all …]
Daspeed-pwm-tacho.c573 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in pwm_store() local
574 int index = sensor_attr->index; in pwm_store()
598 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in pwm_show() local
599 int index = sensor_attr->index; in pwm_show()
608 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in rpm_show() local
609 int index = sensor_attr->index; in rpm_show()
/kernel/linux/linux-5.10/drivers/platform/x86/
Dthinkpad_acpi.c6372 struct sensor_device_attribute *sensor_attr = in thermal_temp_input_show() local
6374 int idx = sensor_attr->index; in thermal_temp_input_show()