Lines Matching refs:dev_attribute_show
117 static ssize_t dev_attribute_show(struct device *dev,
122 __ATTR(eraseblock_size, S_IRUGO, dev_attribute_show, NULL);
124 __ATTR(avail_eraseblocks, S_IRUGO, dev_attribute_show, NULL);
126 __ATTR(total_eraseblocks, S_IRUGO, dev_attribute_show, NULL);
128 __ATTR(volumes_count, S_IRUGO, dev_attribute_show, NULL);
130 __ATTR(max_ec, S_IRUGO, dev_attribute_show, NULL);
132 __ATTR(reserved_for_bad, S_IRUGO, dev_attribute_show, NULL);
134 __ATTR(bad_peb_count, S_IRUGO, dev_attribute_show, NULL);
136 __ATTR(max_vol_count, S_IRUGO, dev_attribute_show, NULL);
138 __ATTR(min_io_size, S_IRUGO, dev_attribute_show, NULL);
140 __ATTR(bgt_enabled, S_IRUGO, dev_attribute_show, NULL);
142 __ATTR(mtd_num, S_IRUGO, dev_attribute_show, NULL);
144 __ATTR(ro_mode, S_IRUGO, dev_attribute_show, NULL);
338 static ssize_t dev_attribute_show(struct device *dev, in dev_attribute_show() function