Lines Matching refs:attr
443 name ## _show(struct device *dev, struct device_attribute *attr, char *buf) \
463 struct device_attribute *attr, char *buf)
471 struct device_attribute *attr,
493 struct device_attribute *attr, char *buf)
501 struct device_attribute *attr,
523 struct device_attribute *attr, char *buf)
531 struct device_attribute *attr,
554 struct device_attribute *attr, char *buf)
562 struct device_attribute *attr,
585 &dev_attr_temp1.attr,
586 &dev_attr_temp2.attr,
587 &dev_attr_aux1.attr,
588 &dev_attr_aux2.attr,
589 &dev_attr_aux3.attr,
590 &dev_attr_bat1.attr,
591 &dev_attr_bat2.attr,
592 &dev_attr_disable.attr,
593 &dev_attr_dac.attr,
594 &dev_attr_gpio3.attr,
595 &dev_attr_gpio4.attr,
600 struct attribute *attr, int n)
602 umode_t mode = attr->mode;
604 if (attr == &dev_attr_aux3.attr) {
607 } else if (attr == &dev_attr_gpio3.attr) {