Lines Matching refs:ubi_device
87 static int self_check_not_bad(const struct ubi_device *ubi, int pnum);
88 static int self_check_peb_ec_hdr(const struct ubi_device *ubi, int pnum);
89 static int self_check_ec_hdr(const struct ubi_device *ubi, int pnum,
91 static int self_check_peb_vid_hdr(const struct ubi_device *ubi, int pnum);
92 static int self_check_vid_hdr(const struct ubi_device *ubi, int pnum,
94 static int self_check_write(struct ubi_device *ubi, const void *buf, int pnum,
119 int ubi_io_read(const struct ubi_device *ubi, void *buf, int pnum, int offset,
228 int ubi_io_write(struct ubi_device *ubi, const void *buf, int pnum, int offset,
325 static int do_sync_erase(struct ubi_device *ubi, int pnum)
405 static int torture_peb(struct ubi_device *ubi, int pnum)
491 static int nor_erase_prepare(struct ubi_device *ubi, int pnum)
561 int ubi_io_sync_erase(struct ubi_device *ubi, int pnum, int torture)
603 int ubi_io_is_bad(const struct ubi_device *ubi, int pnum)
632 int ubi_io_mark_bad(const struct ubi_device *ubi, int pnum)
661 static int validate_ec_hdr(const struct ubi_device *ubi,
725 int ubi_io_read_ec_hdr(struct ubi_device *ubi, int pnum,
834 int ubi_io_write_ec_hdr(struct ubi_device *ubi, int pnum,
870 static int validate_vid_hdr(const struct ubi_device *ubi,
998 int ubi_io_read_vid_hdr(struct ubi_device *ubi, int pnum,
1082 int ubi_io_write_vid_hdr(struct ubi_device *ubi, int pnum,
1122 static int self_check_not_bad(const struct ubi_device *ubi, int pnum)
1147 static int self_check_ec_hdr(const struct ubi_device *ubi, int pnum,
1185 static int self_check_peb_ec_hdr(const struct ubi_device *ubi, int pnum)
1230 static int self_check_vid_hdr(const struct ubi_device *ubi, int pnum,
1270 static int self_check_peb_vid_hdr(const struct ubi_device *ubi, int pnum)
1321 static int self_check_write(struct ubi_device *ubi, const void *buf, int pnum,
1387 int ubi_self_check_all_ff(struct ubi_device *ubi, int pnum, int offset, int len)