Home
last modified time | relevance | path

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

/linux/drivers/hwmon/
H A 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 …]
H A Dw83791d.c358 struct sensor_device_attribute *sensor_attr = \
361 int nr = sensor_attr->index; \
374 struct sensor_device_attribute *sensor_attr = \
378 int nr = sensor_attr->index; \
436 struct sensor_device_attribute *sensor_attr = in show_beep() local
439 int bitnr = sensor_attr->index; in show_beep()
447 struct sensor_device_attribute *sensor_attr = in store_beep() local
451 int bitnr = sensor_attr->index; in store_beep()
482 struct sensor_device_attribute *sensor_attr = in show_alarm() local
485 int bitnr = sensor_attr->index; in show_alarm()
[all …]
H A Daspeed-pwm-tacho.c580 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in pwm_store() local
581 int index = sensor_attr->index; in pwm_store()
605 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in pwm_show() local
606 int index = sensor_attr->index; in pwm_show()
615 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in rpm_show() local
616 int index = sensor_attr->index; in rpm_show()
/linux/drivers/platform/x86/lenovo/
H A Dthinkpad_acpi.c6235 struct sensor_device_attribute *sensor_attr = in thermal_temp_input_show() local
6237 int idx = sensor_attr->index; in thermal_temp_input_show()
6302 struct sensor_device_attribute *sensor_attr = in thermal_attr_is_visible() local
6305 int idx = sensor_attr->index; in thermal_attr_is_visible()