Lines Matching refs:ubi_device

81 static int self_check_not_bad(const struct ubi_device *ubi, int pnum);
82 static int self_check_peb_ec_hdr(const struct ubi_device *ubi, int pnum);
83 static int self_check_ec_hdr(const struct ubi_device *ubi, int pnum,
85 static int self_check_peb_vid_hdr(const struct ubi_device *ubi, int pnum);
86 static int self_check_vid_hdr(const struct ubi_device *ubi, int pnum,
88 static int self_check_write(struct ubi_device *ubi, const void *buf, int pnum,
113 int ubi_io_read(const struct ubi_device *ubi, void *buf, int pnum, int offset, in ubi_io_read()
234 int ubi_io_write(struct ubi_device *ubi, const void *buf, int pnum, int offset, in ubi_io_write()
319 static int do_sync_erase(struct ubi_device *ubi, int pnum) in do_sync_erase()
375 static int torture_peb(struct ubi_device *ubi, int pnum) in torture_peb()
461 static int nor_erase_prepare(struct ubi_device *ubi, int pnum) in nor_erase_prepare()
535 int ubi_io_sync_erase(struct ubi_device *ubi, int pnum, int torture) in ubi_io_sync_erase()
584 int ubi_io_is_bad(const struct ubi_device *ubi, int pnum) in ubi_io_is_bad()
613 int ubi_io_mark_bad(const struct ubi_device *ubi, int pnum) in ubi_io_mark_bad()
642 static int validate_ec_hdr(const struct ubi_device *ubi, in validate_ec_hdr()
706 int ubi_io_read_ec_hdr(struct ubi_device *ubi, int pnum, in ubi_io_read_ec_hdr()
844 int ubi_io_write_ec_hdr(struct ubi_device *ubi, int pnum, in ubi_io_write_ec_hdr()
883 static int validate_vid_hdr(const struct ubi_device *ubi, in validate_vid_hdr()
1010 int ubi_io_read_vid_hdr(struct ubi_device *ubi, int pnum, in ubi_io_read_vid_hdr()
1123 int ubi_io_write_vid_hdr(struct ubi_device *ubi, int pnum, in ubi_io_write_vid_hdr()
1166 static int self_check_not_bad(const struct ubi_device *ubi, int pnum) in self_check_not_bad()
1191 static int self_check_ec_hdr(const struct ubi_device *ubi, int pnum, in self_check_ec_hdr()
1229 static int self_check_peb_ec_hdr(const struct ubi_device *ubi, int pnum) in self_check_peb_ec_hdr()
1274 static int self_check_vid_hdr(const struct ubi_device *ubi, int pnum, in self_check_vid_hdr()
1314 static int self_check_peb_vid_hdr(const struct ubi_device *ubi, int pnum) in self_check_peb_vid_hdr()
1367 static int self_check_write(struct ubi_device *ubi, const void *buf, int pnum, in self_check_write()
1432 int ubi_self_check_all_ff(struct ubi_device *ubi, int pnum, int offset, int len) in ubi_self_check_all_ff()