Lines Matching refs:show
90 ssize_t (*show)(struct device *dev, struct device_attribute *attr,
115 .show = show_foo,
125 show and store methods of the attribute owners.
128 ssize_t (*show)(struct kobject *, struct attribute *, char *);
154 if (dev_attr->show)
155 ret = dev_attr->show(dev, dev_attr, buf);
158 (unsigned long)dev_attr->show);
168 To read or write attributes, show() or store() methods must be
172 ssize_t (*show)(struct device *dev, struct device_attribute *attr, char *buf);
184 - On read(2), the show() method should fill the entire buffer.
190 zero or does a pread(2) with an offset of '0' the show() method will
206 - Writing causes the show() method to be rearmed regardless of current
212 - show() methods should return the number of bytes printed into the
215 - show() should always use scnprintf().
220 - show() or store() can always return errors. If a bad value comes
315 ssize_t (*show)(struct device *dev, struct device_attribute *attr,
337 ssize_t (*show)(struct bus_type *, char * buf);
358 ssize_t (*show)(struct device_driver *, char * buf);