Lines Matching refs:attr
441 name ## _show(struct device *dev, struct device_attribute *attr, char *buf) \
461 struct device_attribute *attr, char *buf)
469 struct device_attribute *attr,
491 struct device_attribute *attr, char *buf)
499 struct device_attribute *attr,
521 struct device_attribute *attr, char *buf)
529 struct device_attribute *attr,
552 struct device_attribute *attr, char *buf)
560 struct device_attribute *attr,
583 &dev_attr_temp1.attr,
584 &dev_attr_temp2.attr,
585 &dev_attr_aux1.attr,
586 &dev_attr_aux2.attr,
587 &dev_attr_aux3.attr,
588 &dev_attr_bat1.attr,
589 &dev_attr_bat2.attr,
590 &dev_attr_disable.attr,
591 &dev_attr_dac.attr,
592 &dev_attr_gpio3.attr,
593 &dev_attr_gpio4.attr,
598 struct attribute *attr, int n)
600 umode_t mode = attr->mode;
602 if (attr == &dev_attr_aux3.attr) {
605 } else if (attr == &dev_attr_gpio3.attr) {