Lines Matching refs:sensor_attr
342 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()
432 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_fan_div() local
433 int nr = sensor_attr->index; in show_fan_div()
448 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_fan_div() local
449 int nr = sensor_attr->index - 1; in store_fan_div()
490 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp1() local
491 int nr = sensor_attr->index; in show_temp1()
499 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_temp1() local
500 int nr = sensor_attr->index; in store_temp1()
524 struct sensor_device_attribute_2 *sensor_attr in show_temp23() local
526 int nr = sensor_attr->nr; in show_temp23()
527 int index = sensor_attr->index; in show_temp23()
537 struct sensor_device_attribute_2 *sensor_attr in store_temp23() local
539 int nr = sensor_attr->nr; in store_temp23()
540 int index = sensor_attr->index; in store_temp23()
573 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_alarm() local
574 int nr = sensor_attr->index; in show_alarm()
583 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_pwm() local
584 int nr = sensor_attr->index; in show_pwm()
593 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_pwmenable() local
594 int nr = sensor_attr->index - 1; in show_pwmenable()
617 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_pwm() local
618 int nr = sensor_attr->index; in store_pwm()
642 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_pwmenable() local
643 int nr = sensor_attr->index - 1; in store_pwmenable()
684 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_pwm_mode() local
685 int nr = sensor_attr->index; in show_pwm_mode()
694 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_pwm_mode() local
695 int nr = sensor_attr->index; in store_pwm_mode()
754 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_thermal_cruise() local
755 int nr = sensor_attr->index; in show_thermal_cruise()
764 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_thermal_cruise() local
765 int nr = sensor_attr->index - 1; in store_thermal_cruise()
794 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_tolerance() local
795 int nr = sensor_attr->index; in show_tolerance()
804 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_tolerance() local
805 int nr = sensor_attr->index - 1; in store_tolerance()
836 struct sensor_device_attribute_2 *sensor_attr in show_sf2_point() local
838 int nr = sensor_attr->nr; in show_sf2_point()
839 int index = sensor_attr->index; in show_sf2_point()
848 struct sensor_device_attribute_2 *sensor_attr in store_sf2_point() local
850 int nr = sensor_attr->nr - 1; in store_sf2_point()
851 int index = sensor_attr->index - 1; in store_sf2_point()
877 struct sensor_device_attribute_2 *sensor_attr in show_sf2_level() local
879 int nr = sensor_attr->nr; in show_sf2_level()
880 int index = sensor_attr->index; in show_sf2_level()
890 struct sensor_device_attribute_2 *sensor_attr in store_sf2_level() local
892 int nr = sensor_attr->nr; in store_sf2_level()
893 int index = sensor_attr->index - 1; in store_sf2_level()