Home | History | Annotate | Download | only in oslib

Lines Matching full:mtd_dev_info

734 int mtd_get_dev_info1(libmtd_t desc, int mtd_num, struct mtd_dev_info *mtd)
739 memset(mtd, 0, sizeof(struct mtd_dev_info));
787 int mtd_get_dev_info(libmtd_t desc, const char *node, struct mtd_dev_info *mtd)
801 static inline int mtd_ioctl_error(const struct mtd_dev_info *mtd, int eb,
808 static int mtd_valid_erase_block(const struct mtd_dev_info *mtd, int eb)
819 static int mtd_xlock(const struct mtd_dev_info *mtd, int fd, int eb, int req,
840 int mtd_lock(const struct mtd_dev_info *mtd, int fd, int eb)
845 int mtd_unlock(const struct mtd_dev_info *mtd, int fd, int eb)
850 int mtd_erase(libmtd_t desc, const struct mtd_dev_info *mtd, int fd, int eb)
916 int mtd_is_locked(const struct mtd_dev_info *mtd, int fd, int eb)
957 int mtd_torture(libmtd_t desc, const struct mtd_dev_info *mtd, int fd, int eb)
1013 int mtd_is_bad(const struct mtd_dev_info *mtd, int fd, int eb)
1032 int mtd_mark_bad(const struct mtd_dev_info *mtd, int fd, int eb)
1053 int mtd_read(const struct mtd_dev_info *mtd, int fd, int eb, int offs,
1087 static int legacy_auto_oob_layout(const struct mtd_dev_info *mtd, int fd,
1124 int mtd_write(libmtd_t desc, const struct mtd_dev_info *mtd, int fd, int eb,
1194 static int do_oob_op(libmtd_t desc, const struct mtd_dev_info *mtd, int fd,
1271 int mtd_read_oob(libmtd_t desc, const struct mtd_dev_info *mtd, int fd,
1278 int mtd_write_oob(libmtd_t desc, const struct mtd_dev_info *mtd, int fd,
1285 int mtd_write_img(const struct mtd_dev_info *mtd, int fd, int eb, int offs,