Searched refs:sensor_attr (Results 1 – 11 of 11) sorted by relevance
705 struct sensor_device_attribute_2 *sensor_attr = in show_alarm_beep() local707 int nr = sensor_attr->nr; in show_alarm_beep()708 int index = sensor_attr->index >> 3; in show_alarm_beep()709 int bit = sensor_attr->index & 0x07; in show_alarm_beep()726 struct sensor_device_attribute_2 *sensor_attr = in store_beep() local728 int index = sensor_attr->index >> 3; in store_beep()729 int shift = sensor_attr->index & 0x07; in store_beep()778 struct sensor_device_attribute_2 *sensor_attr = in show_fan() local780 int nr = sensor_attr->nr; in show_fan()781 int index = sensor_attr->index; in show_fan()[all …]
142 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local143 int nr = sensor_attr->index; in show_in()151 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_min() local152 int nr = sensor_attr->index; in show_in_min()160 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_max() local161 int nr = sensor_attr->index; in show_in_max()169 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_min() local170 int nr = sensor_attr->index; in set_in_min()186 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_max() local187 int nr = sensor_attr->index; in set_in_max()[all …]
357 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local358 int nr = sensor_attr->index; in show_in()367 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); \368 int nr = sensor_attr->index; \381 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); \382 int nr = sensor_attr->index; \402 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); \403 int nr = sensor_attr->index - 1; \416 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_fan_min() local417 int nr = sensor_attr->index - 1; in store_fan_min()[all …]
408 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local409 int nr = sensor_attr->index; in show_in()418 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_min() local419 int nr = sensor_attr->index; in show_in_min()428 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_max() local429 int nr = sensor_attr->index; in show_in_max()438 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_min() local439 int nr = sensor_attr->index; in set_in_min()457 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_max() local458 int nr = sensor_attr->index; in set_in_max()[all …]
328 struct sensor_device_attribute_2 *sensor_attr = in show_vid() local330 int index = sensor_attr->index; in show_vid()350 struct sensor_device_attribute_2 *sensor_attr = in show_alarm_beep() local352 int nr = sensor_attr->nr; in show_alarm_beep()353 int index = sensor_attr->index >> 3; in show_alarm_beep()354 int bit = sensor_attr->index & 0x07; in show_alarm_beep()372 struct sensor_device_attribute_2 *sensor_attr = in store_beep() local374 int index = sensor_attr->index >> 3; in store_beep()375 int shift = sensor_attr->index & 0x07; in store_beep()469 struct sensor_device_attribute_2 *sensor_attr = in show_fan() local[all …]
192 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local193 int nr = sensor_attr->index; in show_in()202 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_min() local203 int nr = sensor_attr->index; in show_in_min()212 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_max() local213 int nr = sensor_attr->index; in show_in_max()222 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_min() local223 int nr = sensor_attr->index; in set_in_min()237 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_max() local238 int nr = sensor_attr->index; in set_in_max()[all …]
704 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local705 int nr = sensor_attr->index; in show_in()712 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_min() local713 int nr = sensor_attr->index; in show_in_min()720 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_min() local721 int nr = sensor_attr->index; in set_in_min()735 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_max() local736 int nr = sensor_attr->index; in show_in_max()743 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_max() local744 int nr = sensor_attr->index; in set_in_max()[all …]
365 struct sensor_device_attribute *sensor_attr = \368 int nr = sensor_attr->index; \381 struct sensor_device_attribute *sensor_attr = \386 int nr = sensor_attr->index; \441 struct sensor_device_attribute *sensor_attr = in show_beep() local444 int bitnr = sensor_attr->index; in show_beep()452 struct sensor_device_attribute *sensor_attr = in store_beep() local456 int bitnr = sensor_attr->index; in store_beep()480 struct sensor_device_attribute *sensor_attr = in show_alarm() local483 int bitnr = sensor_attr->index; in show_alarm()[all …]
893 struct sensor_device_attribute *sensor_attr = \895 int nr = sensor_attr->index; \908 struct sensor_device_attribute *sensor_attr = \ in show_in_reg()910 int nr = sensor_attr->index; \ in show_in_reg()931 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); local932 int nr = sensor_attr->index;992 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_fan() local993 int nr = sensor_attr->index; in show_fan()1001 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_fan_min() local1002 int nr = sensor_attr->index; in show_fan_min()[all …]
356 struct sensor_device_attribute_2 *sensor_attr = in show_temp() local358 int nr = sensor_attr->nr; in show_temp()359 int index = sensor_attr->index; in show_temp()368 struct sensor_device_attribute_2 *sensor_attr = in store_temp() local370 int nr = sensor_attr->nr; in store_temp()371 int index = sensor_attr->index; in store_temp()
5661 struct sensor_device_attribute *sensor_attr = in thermal_temp_input_show() local5663 int idx = sensor_attr->index; in thermal_temp_input_show()