Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/hwmon/
Dw83795.c705 struct sensor_device_attribute_2 *sensor_attr = in show_alarm_beep() local
707 int nr = sensor_attr->nr; in show_alarm_beep()
708 int index = sensor_attr->index >> 3; in show_alarm_beep()
709 int bit = sensor_attr->index & 0x07; in show_alarm_beep()
726 struct sensor_device_attribute_2 *sensor_attr = in store_beep() local
728 int index = sensor_attr->index >> 3; in store_beep()
729 int shift = sensor_attr->index & 0x07; in store_beep()
778 struct sensor_device_attribute_2 *sensor_attr = in show_fan() local
780 int nr = sensor_attr->nr; in show_fan()
781 int index = sensor_attr->index; in show_fan()
[all …]
Dsmsc47m192.c142 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local
143 int nr = sensor_attr->index; in show_in()
151 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_min() local
152 int nr = sensor_attr->index; in show_in_min()
160 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_max() local
161 int nr = sensor_attr->index; in show_in_max()
169 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_min() local
170 int nr = sensor_attr->index; in set_in_min()
186 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_max() local
187 int nr = sensor_attr->index; in set_in_max()
[all …]
Dw83792d.c357 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local
358 int nr = sensor_attr->index; in show_in()
367 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); \
368 int nr = sensor_attr->index; \
381 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); \
382 int nr = sensor_attr->index; \
402 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); \
403 int nr = sensor_attr->index - 1; \
416 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_fan_min() local
417 int nr = sensor_attr->index - 1; in store_fan_min()
[all …]
Dit87.c408 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local
409 int nr = sensor_attr->index; in show_in()
418 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_min() local
419 int nr = sensor_attr->index; in show_in_min()
428 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_max() local
429 int nr = sensor_attr->index; in show_in_max()
438 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_min() local
439 int nr = sensor_attr->index; in set_in_min()
457 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_max() local
458 int nr = sensor_attr->index; in set_in_max()
[all …]
Dw83793.c328 struct sensor_device_attribute_2 *sensor_attr = in show_vid() local
330 int index = sensor_attr->index; in show_vid()
350 struct sensor_device_attribute_2 *sensor_attr = in show_alarm_beep() local
352 int nr = sensor_attr->nr; in show_alarm_beep()
353 int index = sensor_attr->index >> 3; in show_alarm_beep()
354 int bit = sensor_attr->index & 0x07; in show_alarm_beep()
372 struct sensor_device_attribute_2 *sensor_attr = in store_beep() local
374 int index = sensor_attr->index >> 3; in store_beep()
375 int shift = sensor_attr->index & 0x07; in store_beep()
469 struct sensor_device_attribute_2 *sensor_attr = in show_fan() local
[all …]
Dvt8231.c192 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local
193 int nr = sensor_attr->index; in show_in()
202 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_min() local
203 int nr = sensor_attr->index; in show_in_min()
212 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_max() local
213 int nr = sensor_attr->index; in show_in_max()
222 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_min() local
223 int nr = sensor_attr->index; in set_in_min()
237 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_max() local
238 int nr = sensor_attr->index; in set_in_max()
[all …]
Dadm1026.c704 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local
705 int nr = sensor_attr->index; in show_in()
712 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_min() local
713 int nr = sensor_attr->index; in show_in_min()
720 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_min() local
721 int nr = sensor_attr->index; in set_in_min()
735 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_max() local
736 int nr = sensor_attr->index; in show_in_max()
743 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_max() local
744 int nr = sensor_attr->index; in set_in_max()
[all …]
Dw83791d.c365 struct sensor_device_attribute *sensor_attr = \
368 int nr = sensor_attr->index; \
381 struct sensor_device_attribute *sensor_attr = \
386 int nr = sensor_attr->index; \
441 struct sensor_device_attribute *sensor_attr = in show_beep() local
444 int bitnr = sensor_attr->index; in show_beep()
452 struct sensor_device_attribute *sensor_attr = in store_beep() local
456 int bitnr = sensor_attr->index; in store_beep()
480 struct sensor_device_attribute *sensor_attr = in show_alarm() local
483 int bitnr = sensor_attr->index; in show_alarm()
[all …]
Dw83627ehf.c893 struct sensor_device_attribute *sensor_attr = \
895 int nr = sensor_attr->index; \
908 struct sensor_device_attribute *sensor_attr = \ in show_in_reg()
910 int nr = sensor_attr->index; \ in show_in_reg()
931 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); local
932 int nr = sensor_attr->index;
992 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_fan() local
993 int nr = sensor_attr->index; in show_fan()
1001 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_fan_min() local
1002 int nr = sensor_attr->index; in show_fan_min()
[all …]
Dw83l786ng.c356 struct sensor_device_attribute_2 *sensor_attr = in show_temp() local
358 int nr = sensor_attr->nr; in show_temp()
359 int index = sensor_attr->index; in show_temp()
368 struct sensor_device_attribute_2 *sensor_attr = in store_temp() local
370 int nr = sensor_attr->nr; in store_temp()
371 int index = sensor_attr->index; in store_temp()
/linux-2.6.39/drivers/platform/x86/
Dthinkpad_acpi.c5661 struct sensor_device_attribute *sensor_attr = in thermal_temp_input_show() local
5663 int idx = sensor_attr->index; in thermal_temp_input_show()