Lines Matching defs:sensor_attr
357 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
358 int nr = sensor_attr->index;
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);
417 int nr = sensor_attr->index - 1;
436 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
437 int nr = sensor_attr->index;
450 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
451 int nr = sensor_attr->index - 1;
486 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
487 int nr = sensor_attr->index;
495 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
496 int nr = sensor_attr->index;
516 struct sensor_device_attribute_2 *sensor_attr = to_sensor_dev_attr_2(attr);
517 int nr = sensor_attr->nr;
518 int index = sensor_attr->index;
528 struct sensor_device_attribute_2 *sensor_attr = to_sensor_dev_attr_2(attr);
529 int nr = sensor_attr->nr;
530 int index = sensor_attr->index;
559 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
560 int nr = sensor_attr->index;
569 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
570 int nr = sensor_attr->index;
579 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
580 int nr = sensor_attr->index - 1;
603 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
604 int nr = sensor_attr->index;
622 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
623 int nr = sensor_attr->index - 1;
660 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
661 int nr = sensor_attr->index;
670 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
671 int nr = sensor_attr->index;
734 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
735 int nr = sensor_attr->index;
744 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
745 int nr = sensor_attr->index - 1;
769 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
770 int nr = sensor_attr->index;
779 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr);
780 int nr = sensor_attr->index - 1;
808 struct sensor_device_attribute_2 *sensor_attr = to_sensor_dev_attr_2(attr);
809 int nr = sensor_attr->nr;
810 int index = sensor_attr->index;
819 struct sensor_device_attribute_2 *sensor_attr = to_sensor_dev_attr_2(attr);
820 int nr = sensor_attr->nr - 1;
821 int index = sensor_attr->index - 1;
843 struct sensor_device_attribute_2 *sensor_attr = to_sensor_dev_attr_2(attr);
844 int nr = sensor_attr->nr;
845 int index = sensor_attr->index;
855 struct sensor_device_attribute_2 *sensor_attr = to_sensor_dev_attr_2(attr);
856 int nr = sensor_attr->nr;
857 int index = sensor_attr->index - 1;