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 …]
346 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local347 int nr = sensor_attr->index; in show_in()357 struct sensor_device_attribute *sensor_attr \359 int nr = sensor_attr->index; \373 struct sensor_device_attribute *sensor_attr \375 int nr = sensor_attr->index; \397 struct sensor_device_attribute *sensor_attr \399 int nr = sensor_attr->index - 1; \412 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_fan_min() local413 int nr = sensor_attr->index - 1; in store_fan_min()[all …]
324 struct sensor_device_attribute_2 *sensor_attr = in show_vid() local326 int index = sensor_attr->index; in show_vid()356 struct sensor_device_attribute_2 *sensor_attr = in show_alarm_beep() local358 int nr = sensor_attr->nr; in show_alarm_beep()359 int index = sensor_attr->index >> 3; in show_alarm_beep()360 int bit = sensor_attr->index & 0x07; in show_alarm_beep()378 struct sensor_device_attribute_2 *sensor_attr = in store_beep() local380 int index = sensor_attr->index >> 3; in store_beep()381 int shift = sensor_attr->index & 0x07; in store_beep()467 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 …]
357 struct sensor_device_attribute *sensor_attr = \360 int nr = sensor_attr->index; \373 struct sensor_device_attribute *sensor_attr = \377 int nr = sensor_attr->index; \435 struct sensor_device_attribute *sensor_attr = in show_beep() local438 int bitnr = sensor_attr->index; in show_beep()446 struct sensor_device_attribute *sensor_attr = in store_beep() local450 int bitnr = sensor_attr->index; in store_beep()481 struct sensor_device_attribute *sensor_attr = in show_alarm() local484 int bitnr = sensor_attr->index; in show_alarm()[all …]
935 struct sensor_device_attribute *sensor_attr = \937 int nr = sensor_attr->index; \951 struct sensor_device_attribute *sensor_attr = \ in show_in_reg()953 int nr = sensor_attr->index; \ in show_in_reg()974 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); local975 int nr = sensor_attr->index;1035 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_fan() local1036 int nr = sensor_attr->index; in show_fan()1044 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_fan_min() local1045 int nr = sensor_attr->index; in show_fan_min()[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()
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()
6395 struct sensor_device_attribute *sensor_attr = in thermal_temp_input_show() local6397 int idx = sensor_attr->index; in thermal_temp_input_show()