Searched refs:sensor_attr (Results 1 – 12 of 12) sorted by relevance
704 struct sensor_device_attribute_2 *sensor_attr = in show_alarm_beep() local706 int nr = sensor_attr->nr; in show_alarm_beep()707 int index = sensor_attr->index >> 3; in show_alarm_beep()708 int bit = sensor_attr->index & 0x07; in show_alarm_beep()725 struct sensor_device_attribute_2 *sensor_attr = in store_beep() local727 int index = sensor_attr->index >> 3; in store_beep()728 int shift = sensor_attr->index & 0x07; in store_beep()777 struct sensor_device_attribute_2 *sensor_attr = in show_fan() local779 int nr = sensor_attr->nr; in show_fan()780 int index = sensor_attr->index; in show_fan()[all …]
172 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_show() local173 int nr = sensor_attr->index; in in_show()181 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_show() local182 int nr = sensor_attr->index; in in_min_show()190 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_show() local191 int nr = sensor_attr->index; in in_max_show()199 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_store() local200 int nr = sensor_attr->index; in in_min_store()221 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_store() local222 int nr = sensor_attr->index; in in_max_store()[all …]
342 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local343 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() local409 int nr = sensor_attr->index - 1; in store_fan_min()[all …]
322 struct sensor_device_attribute_2 *sensor_attr = in show_vid() local324 int index = sensor_attr->index; in show_vid()354 struct sensor_device_attribute_2 *sensor_attr = in show_alarm_beep() local356 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() local378 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 …]
185 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_show() local186 int nr = sensor_attr->index; in in_show()195 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_show() local196 int nr = sensor_attr->index; in in_min_show()205 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_show() local206 int nr = sensor_attr->index; in in_max_show()215 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_store() local216 int nr = sensor_attr->index; in in_min_store()235 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_store() local236 int nr = sensor_attr->index; in in_max_store()[all …]
470 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_show() local471 int nr = sensor_attr->index; in in_show()478 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_show() local479 int nr = sensor_attr->index; in in_min_show()486 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_store() local487 int nr = sensor_attr->index; in in_min_store()506 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_show() local507 int nr = sensor_attr->index; in in_max_show()514 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_store() local515 int nr = sensor_attr->index; in in_max_store()[all …]
353 struct sensor_device_attribute *sensor_attr = \356 int nr = sensor_attr->index; \369 struct sensor_device_attribute *sensor_attr = \373 int nr = sensor_attr->index; \431 struct sensor_device_attribute *sensor_attr = in show_beep() local434 int bitnr = sensor_attr->index; in show_beep()442 struct sensor_device_attribute *sensor_attr = in store_beep() local446 int bitnr = sensor_attr->index; in store_beep()477 struct sensor_device_attribute *sensor_attr = in show_alarm() local480 int bitnr = sensor_attr->index; in show_alarm()[all …]
1022 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp_type() local1023 int nr = sensor_attr->index; in show_temp_type()1041 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_temp_type() local1042 int nr = sensor_attr->index; in set_temp_type()1128 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_fan_div() local1130 int nr = sensor_attr->index; in show_fan_div()1138 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_pwm_enable() local1140 int nr = sensor_attr->index; in show_pwm_enable()1148 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_pwm() local1150 int nr = sensor_attr->index; in show_pwm()[all …]
408 struct sensor_device_attribute_2 *sensor_attr = in show_temp() local410 int nr = sensor_attr->nr; in show_temp()411 int index = sensor_attr->index; in show_temp()420 struct sensor_device_attribute_2 *sensor_attr = in store_temp() local422 int nr = sensor_attr->nr; in store_temp()423 int index = sensor_attr->index; in store_temp()
877 struct sensor_device_attribute *sensor_attr = \879 int nr = sensor_attr->index; \891 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_tol_temp() local892 int nr = sensor_attr->index; in show_tol_temp()914 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_tolerance() local915 int nr = sensor_attr->index; in store_tolerance()964 struct sensor_device_attribute *sensor_attr = \966 int nr = sensor_attr->index; \974 struct sensor_device_attribute *sensor_attr = \976 int nr = sensor_attr->index; \[all …]
573 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in pwm_store() local574 int index = sensor_attr->index; in pwm_store()598 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in pwm_show() local599 int index = sensor_attr->index; in pwm_show()608 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in rpm_show() local609 int index = sensor_attr->index; in rpm_show()
6372 struct sensor_device_attribute *sensor_attr = in thermal_temp_input_show() local6374 int idx = sensor_attr->index; in thermal_temp_input_show()