Searched refs:sensor_attr (Results 1 – 11 of 11) sorted by relevance
719 struct sensor_device_attribute_2 *sensor_attr = in show_alarm_beep() local721 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() local742 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() local794 int nr = sensor_attr->nr; in show_fan()795 int index = sensor_attr->index; in show_fan()[all …]
362 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local363 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() local429 int nr = sensor_attr->index - 1; in store_fan_min()[all …]
144 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local145 int nr = sensor_attr->index; in show_in()153 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_min() local154 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() local163 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() local172 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() local194 int nr = sensor_attr->index; in set_in_max()[all …]
337 struct sensor_device_attribute_2 *sensor_attr = in show_vid() local339 int index = sensor_attr->index; in show_vid()366 struct sensor_device_attribute_2 *sensor_attr = in show_alarm_beep() local368 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() local390 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 …]
198 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local199 int nr = sensor_attr->index; in show_in()208 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_min() local209 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() local219 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() local229 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() local249 int nr = sensor_attr->index; in set_in_max()[all …]
713 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local714 int nr = sensor_attr->index; in show_in()721 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_min() local722 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() local730 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() local750 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() local758 int nr = sensor_attr->index; in set_in_max()[all …]
373 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() local454 int bitnr = sensor_attr->index; in show_beep()462 struct sensor_device_attribute *sensor_attr = in store_beep() local466 int bitnr = sensor_attr->index; in store_beep()497 struct sensor_device_attribute *sensor_attr = in show_alarm() local500 int bitnr = sensor_attr->index; in show_alarm()[all …]
942 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); local982 int nr = sensor_attr->index;1042 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_fan() local1043 int nr = sensor_attr->index; in show_fan()1051 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_fan_min() local1052 int nr = sensor_attr->index; in show_fan_min()[all …]
659 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp_type() local660 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() local679 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() local765 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() local774 int nr = sensor_attr->index; in show_pwm_enable()782 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_pwm() local783 int nr = sensor_attr->index; in show_pwm()[all …]
376 struct sensor_device_attribute_2 *sensor_attr = in show_temp() local378 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() local390 int nr = sensor_attr->nr; in store_temp()391 int index = sensor_attr->index; in store_temp()
5647 struct sensor_device_attribute *sensor_attr = in thermal_temp_input_show() local5649 int idx = sensor_attr->index; in thermal_temp_input_show()