Lines Matching refs:attr
312 struct device_attribute *attr, char *buf)
333 struct device_attribute *attr,
351 struct device_attribute *attr, char *buf)
353 return show_risefalltime(dev, attr, buf,
358 struct device_attribute *attr, char *buf)
360 return show_risefalltime(dev, attr, buf,
365 struct device_attribute *attr,
386 struct device_attribute *attr,
389 return store_risefalltime(dev, attr, buf, len,
394 struct device_attribute *attr,
397 return store_risefalltime(dev, attr, buf, len,
402 struct device_attribute *attr, char *buf)
422 struct device_attribute *attr,
452 struct device_attribute *attr, char *buf)
472 struct device_attribute *attr,
502 struct device_attribute *attr, char *buf)
525 struct device_attribute *attr,
555 struct device_attribute *attr,
571 struct device_attribute *attr,
598 &dev_attr_als_channel.attr,
599 &dev_attr_als_en.attr,
600 &dev_attr_falltime.attr,
601 &dev_attr_id.attr,
602 &dev_attr_linear.attr,
603 &dev_attr_pwm.attr,
604 &dev_attr_risetime.attr,
609 struct attribute *attr, int n)
614 umode_t mode = attr->mode;
616 if (attr == &dev_attr_als_channel.attr ||
617 attr == &dev_attr_als_en.attr) {