Searched refs:sensor_attr (Results 1 – 8 of 8) 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 …]
358 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() local439 int bitnr = sensor_attr->index; in show_beep()447 struct sensor_device_attribute *sensor_attr = in store_beep() local451 int bitnr = sensor_attr->index; in store_beep()482 struct sensor_device_attribute *sensor_attr = in show_alarm() local485 int bitnr = sensor_attr->index; in show_alarm()[all …]
1220 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_temp_type() local1226 return sprintf(buf, "%d\n", get_temp_type(data, sensor_attr->index)); in show_temp_type()1232 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_temp_type() local1233 int nr = sensor_attr->index; in set_temp_type()1330 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_fan_div() local1332 int nr = sensor_attr->index; in show_fan_div()1343 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_pwm_enable() local1345 int nr = sensor_attr->index; in show_pwm_enable()1356 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_pwm() local1358 int nr = sensor_attr->index; in show_pwm()[all …]
580 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in pwm_store() local581 int index = sensor_attr->index; in pwm_store()605 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in pwm_show() local606 int index = sensor_attr->index; in pwm_show()615 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in rpm_show() local616 int index = sensor_attr->index; in rpm_show()
6244 struct sensor_device_attribute *sensor_attr = in thermal_temp_input_show() local6246 int idx = sensor_attr->index; in thermal_temp_input_show()6311 struct sensor_device_attribute *sensor_attr = in thermal_attr_is_visible() local6314 int idx = sensor_attr->index; in thermal_attr_is_visible()