Lines Matching refs:dev_attribute_show
120 static ssize_t dev_attribute_show(struct device *dev,
125 __ATTR(eraseblock_size, S_IRUGO, dev_attribute_show, NULL);
127 __ATTR(avail_eraseblocks, S_IRUGO, dev_attribute_show, NULL);
129 __ATTR(total_eraseblocks, S_IRUGO, dev_attribute_show, NULL);
131 __ATTR(volumes_count, S_IRUGO, dev_attribute_show, NULL);
133 __ATTR(max_ec, S_IRUGO, dev_attribute_show, NULL);
135 __ATTR(reserved_for_bad, S_IRUGO, dev_attribute_show, NULL);
137 __ATTR(bad_peb_count, S_IRUGO, dev_attribute_show, NULL);
139 __ATTR(max_vol_count, S_IRUGO, dev_attribute_show, NULL);
141 __ATTR(min_io_size, S_IRUGO, dev_attribute_show, NULL);
143 __ATTR(bgt_enabled, S_IRUGO, dev_attribute_show, NULL);
145 __ATTR(mtd_num, S_IRUGO, dev_attribute_show, NULL);
147 __ATTR(ro_mode, S_IRUGO, dev_attribute_show, NULL);
344 static ssize_t dev_attribute_show(struct device *dev, in dev_attribute_show() function