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
207 - Writing causes the show() method to be rearmed regardless of current
213 - show() methods should return the number of bytes printed into the
216 - show() must not use snprintf() when formatting the value to be
224 - show() or store() can always return errors. If a bad value comes
319 ssize_t (*show)(struct device *dev, struct device_attribute *attr,
341 ssize_t (*show)(struct bus_type *, char * buf);
362 ssize_t (*show)(struct device_driver *, char * buf);