Lines Matching refs:dev_attribute_show
145 static ssize_t dev_attribute_show(struct device *dev,
150 __ATTR(eraseblock_size, S_IRUGO, dev_attribute_show, NULL);
152 __ATTR(avail_eraseblocks, S_IRUGO, dev_attribute_show, NULL);
154 __ATTR(total_eraseblocks, S_IRUGO, dev_attribute_show, NULL);
156 __ATTR(volumes_count, S_IRUGO, dev_attribute_show, NULL);
158 __ATTR(max_ec, S_IRUGO, dev_attribute_show, NULL);
160 __ATTR(reserved_for_bad, S_IRUGO, dev_attribute_show, NULL);
162 __ATTR(bad_peb_count, S_IRUGO, dev_attribute_show, NULL);
164 __ATTR(max_vol_count, S_IRUGO, dev_attribute_show, NULL);
166 __ATTR(min_io_size, S_IRUGO, dev_attribute_show, NULL);
168 __ATTR(bgt_enabled, S_IRUGO, dev_attribute_show, NULL);
170 __ATTR(mtd_num, S_IRUGO, dev_attribute_show, NULL);
371 static ssize_t dev_attribute_show(struct device *dev, in dev_attribute_show() function