Home
last modified time | relevance | path

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

/drivers/hwmon/
Dw83795.c719 struct sensor_device_attribute_2 *sensor_attr = in show_alarm_beep() local
721 int nr = sensor_attr->nr; in show_alarm_beep()
722 int index = sensor_attr->index >> 3; in show_alarm_beep()
723 int bit = sensor_attr->index & 0x07; in show_alarm_beep()
740 struct sensor_device_attribute_2 *sensor_attr = in store_beep() local
742 int index = sensor_attr->index >> 3; in store_beep()
743 int shift = sensor_attr->index & 0x07; in store_beep()
792 struct sensor_device_attribute_2 *sensor_attr = in show_fan() local
794 int nr = sensor_attr->nr; in show_fan()
795 int index = sensor_attr->index; in show_fan()
[all …]
Dw83792d.c362 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local
363 int nr = sensor_attr->index; in show_in()
373 struct sensor_device_attribute *sensor_attr \
375 int nr = sensor_attr->index; \
389 struct sensor_device_attribute *sensor_attr \
391 int nr = sensor_attr->index; \
413 struct sensor_device_attribute *sensor_attr \
415 int nr = sensor_attr->index - 1; \
428 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_fan_min() local
429 int nr = sensor_attr->index - 1; in store_fan_min()
[all …]
Dsmsc47m192.c144 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local
145 int nr = sensor_attr->index; in show_in()
153 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_min() local
154 int nr = sensor_attr->index; in show_in_min()
162 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_max() local
163 int nr = sensor_attr->index; in show_in_max()
171 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_min() local
172 int nr = sensor_attr->index; in set_in_min()
193 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_max() local
194 int nr = sensor_attr->index; in set_in_max()
[all …]
Dw83793.c337 struct sensor_device_attribute_2 *sensor_attr = in show_vid() local
339 int index = sensor_attr->index; in show_vid()
366 struct sensor_device_attribute_2 *sensor_attr = in show_alarm_beep() local
368 int nr = sensor_attr->nr; in show_alarm_beep()
369 int index = sensor_attr->index >> 3; in show_alarm_beep()
370 int bit = sensor_attr->index & 0x07; in show_alarm_beep()
388 struct sensor_device_attribute_2 *sensor_attr = in store_beep() local
390 int index = sensor_attr->index >> 3; in store_beep()
391 int shift = sensor_attr->index & 0x07; in store_beep()
477 struct sensor_device_attribute_2 *sensor_attr = in show_fan() local
[all …]
Dvt8231.c198 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local
199 int nr = sensor_attr->index; in show_in()
208 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_min() local
209 int nr = sensor_attr->index; in show_in_min()
218 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_max() local
219 int nr = sensor_attr->index; in show_in_max()
228 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_min() local
229 int nr = sensor_attr->index; in set_in_min()
248 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_max() local
249 int nr = sensor_attr->index; in set_in_max()
[all …]
Dadm1026.c713 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local
714 int nr = sensor_attr->index; in show_in()
721 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_min() local
722 int nr = sensor_attr->index; in show_in_min()
729 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_min() local
730 int nr = sensor_attr->index; in set_in_min()
749 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_max() local
750 int nr = sensor_attr->index; in show_in_max()
757 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_max() local
758 int nr = sensor_attr->index; in set_in_max()
[all …]
Dw83791d.c373 struct sensor_device_attribute *sensor_attr = \
376 int nr = sensor_attr->index; \
389 struct sensor_device_attribute *sensor_attr = \
393 int nr = sensor_attr->index; \
451 struct sensor_device_attribute *sensor_attr = in show_beep() local
454 int bitnr = sensor_attr->index; in show_beep()
462 struct sensor_device_attribute *sensor_attr = in store_beep() local
466 int bitnr = sensor_attr->index; in store_beep()
497 struct sensor_device_attribute *sensor_attr = in show_alarm() local
500 int bitnr = sensor_attr->index; in show_alarm()
[all …]
Dw83627ehf.c942 struct sensor_device_attribute *sensor_attr = \
944 int nr = sensor_attr->index; \
958 struct sensor_device_attribute *sensor_attr = \ in show_in_reg()
960 int nr = sensor_attr->index; \ in show_in_reg()
981 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); local
982 int nr = sensor_attr->index;
1042 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_fan() local
1043 int nr = sensor_attr->index; in show_fan()
1051 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_fan_min() local
1052 int nr = sensor_attr->index; in show_fan_min()
[all …]
Dit87.c659 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp_type() local
660 int nr = sensor_attr->index; in show_temp_type()
678 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_temp_type() local
679 int nr = sensor_attr->index; in set_temp_type()
764 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_fan_div() local
765 int nr = sensor_attr->index; in show_fan_div()
773 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_pwm_enable() local
774 int nr = sensor_attr->index; in show_pwm_enable()
782 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_pwm() local
783 int nr = sensor_attr->index; in show_pwm()
[all …]
Dw83l786ng.c376 struct sensor_device_attribute_2 *sensor_attr = in show_temp() local
378 int nr = sensor_attr->nr; in show_temp()
379 int index = sensor_attr->index; in show_temp()
388 struct sensor_device_attribute_2 *sensor_attr = in store_temp() local
390 int nr = sensor_attr->nr; in store_temp()
391 int index = sensor_attr->index; in store_temp()
/drivers/platform/x86/
Dthinkpad_acpi.c5647 struct sensor_device_attribute *sensor_attr = in thermal_temp_input_show() local
5649 int idx = sensor_attr->index; in thermal_temp_input_show()