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 …]
250 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_show() local251 int nr = sensor_attr->index; in in_show()260 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_show() local261 int nr = sensor_attr->index; in in_min_show()270 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_show() local271 int nr = sensor_attr->index; in in_max_show()280 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_store() local281 int nr = sensor_attr->index; in in_min_store()300 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_store() local301 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 …]
1219 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp_type() local1225 return sprintf(buf, "%d\n", get_temp_type(data, sensor_attr->index)); in show_temp_type()1231 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_temp_type() local1232 int nr = sensor_attr->index; in set_temp_type()1329 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_fan_div() local1331 int nr = sensor_attr->index; in show_fan_div()1342 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_pwm_enable() local1344 int nr = sensor_attr->index; in show_pwm_enable()1355 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_pwm() local1357 int nr = sensor_attr->index; in show_pwm()[all …]
875 struct sensor_device_attribute *sensor_attr = \877 int nr = sensor_attr->index; \889 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_tol_temp() local890 int nr = sensor_attr->index; in show_tol_temp()912 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_tolerance() local913 int nr = sensor_attr->index; in store_tolerance()962 struct sensor_device_attribute *sensor_attr = \964 int nr = sensor_attr->index; \972 struct sensor_device_attribute *sensor_attr = \974 int nr = sensor_attr->index; \[all …]
407 struct sensor_device_attribute_2 *sensor_attr = in show_temp() local409 int nr = sensor_attr->nr; in show_temp()410 int index = sensor_attr->index; in show_temp()419 struct sensor_device_attribute_2 *sensor_attr = in store_temp() local421 int nr = sensor_attr->nr; in store_temp()422 int index = sensor_attr->index; in store_temp()
578 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in pwm_store() local579 int index = sensor_attr->index; in pwm_store()603 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in pwm_show() local604 int index = sensor_attr->index; in pwm_show()613 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in rpm_show() local614 int index = sensor_attr->index; in rpm_show()
6260 struct sensor_device_attribute *sensor_attr = in thermal_temp_input_show() local6262 int idx = sensor_attr->index; in thermal_temp_input_show()