Searched refs:dev_attribute_show (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/mtd/ubi/ |
H A D | build.c | 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); [all …]
|
/openbmc/u-boot/drivers/mtd/ubi/ |
H A D | build.c | 144 static ssize_t dev_attribute_show(struct device *dev, 149 __ATTR(eraseblock_size, S_IRUGO, dev_attribute_show, NULL); 151 __ATTR(avail_eraseblocks, S_IRUGO, dev_attribute_show, NULL); 153 __ATTR(total_eraseblocks, S_IRUGO, dev_attribute_show, NULL); 155 __ATTR(volumes_count, S_IRUGO, dev_attribute_show, NULL); 157 __ATTR(max_ec, S_IRUGO, dev_attribute_show, NULL); 159 __ATTR(reserved_for_bad, S_IRUGO, dev_attribute_show, NULL); 161 __ATTR(bad_peb_count, S_IRUGO, dev_attribute_show, NULL); 163 __ATTR(max_vol_count, S_IRUGO, dev_attribute_show, NULL); 165 __ATTR(min_io_size, S_IRUGO, dev_attribute_show, NULL); [all …]
|