Searched refs:sensor_attr (Results 1 – 12 of 12) sorted by relevance
358 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local359 int nr = sensor_attr->index; in show_in()368 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); \369 int nr = sensor_attr->index; \382 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); \383 int nr = sensor_attr->index; \403 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); \404 int nr = sensor_attr->index - 1; \417 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in store_fan_min() local418 int nr = sensor_attr->index - 1; in store_fan_min()[all …]
269 struct sensor_device_attribute_2 *sensor_attr = in show_vid() local271 int index = sensor_attr->index; in show_vid()291 struct sensor_device_attribute_2 *sensor_attr = in show_alarm_beep() local293 int nr = sensor_attr->nr; in show_alarm_beep()294 int index = sensor_attr->index >> 3; in show_alarm_beep()295 int bit = sensor_attr->index & 0x07; in show_alarm_beep()313 struct sensor_device_attribute_2 *sensor_attr = in store_beep() local315 int index = sensor_attr->index >> 3; in store_beep()316 int shift = sensor_attr->index & 0x07; in store_beep()385 struct sensor_device_attribute_2 *sensor_attr = in show_fan() local[all …]
145 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local146 int nr = sensor_attr->index; in show_in()154 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_min() local155 int nr = sensor_attr->index; in show_in_min()163 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_max() local164 int nr = sensor_attr->index; in show_in_max()172 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_min() local173 int nr = sensor_attr->index; in set_in_min()189 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_max() local190 int nr = sensor_attr->index; in set_in_max()[all …]
317 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local318 int nr = sensor_attr->index; in show_in()327 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_min() local328 int nr = sensor_attr->index; in show_in_min()337 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_max() local338 int nr = sensor_attr->index; in show_in_max()347 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_min() local348 int nr = sensor_attr->index; in set_in_min()363 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_max() local364 int nr = sensor_attr->index; in set_in_max()[all …]
190 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local191 int nr = sensor_attr->index; in show_in()200 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_min() local201 int nr = sensor_attr->index; in show_in_min()210 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_max() local211 int nr = sensor_attr->index; in show_in_max()220 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_min() local221 int nr = sensor_attr->index; in set_in_min()235 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_max() local236 int nr = sensor_attr->index; in set_in_max()[all …]
573 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); \574 int nr = sensor_attr->index; \587 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); \ in show_in_reg()588 int nr = sensor_attr->index; \ in show_in_reg()605 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); local606 int nr = sensor_attr->index;668 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); \669 int nr = sensor_attr->index; \682 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_fan_div() local683 int nr = sensor_attr->index; in show_fan_div()[all …]
707 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in() local708 int nr = sensor_attr->index; in show_in()715 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_min() local716 int nr = sensor_attr->index; in show_in_min()723 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_min() local724 int nr = sensor_attr->index; in set_in_min()738 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in show_in_max() local739 int nr = sensor_attr->index; in show_in_max()746 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in set_in_max() local747 int nr = sensor_attr->index; in set_in_max()[all …]
366 struct sensor_device_attribute *sensor_attr = \369 int nr = sensor_attr->index; \382 struct sensor_device_attribute *sensor_attr = \387 int nr = sensor_attr->index; \442 struct sensor_device_attribute *sensor_attr = in show_beep() local445 int bitnr = sensor_attr->index; in show_beep()453 struct sensor_device_attribute *sensor_attr = in store_beep() local457 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 …]
651 struct sensor_device_attribute_2 *sensor_attr = in applesmc_show_fan_speed() local654 newkey[0] = fan_speed_keys[sensor_attr->nr][0]; in applesmc_show_fan_speed()655 newkey[1] = '0' + sensor_attr->index; in applesmc_show_fan_speed()656 newkey[2] = fan_speed_keys[sensor_attr->nr][2]; in applesmc_show_fan_speed()657 newkey[3] = fan_speed_keys[sensor_attr->nr][3]; in applesmc_show_fan_speed()680 struct sensor_device_attribute_2 *sensor_attr = in applesmc_store_fan_speed() local688 newkey[0] = fan_speed_keys[sensor_attr->nr][0]; in applesmc_store_fan_speed()689 newkey[1] = '0' + sensor_attr->index; in applesmc_store_fan_speed()690 newkey[2] = fan_speed_keys[sensor_attr->nr][2]; in applesmc_store_fan_speed()691 newkey[3] = fan_speed_keys[sensor_attr->nr][3]; in applesmc_store_fan_speed()[all …]
357 struct sensor_device_attribute_2 *sensor_attr = in show_temp() local359 int nr = sensor_attr->nr; in show_temp()360 int index = sensor_attr->index; in show_temp()369 struct sensor_device_attribute_2 *sensor_attr = in store_temp() local371 int nr = sensor_attr->nr; in store_temp()372 int index = sensor_attr->index; in store_temp()
522 #define sensor_attr(value) \ macro535 sensor_attr(1), sensor_attr(2), sensor_attr(3), sensor_attr(4),536 sensor_attr(5), sensor_attr(6), sensor_attr(7), sensor_attr(8)
5053 struct sensor_device_attribute *sensor_attr = in thermal_temp_input_show() local5055 int idx = sensor_attr->index; in thermal_temp_input_show()